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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5de58a
push eax
mov dword fs:[0], esp
sub esp, 0xb0
push ebx
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x133c], 0
push edi
jne 0x4c2f7b
call fcn.005c1b59
mov edi, eax
shl edi, 0x10
call fcn.005c1b59
xor eax, edi
mov dword [esi + 0x133c], eax
lea eax, [esi + 0x150]
mov dword [esp + 0x1c], eax
call fcn.0043c005
test al, al
je 0x4c321b
lea eax, [esp + 0x50]
mov dword [esp + 0xc], eax
mov al, byte [esi + 0x138]
mov byte [esp + 0x13], al
mov eax, dword [esi + 0x1340]
add eax, 0x7d4
mov dword [esp + 0x14], eax
lea eax, [esi + 0x12a0]
lea ebx, [esp + 0x34]
mov dword [esp + 0x20], eax
call fcn.00443cce
push eax
lea eax, [esp + 0x28]
push eax
call fcn.004c356d
mov eax, dword [0x6b3fe4]
mov dword [esp + 0x30], eax
mov eax, dword [0x6b3fcc]
lea edi, [esp + 0x2c]
lea esi, [esp + 0x24]
mov dword [esp + 0x2c], eax
call fcn.0045299b
test al, al
jne 0x4c321b
call fcn.0045cf44
push dword [eax + 0x24]
lea esi, [esp + 0x10]
push dword [eax + 0x20]
call fcn.004c4168
push 1
mov eax, esi
call fcn.004b25c5
mov edi, dword [ebp + 8]
add esp, 0xc
push dword [edi + 0x133c]
mov eax, esi
call fcn.004b25c5
pop ecx
lea ecx, [edi + 0x78]
lea eax, [edi + 0x64]
cmp eax, ecx
je 0x4c3043
mov esi, dword [esp + 0xc]
sub esi, eax
mov dl, byte [eax]
mov byte [esi + eax], dl
inc eax
cmp eax, ecx
jne 0x4c3039
add dword [esp + 0xc], 0x14
lea edx, [edi + 0x8c]
mov eax, ecx
cmp eax, edx
je 0x4c3064
mov esi, dword [esp + 0xc]
sub esi, eax
mov cl, byte [eax]
mov byte [esi + eax], cl
inc eax
cmp eax, edx
jne 0x4c305a
add dword [esp + 0xc], 0x14
xor ebx, ebx
cmp byte [esp + 0x13], bl
je 0x4c307f
mov eax, dword [edi + 0x90]
mov ecx, dword [edi + 0x94]
jmp 0x4c3083
xor eax, eax
xor ecx, ecx
push ecx
push eax
lea esi, [esp + 0x14]
call fcn.004c4168
pop ecx
pop ecx
cmp byte [esp + 0x13], bl
je 0x4c30a4
mov eax, dword [edi + 0xa0]
mov ecx, dword [edi + 0xa4]
jmp 0x4c30a8
xor eax, eax
xor ecx, ecx
push ecx
push eax
lea esi, [esp + 0x14]
call fcn.004c4168
pop ecx
pop ecx
cmp byte [esp + 0x13], bl
je 0x4c30c9
mov eax, dword [edi + 0x98]
mov ecx, dword [edi + 0x9c]
jmp 0x4c30cd
xor eax, eax
xor ecx, ecx
push ecx
push eax
lea esi, [esp + 0x14]
call fcn.004c4168
push dword [edi + 0xbc]
mov eax, esi
call fcn.004b25c5
add esp, 0xc
lea ecx, [esp + 0x3c]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
call fcn.00415985
mov esi, dword [esp + 0x14]
sub esi, 0xffffff80
lea eax, [esp + 0x34]
mov ecx, esi
call fcn.00452d3c
test al, al
je 0x4c3133
cmp dword [esi], ebx
jne 0x4c3133
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.00453b49
push dword [eax]
call dword [sym.imp.WS2_32.dll_ntohl]
push eax
lea eax, [esp + 0x10]
call fcn.00458dd5
jmp 0x4c313d
push ebx
lea eax, [esp + 0x10]
call fcn.004b25c5
pop ecx
push dword [edi + 0xdc]
lea eax, [esp + 0x10]
call fcn.004b25c5
pop ecx
push dword [edi + 0xe0]
lea eax, [esp + 0x10]
call fcn.004b25c5
movzx eax, word [edi + 0xb8]
pop ecx
push eax
lea eax, [esp + 0x10]
call fcn.00458b15
pop ecx
push ebx
lea eax, [esp + 0x10]
call fcn.00458b15
pop ecx
mov dword [esp + 0x14], ebx
call fcn.005a5950
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
push eax
push 0x64
lea eax, [esp + 0x58]
push eax
push dword [esp + 0x2c]
call fcn.00456d78
mov eax, dword [edi + 0x58]
xor esi, esi
inc esi
mov dword [edi + 0x1348], esi
mov eax, dword [eax + 0x2c]
add eax, 0xb10
add eax, 0x130
lea ecx, [esi + 0x7f]
add dword [eax - 8], ecx
add dword [eax], ecx
adc dword [eax + 4], ebx
inc dword [edi + 0x1344]
mov eax, dword [esp + 0x14]
neg eax
sbb eax, eax
test eax, fcn.00459869
je 0x4c321b
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x18]
call fcn.00406614
mov dword [esp + 0xc4], ebx
cmp dword [eax + 0x18], 0x10
jb 0x4c31fa
mov eax, dword [eax + 4]
jmp 0x4c31fd
add eax, 4
push ebx
push eax
push 0xffffffffffffffff
xor ecx, ecx
call fcn.004a3198
or dword [esp + 0xc4], 0xffffffff
push ebx
push esi
lea ecx, [esp + 0x3c]
call fcn.004034fc
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4