Function at 0x42e796
Capabilities:
Initialize winsock library

Disassembly:
mov eax, dword [0x4fe174]
mov ecx, dword [eax - 0xc]
mov dword [ebp - 0x584], ecx
cmp dword [ebp - 0x584], 0
jne 0x42e791
mov edx, dword [0x4fe0b0]
cmp edx, dword [0x4f66e0]
jge 0x42e775
mov eax, dword [0x4fe0b0]
mov dword [ebp - 0x71c], eax
jmp 0x42e781
mov ecx, dword [0x4f66e0]
mov dword [ebp - 0x71c], ecx
cmp dword [ebp - 0x71c], 0
jg 0x42e791
xor al, al
jmp 0x42f5b1
jmp 0x42e7ee
sbb ecx, 0xfed46220
pop ebx
lea ebx, [ebx + ecx + 0x19]
sub ebx, ecx
and ecx, 0xb4a48582
push ebx
ror ecx, 0x51
xor ecx, dword [esp + 0x28]
pop ecx
lea ebx, [ebx + ecx + 0x4a]
sub ebx, ecx
sub esi, dword [ecx]
lea ecx, [ecx + eax + 3]
sub ecx, eax
cmp ecx, ebx
jb 0x42e7be
pop ecx
cmp esi, 0x20040801
pop ebx
pop esi
jne 0x42e743
push 0x40c6de
push 0x24283e4
lea ebp, [esi + 0x41]
sub ebp, 0x41
jmp 0x42e821
call fcn.004ba5ee
mov dword [ebp - 0x58c], eax
mov edx, dword [ebp - 0x58c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x58c]
call dword [eax + 0xc]
mov dword [ebp - 0x588], eax
mov ecx, dword [ebp - 0x588]
add ecx, 0x10
mov dword [ebp - 0x1b0], ecx
mov dword [ebp - 4], 0
call fcn.004ba5ee
mov dword [ebp - 0x594], eax
mov edx, dword [ebp - 0x594]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x594]
call dword [eax + 0xc]
mov dword [ebp - 0x590], eax
mov ecx, dword [ebp - 0x590]
add ecx, 0x10
mov dword [ebp - 0x1ac], ecx
mov byte [ebp - 4], 1
push 0x400
push 0x400
lea ecx, [ebp - 0x1ac]
call fcn.0041bf90
push eax
push 0x73
call fcn.004ba991
mov dword [ebp - 0x59c], 0xffffffff
cmp dword [ebp - 0x59c], 0xffffffff
jne 0x42e8f4
mov edx, dword [ebp - 0x1ac]
mov dword [ebp - 0x598], edx
cmp dword [ebp - 0x598], 0
jne 0x42e8df
mov dword [ebp - 0x59c], 0
jmp 0x42e8f4
mov eax, dword [ebp - 0x598]
push eax
call fcn.0049d13d
add esp, 4
mov dword [ebp - 0x59c], eax
mov ecx, dword [ebp - 0x59c]
push ecx
lea ecx, [ebp - 0x1ac]
call fcn.00456690
mov edx, dword [ebp - 0x1ac]
push edx
call dword [sym.imp.laRTLu.dll__LaGetStr_4]
mov dword [ebp - 0x5a4], eax
cmp dword [ebp - 0x5a4], 0
jne 0x42e92e
mov dword [ebp - 0x5a0], 0
jmp 0x42e943
mov eax, dword [ebp - 0x5a4]
push eax
call fcn.0049d13d
add esp, 4
mov dword [ebp - 0x5a0], eax
mov ecx, dword [ebp - 0x5a0]
push ecx
mov edx, dword [ebp - 0x5a4]
push edx
lea ecx, [ebp - 0x1b0]
call fcn.004023c0
mov eax, dword [ebp - 0x718]
mov ecx, dword [eax + 0x2170]
mov dword [ebp - 0x5a8], ecx
mov edx, dword [ebp - 0x5a8]
push edx
push 0x4d30b8
lea ecx, [ebp - 0x1b0]
call fcn.00431560
call fcn.004ba5ee
mov dword [ebp - 0x5ec], eax
mov eax, dword [ebp - 0x5ec]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x5ec]
call dword [edx + 0xc]
mov dword [ebp - 0x5e8], eax
mov eax, dword [ebp - 0x5e8]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
mov byte [ebp - 0x1b1], 0
mov dword [ebp - 0x1c4], 0
jmp 0x42e9d9
mov ecx, dword [ebp - 0x1c4]
add ecx, 1
mov dword [ebp - 0x1c4], ecx
mov edx, dword [ebp - 0x718]
mov eax, dword [edx + 0x2164]
mov dword [ebp - 0x5f0], eax
mov ecx, dword [ebp - 0x1c4]
cmp ecx, dword [ebp - 0x5f0]
jge 0x42ed8f
mov edx, dword [ebp - 0x718]
add edx, 0x215c
mov dword [ebp - 0x5f8], edx
cmp dword [ebp - 0x1c4], 0
jl 0x42ea43
mov eax, dword [ebp - 0x5f8]
mov ecx, dword [ebp - 0x1c4]
cmp ecx, dword [eax + 8]
jge 0x42ea43
mov edx, dword [ebp - 0x1c4]
imul edx, edx, 0x30
mov eax, dword [ebp - 0x5f8]
add edx, dword [eax + 4]
mov dword [ebp - 0x5f4], edx
jmp 0x42ea48
call fcn.004b353e
mov ecx, dword [ebp - 0x5f4]
mov edx, dword [ecx + 0x20]
sub edx, 0x10
mov dword [ebp - 0x5fc], edx
mov eax, dword [ebp - 0x5fc]
push eax
call fcn.00402570
add esp, 4
mov dword [ebp - 0x600], eax
mov ecx, dword [ebp - 0x600]
add ecx, 0x10
mov dword [ebp - 0x1cc], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x718]
add edx, 0x215c
mov dword [ebp - 0x618], edx
cmp dword [ebp - 0x1c4], 0
jl 0x42eac8
mov eax, dword [ebp - 0x618]
mov ecx, dword [ebp - 0x1c4]
cmp ecx, dword [eax + 8]
jge 0x42eac8
mov edx, dword [ebp - 0x1c4]
imul edx, edx, 0x30
mov eax, dword [ebp - 0x618]
add edx, dword [eax + 4]
mov dword [ebp - 0x614], edx
jmp 0x42eacd
call fcn.004b353e
push 0x4d3084
call dword [sym.imp.laRTLu.dll__LaGetStr_4]
push eax
mov ecx, dword [ebp - 0x614]
add ecx, 8
push ecx
lea edx, [ebp - 0x550]
push edx
call fcn.00401850
add esp, 0xc
mov dword [ebp - 0x720], eax
mov eax, dword [ebp - 0x720]
mov dword [ebp - 0x724], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x718]
add ecx, 0x215c
mov dword [ebp - 0x610], ecx
cmp dword [ebp - 0x1c4], 0
jl 0x42eb4e
mov edx, dword [ebp - 0x610]
mov eax, dword [ebp - 0x1c4]
cmp eax, dword [edx + 8]
jge 0x42eb4e
mov ecx, dword [ebp - 0x1c4]
imul ecx, ecx, 0x30
mov edx, dword [ebp - 0x610]
add ecx, dword [edx + 4]
mov dword [ebp - 0x60c], ecx
jmp 0x42eb53
call fcn.004b353e
mov eax, dword [ebp - 0x60c]
add eax, 0xc
push eax
mov ecx, dword [ebp - 0x724]
push ecx
lea edx, [ebp - 0x554]
push edx
call fcn.00419430
add esp, 0xc
mov dword [ebp - 0x728], eax
mov eax, dword [ebp - 0x728]
mov dword [ebp - 0x72c], eax
mov byte [ebp - 4], 5
push 0x4d3080
mov ecx, dword [ebp - 0x72c]
push ecx
lea edx, [ebp - 0x558]
push edx
call fcn.00401850
add esp, 0xc
mov dword [ebp - 0x730], eax
mov eax, dword [ebp - 0x730]
mov dword [ebp - 0x734], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x718]
add ecx, 0x215c
mov dword [ebp - 0x608], ecx
cmp dword [ebp - 0x1c4], 0
jl 0x42ec00
mov edx, dword [ebp - 0x608]
mov eax, dword [ebp - 0x1c4]
cmp eax, dword [edx + 8]
jge 0x42ec00
mov ecx, dword [ebp - 0x1c4]
imul ecx, ecx, 0x30
mov edx, dword [ebp - 0x608]
add ecx, dword [edx + 4]
mov dword [ebp - 0x604], ecx
jmp 0x42ec05
call fcn.004b353e
mov eax, dword [ebp - 0x604]
add eax, 0x10
push eax
mov ecx, dword [ebp - 0x734]
push ecx
lea edx, [ebp - 0x55c]
push edx
call fcn.00419430
add esp, 0xc
mov dword [ebp - 0x738], eax
mov eax, dword [ebp - 0x738]
mov dword [ebp - 0x73c], eax
mov byte [ebp - 4], 7
push 0x4d3078
mov ecx, dword [ebp - 0x73c]
push ecx
lea edx, [ebp - 0x1c8]
push edx
call fcn.00401850
add esp, 0xc
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x55c]
call fcn.0044f730
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x558]
call fcn.0044f730
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x554]
call fcn.0044f730
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x550]
call fcn.0044f730
mov eax, dword [ebp - 0x1cc]
mov ecx, dword [eax - 0xc]
mov dword [ebp - 0x62c], ecx
cmp dword [ebp - 0x62c], 0
je 0x42ed6c
mov byte [ebp - 0x1b1], 1
lea edx, [ebp - 0x1cc]
push edx
lea eax, [ebp - 0x1c8]
push eax
lea ecx, [ebp - 0x560]
push ecx
call fcn.00419430
add esp, 0xc
mov dword [ebp - 0x740], eax
mov edx, dword [ebp - 0x740]
mov dword [ebp - 0x744], edx
mov byte [ebp - 4], 0xd
push 0x4cfe18
mov eax, dword [ebp - 0x744]
push eax
lea ecx, [ebp - 0x564]
push ecx
call fcn.00401850
add esp, 0xc
mov dword [ebp - 0x748], eax
mov edx, dword [ebp - 0x748]
mov dword [ebp - 0x638], edx
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x638]
mov ecx, dword [eax]
mov edx, dword [ecx - 0xc]
mov dword [ebp - 0x630], edx
mov eax, dword [ebp - 0x638]
mov ecx, dword [eax]
mov dword [ebp - 0x634], ecx
mov edx, dword [ebp - 0x630]
push edx
mov eax, dword [ebp - 0x634]
push eax
lea ecx, [ebp - 0x14]
call fcn.00401ba0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x564]
call fcn.0044f730
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x560]
call fcn.0044f730
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c8]
call fcn.0044f730
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1cc]
call fcn.0044f730
jmp 0x42e9ca
movzx ecx, byte [ebp - 0x1b1]
test ecx, ecx
jne 0x42edd9
mov byte [ebp - 0x565], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.0044f730
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1ac]
call fcn.0044f730
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1b0]
call fcn.0044f730
mov al, byte [ebp - 0x565]
jmp 0x42f5b1
mov byte [ebp - 0x1bd], 0
mov word [ebp - 0x1b8], 0x202
lea edx, [ebp - 0x1a8]
push edx
mov ax, word [ebp - 0x1b8]
push eax
call sub.WSOCK32.dll_WSAStartup
mov dword [ebp - 0x1bc], eax
cmp dword [ebp - 0x1bc], 0
jne 0x42f572
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x1ec]
call fcn.00445be0
mov dword [ebp - 0x74c], eax
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x1f8], 0
mov ecx, dword [ebp - 0x718]
add ecx, 0x230
mov dword [ebp - 0x664], ecx
mov edx, dword [ebp - 0x664]
mov eax, dword [edx]
mov dword [ebp - 0x65c], eax
push 0x3a
mov ecx, dword [ebp - 0x65c]
push ecx
call fcn.0049f4a4
add esp, 8
mov dword [ebp - 0x658], eax
cmp dword [ebp - 0x658], 0
jne 0x42ee7f
mov dword [ebp - 0x750], 0xffffffff
jmp 0x42eea1
mov edx, dword [ebp - 0x664]
mov eax, dword [edx]
mov dword [ebp - 0x660], eax
mov ecx, dword [ebp - 0x658]
sub ecx, dword [ebp - 0x660]
sar ecx, 1
mov dword [ebp - 0x750], ecx
mov edx, dword [ebp - 0x750]
mov dword [ebp - 0x1f4], edx
mov dword [ebp - 0x1f0], 0x19
cmp dword [ebp - 0x1f4], 0
jle 0x42efbd
mov eax, dword [ebp - 0x718]
mov ecx, dword [eax + 0x230]
mov edx, dword [ecx - 0xc]
mov dword [ebp - 0x668], edx
mov eax, dword [ebp - 0x668]
sub eax, 1
cmp dword [ebp - 0x1f4], eax
jge 0x42efbd
mov ecx, dword [ebp - 0x1f4]
add ecx, 1
mov dword [ebp - 0x670], ecx
mov edx, dword [ebp - 0x718]
add edx, 0x230
mov dword [ebp - 0x674], edx
cmp dword [ebp - 0x670], 0
jl 0x42ef37
mov eax, dword [ebp - 0x674]
mov ecx, dword [eax]
mov edx, dword [ecx - 0xc]
mov dword [ebp - 0x66c], edx
mov eax, dword [ebp - 0x670]
cmp eax, dword [ebp - 0x66c]
jle 0x42ef41
push 0x80070057
call fcn.00401db0
mov ecx, dword [ebp - 0x674]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x670]
mov cx, word [edx + eax*2]
mov word [ebp - 0x676], cx
movzx edx, word [ebp - 0x676]
cmp edx, 0x2f
je 0x42efbd
mov eax, dword [ebp - 0x1f4]
add eax, 1
push eax
lea ecx, [ebp - 0x2f8]
push ecx
mov ecx, dword [ebp - 0x718]
add ecx, 0x230
call fcn.00431870
mov edx, dword [ebp - 0x2f8]
push edx
call fcn.0049f533
add esp, 4
mov dword [ebp - 0x2f4], eax
cmp dword [ebp - 0x2f4], 0
je 0x42efb2
mov eax, dword [ebp - 0x2f4]
mov dword [ebp - 0x1f0], eax
lea ecx, [ebp - 0x2f8]
call fcn.0044f730
mov ecx, dword [ebp - 0x718]
mov edx, dword [ecx + 0x234]
mov eax, dword [edx - 0xc]
mov dword [ebp - 0x680], eax
cmp dword [ebp - 0x680], 0
je 0x42f1b1
mov ecx, dword [ebp - 0x718]
mov edx, dword [ecx + 0x238]
mov eax, dword [edx - 0xc]
mov dword [ebp - 0x684], eax
cmp dword [ebp - 0x684], 0
je 0x42f1b1
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x718]
mov edx, dword [ecx + 0x238]
mov dword [ebp - 0x688], edx
mov eax, dword [ebp - 0x718]
mov ecx, dword [eax + 0x234]
mov dword [ebp - 0x68c], ecx
mov edx, dword [ebp - 0x718]
mov eax, dword [edx + 0x230]
mov dword [ebp - 0x690], eax
push 0
mov ecx, dword [ebp - 0x1f0]
push ecx
mov edx, dword [ebp - 0x688]
push edx
mov eax, dword [ebp - 0x68c]
push eax
push 3
mov ecx, dword [ebp - 0x690]
push ecx
lea ecx, [ebp - 0x1ec]
call fcn.00445f60
mov dword [ebp - 0x1f8], 1
jmp 0x42f087
mov dword [ebp - 4], 0x10
cmp dword [ebp - 0x1f8], 0
jne 0x42f11c
mov byte [ebp - 4], 0x13
mov edx, dword [ebp - 0x718]
mov eax, dword [edx + 0x238]
mov dword [ebp - 0x694], eax
mov ecx, dword [ebp - 0x718]
mov edx, dword [ecx + 0x234]
mov dword [ebp - 0x698], edx
mov eax, dword [ebp - 0x718]
mov ecx, dword [eax + 0x230]
mov dword [ebp - 0x69c], ecx
push 0
mov edx, dword [ebp - 0x1f0]
push edx
mov eax, dword [ebp - 0x694]
push eax
mov ecx, dword [ebp - 0x698]
push ecx
push 2
mov edx, dword [ebp - 0x69c]
push edx
lea ecx, [ebp - 0x1ec]
call fcn.00445f60
mov dword [ebp - 0x1f8], 1
jmp 0x42f11c
mov dword [ebp - 4], 0x10
cmp dword [ebp - 0x1f8], 0
jne 0x42f1b1
mov byte [ebp - 4], 0x15
mov eax, dword [ebp - 0x718]
mov ecx, dword [eax + 0x238]
mov dword [ebp - 0x6a0], ecx
mov edx, dword [ebp - 0x718]
mov eax, dword [edx + 0x234]
mov dword [ebp - 0x6a4], eax
mov ecx, dword [ebp - 0x718]
mov edx, dword [ecx + 0x230]
mov dword [ebp - 0x6a8], edx
push 0
mov eax, dword [ebp - 0x1f0]
push eax
mov ecx, dword [ebp - 0x6a0]
push ecx
mov edx, dword [ebp - 0x6a4]
push edx
push 1
mov eax, dword [ebp - 0x6a8]
push eax
lea ecx, [ebp - 0x1ec]
call fcn.00445f60
mov dword [ebp - 0x1f8], 1
jmp 0x42f1b1
mov dword [ebp - 4], 0x10
cmp dword [ebp - 0x1f8], 0
jne 0x42f1f4
mov ecx, dword [ebp - 0x718]
mov edx, dword [ecx + 0x230]
mov dword [ebp - 0x6ac], edx
push 0
mov eax, dword [ebp - 0x1f0]
push eax
push 0
push 0
push 0
mov ecx, dword [ebp - 0x6ac]
push ecx
lea ecx, [ebp - 0x1ec]
call fcn.00445f60
lea ecx, [ebp - 0x2f0]
call fcn.00443bf0
mov dword [ebp - 0x754], eax
mov byte [ebp - 4], 0x17
mov edx, dword [ebp - 0x718]
add edx, 0x22c
push edx
lea ecx, [ebp - 0x570]
call fcn.00440810
mov dword [ebp - 0x758], eax
mov eax, dword [ebp - 0x758]
mov dword [ebp - 0x75c], eax
mov byte [ebp - 4], 0x18
push 0
mov ecx, dword [ebp - 0x75c]
push ecx
lea ecx, [ebp - 0x2f0]
call fcn.00444190
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x56c]
call fcn.0044f730
lea ecx, [ebp - 0x570]
call fcn.0044f730
push 0x4d3090
lea ecx, [ebp - 0x57c]
call fcn.00401e40
mov dword [ebp - 0x760], eax
mov byte [ebp - 4], 0x19
lea edx, [ebp - 0x57c]
push edx
lea ecx, [ebp - 0x578]
call fcn.00440810
mov dword [ebp - 0x764], eax
mov eax, dword [ebp - 0x764]
mov dword [ebp - 0x768], eax
mov byte [ebp - 4], 0x1a
mov ecx, dword [ebp - 0x768]
push ecx
lea ecx, [ebp - 0x2ec]
call fcn.00440a20
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x574]
call fcn.0044f730
lea ecx, [ebp - 0x578]
call fcn.0044f730
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x57c]
call fcn.0044f730
lea edx, [ebp - 0x1b0]
push edx
lea ecx, [ebp - 0x2e4]
call fcn.00402240
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x2f0]
call fcn.00445950
push 0xa
lea ecx, [ebp - 0x20c]
push ecx
push 0x1004
call dword [sym.imp.laRTLu.dll__LaGetCurrentLang_0]
movzx edx, ax
push edx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jle 0x42f418
lea eax, [ebp - 0x20c]
push eax
call fcn.0049f533
add esp, 4
mov dword [ebp - 0x2fc], eax
cmp dword [ebp - 0x2fc], 0
je 0x42f418
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea ecx, [ebp - 0x304]
push ecx
push 0x4e6fa8
push 1
push 0
push 0x4e6f98
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x300], eax
cmp dword [ebp - 0x300], 0
jl 0x42f418
cmp dword [ebp - 0x304], 0
je 0x42f418
lea edx, [ebp - 0x548]
push edx
mov eax, dword [ebp - 0x2fc]
push eax
mov ecx, dword [ebp - 0x304]
push ecx
mov edx, dword [ebp - 0x304]
mov eax, dword [edx]
call dword [eax + 0x10]
mov dword [ebp - 0x76c], eax
mov ecx, dword [ebp - 0x76c]
mov dword [ebp - 0x300], ecx
cmp dword [ebp - 0x300], 0
jl 0x42f406
lea edx, [ebp - 0x4bc]
push edx
lea ecx, [ebp - 0x54c]
call fcn.00401e40
mov dword [ebp - 0x770], eax
mov byte [ebp - 4], 0x1b
lea eax, [ebp - 0x54c]
push eax
lea ecx, [ebp - 0x2f0]
call fcn.004440b0
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x54c]
call fcn.0044f730
mov ecx, dword [ebp - 0x304]
push ecx
mov edx, dword [ebp - 0x304]
mov eax, dword [edx]
call dword [eax + 8]
push esi
push ebx
push ecx
push 0
mov esi, 0x43464e
add esi, dword [esp + 0x18]
pop esi
call fcn.0042f4ae
std
xor eax, 0xa1c8c4a8
invalid
mov cl, byte [ebp - 0x1bd]
mov byte [ebp - 0x57d], cl
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.0044f730
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1ac]
call fcn.0044f730
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1b0]
call fcn.0044f730
mov al, byte [ebp - 0x57d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x18]
call fcn.0049d184
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret