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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5a3d40
push eax
mov dword fs:[0], esp
sub esp, 0x70
push ebp
push esi
mov esi, ecx
mov ecx, dword [0x66629c]
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 0x4fbff5
xor ebp, ebp
lea ecx, [esp + 0xe]
push ebp
push ecx
lea ecx, [esp + 0x5c]
call fcn.004fe380
lea edx, [esp + 0xf]
lea ecx, [esp + 0x1c]
push edx
mov dword [esp + 0x88], ebp
call fcn.00500590
mov ecx, dword [0x66629c]
add esi, 0x18
push esi
mov byte [esp + 0x88], 1
call fcn.004c2720
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x74]
lea ecx, [eax - 4]
mov eax, dword [esp + 0x6c]
cmp eax, ecx
je 0x4fbda5
lea edx, [esp + 0x14]
push edx
push eax
call fcn.004a8e30
mov eax, dword [esp + 0x74]
add esp, 8
add eax, 4
mov dword [esp + 0x6c], eax
jmp 0x4fbdb3
lea eax, [esp + 0x14]
lea ecx, [esp + 0x54]
push eax
call fcn.004fe850
mov ecx, dword [esp + 0x8c]
add ecx, 0x18
fld dword [0x5ab848]
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 0x4fbf80
cmp ebp, 0x14
jge 0x4fbf80
mov ecx, dword [esp + 0x64]
mov edx, dword [eax]
add ecx, 0xfffffffc
inc ebp
cmp eax, ecx
mov dword [esp + 0x8c], edx
je 0x4fbe16
add eax, 4
mov dword [esp + 0x5c], eax
jmp 0x4fbe1f
lea ecx, [esp + 0x54]
call fcn.004fe8f0
mov edx, dword [esp + 0x8c]
mov ecx, dword [0x66629c]
push edx
call fcn.004c2bf0
mov esi, eax
call fcn.0050a8be
and eax, reloc.WS2_32.dll_closesocket
jns 0x4fbe45
dec eax
or eax, 0xfffffffc
inc eax
je 0x4fbe67
push 0
lea eax, [esp + 0x2c]
push 0
lea ecx, [esi + 4]
push eax
push ecx
mov ecx, dword [0x66629c]
call fcn.004c1360
test al, al
jne 0x4fc00c
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 0x4fbf3e
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 0x4fbea8
cmp dword [eax], ecx
je 0x4fbea0
add eax, 4
cmp eax, edx
jne 0x4fbe93
jmp 0x4fbea8
cmp eax, edx
jne 0x4fbf2a
lea edx, [esp + 0x6c]
lea ecx, [esp + 0x34]
push edx
call fcn.004e6040
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.0049b180
sub esp, 0x10
lea ecx, [esp + 0x78]
mov edx, esp
mov dword [esp + 0x3c], esp
push edx
call fcn.0049b160
lea eax, [esp + 0x68]
push eax
call fcn.004fe930
mov ecx, dword [eax]
mov eax, dword [esp + 0x5c]
add esp, 0x28
cmp ecx, eax
jne 0x4fbf26
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x6c]
add edx, 0xfffffffc
cmp eax, edx
je 0x4fbf18
test eax, eax
je 0x4fbf11
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
add dword [esp + 0x6c], 4
jmp 0x4fbf26
lea edx, [esp + 0x10]
lea ecx, [esp + 0x54]
push edx
call fcn.004fe850
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 0x4fbe7e
cmp edx, dword [esp + 0x24]
je 0x4fbf5e
test edx, edx
je 0x4fbf55
mov eax, dword [esp + 0x8c]
mov dword [edx], eax
mov edx, dword [esp + 0x20]
add edx, 4
mov dword [esp + 0x20], edx
jmp 0x4fbf70
lea ecx, [esp + 0x8c]
push ecx
push edx
lea ecx, [esp + 0x24]
call fcn.0046ecb0
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x6c]
cmp ecx, eax
jne 0x4fbdef
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
sub eax, ecx
mov byte [esp + 0x84], 0
sar eax, 2
je 0x4fbfa8
lea edx, [eax*4]
push edx
push ecx
call fcn.00402e90
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.004e6040
sub esp, 0x10
lea edx, [esp + 0x7c]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.004e6040
call fcn.004fe9c0
add esp, 0x20
lea ecx, [esp + 0x54]
mov dword [esp + 0x84], 0xffffffff
call fcn.004fe670
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.004fe360
sub esp, 0x10
lea edx, [esp + 0x7c]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov dword [esp + 0x98], 2
call fcn.004e6040
sub esp, 0x10
lea eax, [esp + 0x7c]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call fcn.004e6040
call fcn.004fe9c0
add esp, 0x20
lea ecx, [esp + 0x54]
mov dword [esp + 0x84], 0xffffffff
call fcn.004fe670
mov eax, esi
jmp 0x4fbff8