Function at 0x42c190
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53188e
mov eax, dword fs:[0]
push eax
sub esp, 0x98
push ebx
push esi
push edi
mov eax, dword [0x57c06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [ebp - 0x24]
push eax
call fcn.0042c090
push eax
mov dword [ebp - 4], 0
call fcn.0041b240
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0x20
mov eax, dword [edx + 0x20]
call eax
mov byte [ebp - 0x14], al
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x42c203
mov edx, dword [ecx]
call dword [edx + 8]
test eax, eax
je 0x42c203
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov dword [ebp - 4], 0xffffffff
mov eax, 0x88888889
mov ecx, dword [edi + 4]
sub ecx, dword [edi]
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x42c28f
push dword [ebp - 0x14]
lea ecx, [ebp - 0xa4]
call fcn.0042bff0
push eax
push dword [ebp + 8]
mov ecx, edi
mov dword [ebp - 4], 2
call fcn.0042e5d0
mov dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0x4c], 0
je 0x42c274
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x42c270
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x42c270
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov byte [ebp - 0x4c], 0
lea ecx, [ebp - 0x88]
call fcn.0040ee10
lea ecx, [ebp - 0xa0]
call fcn.0040ee10
jmp 0x42c3ec
mov ebx, dword [ebp + 8]
cmp ebx, eax
jbe 0x42c302
push dword [ebp - 0x14]
lea ecx, [ebp - 0xa4]
call fcn.0042bff0
push eax
push edi
push ebx
mov ecx, edi
mov dword [ebp - 4], 4
call fcn.0042e240
mov dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0x4c], 0
je 0x42c2ec
mov dword [ebp - 4], 5
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x42c2e1
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x42c2e1
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov dword [ebp - 4], 0xffffffff
mov byte [ebp - 0x4c], 0
lea ecx, [ebp - 0x88]
call fcn.0040ee10
lea ecx, [ebp - 0xa0]
call fcn.0040ee10
mov ecx, dword [edi + 0x18]
test ecx, ecx
je 0x42c356
mov esi, dword [edi + 0xc]
xorps xmm0, xmm0
movq qword [ebp - 0x1c], xmm0
push ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], 0
call fcn.0042ebe0
push 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x24], esi
push eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x20], 0
call fcn.0042e910
push dword [ebp - 0x18]
lea ecx, [edi + 0xc]
push dword [ebp - 0x1c]
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x24]
push eax
call fcn.0042e970
test ebx, ebx
je 0x42c3ec
xor edx, edx
mov eax, dword [edi]
add eax, edx
lea ecx, [eax + 4]
mov dword [eax], 0xffffffff
mov dword [eax + 0x68], 0xffffffff
mov dword [eax + 0x6c], closesocket
mov dword [eax + 0x70], 0
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x42c391
mov ecx, dword [ecx]
mov byte [ecx], 0
lea ecx, [eax + 0x1c]
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x42c3a6
mov ecx, dword [ecx]
mov byte [ecx], 0
add edx, 0x78
mov cl, byte [ebp - 0x14]
mov dword [eax + 0x38], 0
mov dword [eax + 0x3c], 0
mov dword [eax + 0x40], 6
mov dword [eax + 0x44], 0
mov byte [eax + 0x48], cl
mov dword [eax + 0x4c], 0x201
mov dword [eax + 0x54], 0
mov dword [eax + 0x50], 0
sub ebx, 1
jne 0x42c360
mov dword [edi + 0x3c], 0
cmp dword [edi + 0x40], 0x10
jb 0x42c413
mov eax, dword [edi + 0x2c]
mov byte [eax], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov byte [edi + 0x2c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4