Function at 0x40862b
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x469df2
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x14ac
call fcn.00455b10
mov eax, dword [0x48dcc0]
xor eax, esp
mov dword [esp + 0x14a8], eax
push ebx
push esi
push edi
mov eax, dword [0x48dcc0]
xor eax, esp
push eax
lea eax, [esp + 0x14c0]
mov dword fs:[0], eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], 8
mov dword [esp + 0x20], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, dword [esp + 0x14]
call fcn.00441701
call fcn.00441ef5
lea eax, [esp + 0x74]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
call fcn.004078e9
call fcn.00408570
test al, al
jne 0x4086c3
xor eax, eax
inc eax
jmp 0x408997
mov esi, 0x104
push esi
mov edi, 0x4923d8
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push edi
push esi
mov ebx, 0x4922d0
push ebx
call fcn.004504d4
add esp, 0xc
push edi
push esi
mov esi, 0x4921c8
push esi
call fcn.004504d4
add esp, 0xc
push ebx
call dword [sym.imp.SHLWAPI.dll_PathStripPathA]
push esi
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
mov eax, dword [esp + 0x14]
push dword [eax + 0x48]
lea ecx, [esp + 0x40]
call fcn.00402350
push edi
lea eax, [esp + 0x40]
xor ebx, ebx
push eax
mov dword [esp + 0x14d0], ebx
call fcn.0040384a
cmp eax, 0xffffffff
je 0x408778
mov ecx, edi
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x408733
push dword [esp + 0x50]
sub ecx, esi
add ecx, eax
push ecx
lea eax, [esp + 0x44]
push eax
lea esi, [esp + 0x2c]
call fcn.00408db3
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x14d4], 1
call fcn.004025cc
push ebx
push 1
mov ecx, esi
mov byte [esp + 0x14d0], 0
call fcn.004026c6
push edi
lea ecx, [esp + 0x5c]
call fcn.00402350
lea ebx, [esp + 0x58]
mov byte [esp + 0x14c8], 2
call fcn.0040621c
xor ebx, ebx
cmp eax, 0xffffffff
je 0x4087d1
push eax
push ebx
lea eax, [esp + 0x60]
push eax
lea esi, [esp + 0x2c]
call fcn.00408db3
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x14d4], 3
call fcn.004025cc
push ebx
push 1
mov ecx, esi
mov byte [esp + 0x14d0], 2
call fcn.004026c6
lea eax, [esp + 0x204]
push eax
call fcn.0040910f
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x14a4]
mov byte [esp + 0x14d4], 4
call fcn.004025cc
push edi
lea ecx, [esp + 0x1464]
call fcn.0040232d
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x1488]
call fcn.004025cc
lea ecx, [esp + 0x204]
call fcn.00409ad6
cmp dword [esp + 0x278], 1
lea eax, [esp + 0x204]
je 0x40896f
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0x20], eax
mov ecx, eax
call fcn.004426d1
cmp dword [esp + 0x13b4], ebx
je 0x40886c
push 0x249f00
push dword [esp + 0x13b8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [esp + 0x13b4], ebx
cmp dword [0x4925d8], ebx
je 0x408917
push ebx
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 0xf
call fcn.004026aa
push str.v65__
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x14d0], 5
call fcn.0040386b
push str.6e0b49916f3348e097fcd72b4090fb15
lea eax, [esp + 0x24]
push eax
call fcn.0040386b
push str.___
lea eax, [esp + 0x24]
push eax
call fcn.0040386b
push 0xffffffffffffffff
push ebx
mov eax, 0x4937f8
lea esi, [esp + 0x28]
call fcn.00403926
push str.____
mov eax, esi
push eax
call fcn.0040386b
cmp dword [esp + 0x38], 0x10
mov eax, dword [esp + 0x24]
jae 0x4088ec
lea eax, [esp + 0x24]
cmp dword [0x4925d8], ebx
je 0x408903
push eax
push dword [0x4937f4]
call dword [0x4925cc]
pop ecx
pop ecx
push ebx
push 1
lea ecx, [esp + 0x28]
mov byte [esp + 0x14d0], 4
call fcn.004026c6
lea eax, [esp + 0x12]
push eax
lea eax, [esp + 0x17]
push eax
mov byte [esp + 0x1b], bl
mov byte [esp + 0x1a], bl
call fcn.00403545
cmp byte [esp + 0x12], bl
je 0x408956
push 0xa5a
lea ecx, [esp + 0x24]
mov ebx, 0x4937dc
call fcn.00403342
push 0
push 1
lea ecx, [esp + 0x28]
call fcn.004026c6
xor ebx, ebx
call fcn.00402d90
cmp dword [0x4925e4], ebx
je 0x408968
call fcn.00408cf7
lea eax, [esp + 0x204]
push eax
mov byte [esp + 0x14cc], 2
call fcn.004089bb
push ebx
push 1
lea ecx, [esp + 0x60]
call fcn.004026c6
push ebx
push 1
lea ecx, [esp + 0x44]
call fcn.004026c6
xor eax, eax
mov ecx, dword [esp + 0x14c0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x14a8]
xor ecx, esp
call fcn.0044e6cf
mov esp, ebp
pop ebp
ret