Function at 0x4126e2
Capabilities:
Initialize winsock library

Disassembly:
push 0xf4
mov eax, 0x42e810
call fcn.0042c9fc
mov eax, dword [ebp + 8]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp + 0xc]
push 0xe
xor edx, edx
pop ecx
div ecx
xor edi, edi
mov dword [ebp - 0x64], edi
lea esi, [ebp - 0xe8]
mov eax, dword [edx*4 + 0x43ce68]
mov dword [ebp - 0x68], eax
call fcn.00411e1c
lea esi, [ebp - 0xd0]
call fcn.00411e1c
or dword [ebp - 0xb8], 0xffffffff
xor ebx, ebx
inc ebx
cmp dword [0x43e858], edi
mov dword [ebp - 0xf8], ebx
mov dword [ebp - 0xec], edi
mov dword [ebp - 0xf0], edi
mov dword [ebp - 0xf4], edi
mov byte [ebp - 0xb4], 0
mov dword [ebp - 0xb0], edi
mov dword [ebp - 0xac], 0x2710
je 0x41277c
push 0x43e6c8
push 2
call dword [0x4304c8]
mov dword [0x43e858], eax
mov dword [ebp - 4], edi
cmp byte [ebp - 0xb4], 0
jne 0x412801
mov dword [ebp - 0x98], edi
mov edi, dword [ebp - 0x68]
lea esi, [ebp - 0x9c]
mov dword [ebp - 0x9c], vtable.ATL::CSocketAddr.0
call fcn.00413057
test eax, eax
mov dword [ebp - 0xb0], eax
jne 0x4127d0
cmp dword [ebp - 0xb8], 0xffffffff
mov esi, dword [ebp - 0x98]
jne 0x4127d6
mov eax, esi
lea ecx, [ebp - 0xf8]
call fcn.00413303
test al, al
jne 0x4127d6
mov byte [ebp - 0x69], 0
jmp 0x4127ea
push dword [esi + 0x10]
push dword [esi + 0x18]
lea esi, [ebp - 0xf8]
call fcn.004133ca
mov byte [ebp - 0x69], al
lea ecx, [ebp - 0x9c]
call fcn.0041303a
cmp byte [ebp - 0x69], 0
je 0x412cb9
xor edi, edi
push 0x50
pop esi
push esi
lea eax, [ebp - 0x60]
push edi
push eax
call fcn.0041c280
add esp, 0xc
lea eax, [ebp - 0x60]
mov dword [ebp - 0x100], esi
push eax
lea edi, [ebp - 0x100]
lea esi, [ebp - 0xf8]
call fcn.00412f2e
test al, al
je 0x412cb9
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x78]
push eax
mov byte [ebp - 0x11], 0
call fcn.00408929
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x78]
xor edi, edi
cmp dword [eax - 0xc], edi
je 0x412cb1
mov esi, 0x433dd0
push esi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x68], edi
call fcn.00412e14
mov byte [ebp - 4], 2
push dword [eax]
lea eax, [ebp - 0x84]
push eax
mov dword [ebp - 0x64], ebx
call fcn.00408929
push 4
pop ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x74]
add eax, 0xfffffff0
mov dword [ebp - 0x64], edi
call fcn.00402411
cmp dword [ebp - 0x68], 0xffffffff
jne 0x4128a6
mov eax, 0x4331fe
jmp 0x4128c7
push esi
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x68]
call fcn.00412e14
mov byte [ebp - 4], 5
mov eax, dword [eax]
mov dword [ebp - 0x64], 2
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00408929
mov dword [ebp - 4], 7
test byte [ebp - 0x64], 2
je 0x4128f0
mov eax, dword [ebp - 0x98]
and dword [ebp - 0x64], 0xfffffffd
add eax, 0xfffffff0
call fcn.00402411
cmp dword [ebp - 0x68], 0xffffffff
jne 0x4128fd
mov eax, 0x4331fe
jmp 0x412917
push esi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x68]
call fcn.00412e14
mov byte [ebp - 4], 8
or dword [ebp - 0x64], ebx
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.00408929
mov dword [ebp - 4], 0xa
test byte [ebp - 0x64], bl
je 0x41293c
mov eax, dword [ebp - 0x74]
and dword [ebp - 0x64], 0xfffffffb
add eax, 0xfffffff0
call fcn.00402411
mov eax, dword [ebp - 0x84]
cmp dword [eax - 0xc], edi
mov eax, dword [ebp - 0x7c]
je 0x412c8d
mov ecx, dword [ebp - 0x70]
cmp dword [ecx - 0xc], edi
je 0x412c8d
cmp dword [eax - 0xc], edi
je 0x412c8d
mov esi, 0x433dd4
push esi
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x68], edi
call fcn.00412e14
mov byte [ebp - 4], 0xb
push dword [eax]
or dword [ebp - 0x64], 8
lea eax, [ebp - 0x88]
push eax
call fcn.00408929
mov dword [ebp - 4], 0xd
test byte [ebp - 0x64], 8
je 0x4129b4
mov eax, dword [ebp - 0x98]
and dword [ebp - 0x64], 0xfffffff7
add eax, 0xfffffff0
call fcn.00402411
cmp dword [ebp - 0x68], 0xffffffff
push 0x10
pop ebx
jne 0x4129c4
mov eax, 0x4331fe
jmp 0x4129de
push esi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x68]
call fcn.00412e14
mov byte [ebp - 4], 0xe
or dword [ebp - 0x64], ebx
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.00408929
mov dword [ebp - 4], ebx
test byte [ebp - 0x64], bl
je 0x4129ff
mov eax, dword [ebp - 0x74]
and dword [ebp - 0x64], 0xffffffef
add eax, 0xfffffff0
call fcn.00402411
cmp dword [ebp - 0x68], 0xffffffff
jne 0x412a0c
mov eax, 0x4331fe
jmp 0x412a2a
push esi
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x68]
call fcn.00412e14
mov byte [ebp - 4], 0x11
or dword [ebp - 0x64], 0x20
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.00408929
mov dword [ebp - 4], 0x13
test byte [ebp - 0x64], 0x20
je 0x412a56
mov eax, dword [ebp - 0x98]
and dword [ebp - 0x64], 0xffffffdf
add eax, 0xfffffff0
call fcn.00402411
mov eax, dword [ebp - 0x88]
cmp dword [eax - 0xc], edi
mov eax, dword [ebp - 0x90]
je 0x412c69
mov ecx, dword [ebp - 0x80]
cmp dword [ecx - 0xc], edi
je 0x412c69
cmp dword [eax - 0xc], edi
je 0x412c69
mov esi, 0x433dd8
push esi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x68], edi
call fcn.00412e14
mov byte [ebp - 4], 0x14
push dword [eax]
or dword [ebp - 0x64], 0x40
lea eax, [ebp - 0x94]
push eax
call fcn.00408929
mov dword [ebp - 4], 0x16
test byte [ebp - 0x64], 0x40
je 0x412acb
mov eax, dword [ebp - 0x74]
and dword [ebp - 0x64], 0xffffffbf
add eax, 0xfffffff0
call fcn.00402411
cmp dword [ebp - 0x68], 0xffffffff
jne 0x412ad8
mov eax, 0x4331fe
jmp 0x412af9
push esi
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x68]
call fcn.00412e14
mov byte [ebp - 4], 0x17
or dword [ebp - 0x64], 0x80
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.00408929
mov dword [ebp - 4], 0x19
test byte [ebp - 0x64], 0x80
je 0x412b28
mov eax, dword [ebp - 0x98]
and dword [ebp - 0x64], 0xffffff7f
add eax, 0xfffffff0
call fcn.00402411
cmp dword [ebp - 0x68], 0xffffffff
mov ebx, pe_nt_image_headers32
jne 0x412b3a
mov eax, 0x4331fe
jmp 0x412b54
push esi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x68]
call fcn.00412e14
mov byte [ebp - 4], 0x1a
or dword [ebp - 0x64], ebx
mov eax, dword [eax]
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.00408929
mov dword [ebp - 4], 0x1c
test dword [ebp - 0x64], ebx
je 0x412b78
mov eax, dword [ebp - 0x74]
add eax, 0xfffffff0
call fcn.00402411
mov eax, dword [ebp - 0x94]
cmp dword [eax - 0xc], edi
mov eax, dword [ebp - 0xa8]
je 0x412c3f
mov ecx, dword [ebp - 0x8c]
cmp dword [ecx - 0xc], edi
je 0x412c3f
cmp dword [eax - 0xc], edi
je 0x412c3f
push dword [ebp - 0x88]
call fcn.0041e14e
pop ecx
push dword [ebp - 0x80]
mov ebx, eax
add ebx, 0x7d0
mov word [ebp - 0xa4], bx
call fcn.0041e14e
pop ecx
push dword [ebp - 0x90]
mov word [ebp - 0xa2], ax
call fcn.0041e14e
pop ecx
push dword [ebp - 0x94]
mov word [ebp - 0x9e], ax
call fcn.0041e14e
pop ecx
push dword [ebp - 0x8c]
mov word [ebp - 0x9c], ax
call fcn.0041e14e
pop ecx
push dword [ebp - 0xa8]
mov word [ebp - 0x9a], ax
call fcn.0041e14e
pop ecx
lea esi, [ebp - 0xf8]
mov word [ebp - 0x98], ax
mov word [ebp - 0x96], di
call fcn.00412ee0
cmp bx, 0x7db
jae 0x412ce9
mov eax, dword [ebp - 0xa8]
add eax, 0xfffffff0
call fcn.00402411
mov eax, dword [ebp - 0x8c]
add eax, 0xfffffff0
call fcn.00402411
mov eax, dword [ebp - 0x94]
add eax, 0xfffffff0
call fcn.00402411
mov eax, dword [ebp - 0x90]
add eax, 0xfffffff0
call fcn.00402411
mov eax, dword [ebp - 0x80]
add eax, 0xfffffff0
call fcn.00402411
mov eax, dword [ebp - 0x88]
add eax, 0xfffffff0
call fcn.00402411
mov eax, dword [ebp - 0x7c]
add eax, 0xfffffff0
call fcn.00402411
mov eax, dword [ebp - 0x70]
add eax, 0xfffffff0
call fcn.00402411
mov eax, dword [ebp - 0x84]
add eax, 0xfffffff0
call fcn.00402411
mov eax, dword [ebp - 0x78]
add eax, 0xfffffff0
call fcn.00402411
lea esi, [ebp - 0xf8]
call fcn.00412ee0
mov esi, dword [0x430274]
lea eax, [ebp - 0xd0]
push eax
call esi
lea eax, [ebp - 0xe8]
push eax
call esi
mov eax, 0x80004005
call fcn.0042ca7f
ret 8
lea eax, [ebp - 0xa4]
push eax
mov eax, dword [ebp - 0xfc]
call fcn.0041254a
mov eax, dword [ebp - 0xa8]
add eax, 0xfffffff0
call fcn.00402411
mov eax, dword [ebp - 0x8c]
add eax, 0xfffffff0
call fcn.00402411
mov eax, dword [ebp - 0x94]
add eax, 0xfffffff0
call fcn.00402411
mov eax, dword [ebp - 0x90]
add eax, 0xfffffff0
call fcn.00402411
mov eax, dword [ebp - 0x80]
add eax, 0xfffffff0
call fcn.00402411
mov eax, dword [ebp - 0x88]
add eax, 0xfffffff0
call fcn.00402411
mov eax, dword [ebp - 0x7c]
add eax, 0xfffffff0
call fcn.00402411
mov eax, dword [ebp - 0x70]
add eax, 0xfffffff0
call fcn.00402411
mov eax, dword [ebp - 0x84]
add eax, 0xfffffff0
call fcn.00402411
mov eax, dword [ebp - 0x78]
add eax, 0xfffffff0
call fcn.00402411
lea esi, [ebp - 0xf8]
call fcn.00412ee0
mov esi, dword [0x430274]
lea eax, [ebp - 0xd0]
push eax
call esi
lea eax, [ebp - 0xe8]
push eax
call esi
xor eax, eax
jmp 0x412ce1