Function at 0x403028
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a8
lea eax, [ebp - 0x1a8]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
push ebx
push esi
push edi
lea eax, [ebp - 0x18]
xor edi, edi
push eax
mov dword [ebp - 8], edi
call fcn.00402f00
pop ecx
mov esi, str.A8dK894Lm9sF2i_sOBq2X
push esi
push edi
push edi
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateEventA]
mov ebx, eax
cmp ebx, edi
jne 0x403086
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0xb7
jne 0x403086
push esi
push edi
push 0x1f0003
call dword [sym.imp.KERNEL32.DLL_OpenEventA]
mov ebx, eax
call fcn.00402f4d
call fcn.004075da
push eax
lea ecx, [ebp - 8]
call fcn.0040647b
mov esi, dword [ebp - 8]
mov eax, dword [esi]
push 1
push edi
push str.paars.ini
mov ecx, esi
call dword [eax]
test eax, eax
jne 0x4030e4
jmp 0x4030bb
push 0x3e8
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
test al, al
je 0x4030b0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
test eax, eax
mov ecx, esi
jg 0x40311b
mov eax, dword [esi]
call dword [eax + 4]
push edi
lea ecx, [ebp - 8]
call fcn.0040647b
mov esi, dword [ebp - 8]
cmp ebx, edi
push 0xea60
jne 0x4030f5
call dword [sym.imp.KERNEL32.DLL_Sleep]
jmp 0x40308b
push ebx
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
test eax, eax
jne 0x40308b
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp esi, edi
je 0x403112
push esi
call fcn.0040c607
pop ecx
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 4
mov byte [ebp - 1], 1
mov eax, dword [esi]
mov dword [ebp - 0xc], edi
call dword [eax + 0x18]
test al, al
je 0x403159
push 0x90
call fcn.0040c5f9
cmp eax, edi
pop ecx
je 0x403149
lea ecx, [ebp - 1]
push ecx
push ebx
push esi
mov ecx, eax
call fcn.004053bb
jmp 0x40314b
xor eax, eax
push eax
lea ecx, [ebp - 0xc]
call fcn.00403007
jmp 0x4031e2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x28]
movzx edi, ax
push edi
push str.stun.xten.com
call fcn.0040d5aa
cmp eax, 0xf
pop ecx
pop ecx
je 0x4031b7
push edi
push str.stun.ekiga.net
call fcn.0040d5aa
cmp eax, 0xf
pop ecx
pop ecx
je 0x4031b7
push edi
push str.stun.voxgratia.org
call fcn.0040d5aa
cmp eax, 0xf
pop ecx
pop ecx
je 0x4031b7
push 0x4180
call fcn.0040c5f9
test eax, eax
pop ecx
je 0x4031d5
lea ecx, [ebp - 1]
push ecx
push ebx
push esi
mov ecx, eax
call fcn.004042e9
jmp 0x4031d7
push 0x90
call fcn.0040c5f9
test eax, eax
pop ecx
je 0x4031d5
lea ecx, [ebp - 1]
push ecx
push ebx
push esi
mov ecx, eax
call fcn.004053bb
jmp 0x4031d7
xor eax, eax
push eax
lea ecx, [ebp - 0xc]
call fcn.00403007
xor edi, edi
cmp ebx, edi
push 0xffffffffffffffff
jne 0x4031f0
call dword [sym.imp.KERNEL32.DLL_Sleep]
jmp 0x4031fe
push ebx
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push edi
lea ecx, [ebp - 0xc]
call fcn.00403007
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
push edi
lea ecx, [ebp - 8]
call fcn.0040647b
cmp byte [ebp - 1], 0
mov ecx, dword [ebp - 0xc]
jne 0x403241
cmp ecx, edi
je 0x40322a
mov eax, dword [ecx]
push 1
call dword [eax]
cmp dword [ebp - 8], edi
je 0x403043
push dword [ebp - 8]
call fcn.0040c607
pop ecx
jmp 0x403043
cmp ecx, edi
je 0x40324b
mov eax, dword [ecx]
push 1
call dword [eax]
cmp dword [ebp - 8], edi
je 0x403112
push dword [ebp - 8]
jmp 0x40310c