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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5a4a00
push eax
mov dword fs:[0], esp
sub esp, 0x70
push ebp
push esi
mov esi, ecx
mov ecx, dword [0x66604c]
push edi
mov eax, dword [ecx + 0x500]
mov edx, dword [ecx + 0x4fc]
sub eax, edx
mov ecx, eax
mov eax, 0x38e38e39
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
je 0x4fd105
xor ebp, ebp
lea ecx, [esp + 0xe]
push ebp
push ecx
lea ecx, [esp + 0x5c]
call fcn.004ff480
lea edx, [esp + 0xf]
lea ecx, [esp + 0x1c]
push edx
mov dword [esp + 0x88], ebp
call fcn.004f5050
mov ecx, dword [0x66604c]
add esi, 0x18
push esi
mov byte [esp + 0x88], 1
call fcn.004c3430
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x74]
lea ecx, [eax - 4]
mov eax, dword [esp + 0x6c]
cmp eax, ecx
je 0x4fceb5
lea edx, [esp + 0x14]
push edx
push eax
call fcn.004ffef0
mov eax, dword [esp + 0x74]
add esp, 8
add eax, 4
mov dword [esp + 0x6c], eax
jmp 0x4fcec3
lea eax, [esp + 0x14]
lea ecx, [esp + 0x54]
push eax
call fcn.004ff920
mov ecx, dword [esp + 0x8c]
add ecx, 0x18
fld dword [0x5ab850]
mov edx, dword [ecx]
mov dword [esp + 0x28], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x6c]
fadd dword [esp + 0x30]
cmp ecx, eax
fstp dword [esp + 0x30]
je 0x4fd090
cmp ebp, 0x14
jge 0x4fd090
mov ecx, dword [esp + 0x64]
mov edx, dword [eax]
add ecx, 0xfffffffc
inc ebp
cmp eax, ecx
mov dword [esp + 0x8c], edx
je 0x4fcf26
add eax, 4
mov dword [esp + 0x5c], eax
jmp 0x4fcf2f
lea ecx, [esp + 0x54]
call fcn.004ff9c0
mov edx, dword [esp + 0x8c]
mov ecx, dword [0x66604c]
push edx
call fcn.004c3900
mov esi, eax
call fcn.0050b88e
and eax, reloc.WS2_32.dll_closesocket
jns 0x4fcf55
dec eax
or eax, 0xfffffffc
inc eax
je 0x4fcf77
push 0
lea eax, [esp + 0x2c]
push 0
lea ecx, [esi + 4]
push eax
push ecx
mov ecx, dword [0x66604c]
call fcn.004c2070
test al, al
jne 0x4fd11c
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x18]
sub eax, edx
mov edx, dword [esp + 0x20]
xor edi, edi
sar eax, 3
je 0x4fd04e
mov eax, dword [esi + 0x18]
xor ecx, ecx
mov cx, word [eax + edi*8]
mov eax, dword [esp + 0x1c]
cmp eax, edx
mov dword [esp + 0x10], ecx
je 0x4fcfb8
cmp dword [eax], ecx
je 0x4fcfb0
add eax, 4
cmp eax, edx
jne 0x4fcfa3
jmp 0x4fcfb8
cmp eax, edx
jne 0x4fd03a
lea edx, [esp + 0x6c]
lea ecx, [esp + 0x34]
push edx
call fcn.004ff4c0
lea eax, [esp + 0x10]
push eax
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x2c], esp
push ecx
lea ecx, [esp + 0x6c]
call fcn.004ff310
sub esp, 0x10
lea ecx, [esp + 0x78]
mov edx, esp
mov dword [esp + 0x3c], esp
push edx
call fcn.004ff2f0
lea eax, [esp + 0x68]
push eax
call fcn.004ffa00
mov ecx, dword [eax]
mov eax, dword [esp + 0x5c]
add esp, 0x28
cmp ecx, eax
jne 0x4fd036
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x6c]
add edx, 0xfffffffc
cmp eax, edx
je 0x4fd028
test eax, eax
je 0x4fd021
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
add dword [esp + 0x6c], 4
jmp 0x4fd036
lea edx, [esp + 0x10]
lea ecx, [esp + 0x54]
push edx
call fcn.004ff920
mov edx, dword [esp + 0x20]
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
sub eax, ecx
inc edi
sar eax, 3
cmp edi, eax
jb 0x4fcf8e
cmp edx, dword [esp + 0x24]
je 0x4fd06e
test edx, edx
je 0x4fd065
mov eax, dword [esp + 0x8c]
mov dword [edx], eax
mov edx, dword [esp + 0x20]
add edx, 4
mov dword [esp + 0x20], edx
jmp 0x4fd080
lea ecx, [esp + 0x8c]
push ecx
push edx
lea ecx, [esp + 0x24]
call fcn.0046f120
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x6c]
cmp ecx, eax
jne 0x4fceff
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
sub eax, ecx
mov byte [esp + 0x84], 0
sar eax, 2
je 0x4fd0b8
lea edx, [eax*4]
push edx
push ecx
call fcn.00402dc0
add esp, 8
sub esp, 0x10
lea eax, [esp + 0x7c]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
mov dword [esp + 0x98], 3
call fcn.004ff4c0
sub esp, 0x10
lea edx, [esp + 0x7c]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.004ff4c0
call fcn.004ffa90
add esp, 0x20
lea ecx, [esp + 0x54]
mov dword [esp + 0x84], 0xffffffff
call fcn.004d31b0
or eax, 0xffffffff
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x7c
ret 4
mov esi, dword [esp + 0x8c]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x84], 0
call fcn.004ff460
sub esp, 0x10
lea edx, [esp + 0x7c]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov dword [esp + 0x98], 2
call fcn.004ff4c0
sub esp, 0x10
lea eax, [esp + 0x7c]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call fcn.004ff4c0
call fcn.004ffa90
add esp, 0x20
lea ecx, [esp + 0x54]
mov dword [esp + 0x84], 0xffffffff
call fcn.004d31b0
mov eax, esi
jmp 0x4fd108