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

Disassembly:
sub esp, 0x78
xor eax, eax
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x8c]
mov ebx, ecx
cmp word [edi + 0x24], ax
je 0x574419
mov ecx, eax
mov eax, dword [edi + ecx*4]
cmp eax, dword [ebx + ecx*4 + 0xc]
jne 0x574425
inc ecx
cmp ecx, 5
jne 0x57440a
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret 0x10
lea ebp, [edi + 0x14]
mov ecx, ebx
push ebp
mov dword [esp + 0x20], ebp
call fcn.00570fac
test al, al
jne 0x574419
push dword [edi + 0x20]
call dword [sym.imp.WS2_32.dll_ntohl]
mov dword [esp + 0x10], eax
lea ecx, [ebx + 0x64]
lea eax, [esp + 0x10]
push eax
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.00496e41
lea ecx, [ebx + 0x64]
push dword [eax + 8]
call fcn.00496e83
test al, al
je 0x5744be
mov eax, dword [ebx + 0x5c]
xor esi, esi
mov ecx, dword [ebx + 0x58]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x574419
mov ecx, dword [ecx + esi*4]
lea eax, [esp + 0x14]
push eax
push ebp
call fcn.0056ff6f
test eax, eax
jne 0x57449f
mov eax, dword [ebx + 0x5c]
inc esi
mov ecx, dword [ebx + 0x58]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x574478
jmp 0x574419
add eax, 8
xor ecx, ecx
mov dword [esp + 0x10], eax
mov eax, dword [eax + ecx*4]
cmp eax, dword [edi + ecx*4]
jne 0x574535
mov eax, dword [esp + 0x10]
inc ecx
cmp ecx, 5
jne 0x5744a8
push edi
mov ecx, ebx
call fcn.005703fc
mov dword [esp + 0x20], eax
test eax, eax
js 0x574419
mov ecx, dword [ebx + 0x58]
and dword [esp + 0x10], 0
push 0
mov ebp, dword [ecx + eax*4]
call fcn.0069cdc3
pop ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
call fcn.0056cbad
mov eax, dword [esp + 0x98]
mov esi, edi
push 0xa
pop ecx
lea edi, [esp + 0x38]
xor edx, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x14]
mov byte [esp + 0x60], dl
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
cmp byte [esp + 0x94], dl
je 0x574564
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
jmp 0x57456c
cmp byte [esp + 0x94], 0
je 0x574419
push ebp
mov ecx, ebx
call fcn.005734f4
push dword [esp + 0x14]
mov ecx, dword [ebx + 0x58]
push dword [esp + 0x14]
push ebx
mov ecx, dword [ecx + esi*4]
call fcn.00573491
jmp 0x574419
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], edx
mov esi, dword [esp + 0x8c]
mov ecx, ebp
push esi
call fcn.0056ffd8
test eax, eax
je 0x574593
lea ecx, [esi + 0x14]
push ecx
lea ecx, [eax + 0x1c]
call fcn.004df702
test al, al
je 0x574419
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
push 0
lea eax, [esp + 0x38]
push eax
push ebx
call fcn.00570c3e
mov edi, dword [esp + 0x10]
test edi, edi
je 0x5745df
test al, al
je 0x574691
push 1
lea eax, [esp + 0x3c]
mov ecx, ebp
push eax
push ebx
call fcn.00573491
test al, al
je 0x5745d6
lea eax, [esp + 0x4c]
mov ecx, ebx
push eax
call fcn.005734f4
push dword [esp + 0x1c]
jmp 0x57474d
lea eax, [ebx + 0xc]
mov ecx, ebp
push eax
call fcn.0057410a
test al, al
je 0x57461b
push dword [esp + 0x20]
mov ecx, ebx
call fcn.00573fce
push dword [esp + 0x98]
mov ecx, ebx
push dword [esp + 0x98]
push dword [esp + 0x98]
push esi
call fcn.005743f0
jmp 0x57441b
push 3
push dword [ebp + 0x14]
lea ecx, [esp + 0x38]
call fcn.0056e799
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
push 0
lea eax, [esp + 0x38]
push eax
push ebx
call fcn.00570181
mov ecx, ebp
test al, al
je 0x5746e1
push 1
lea eax, [esp + 0x3c]
push eax
push ebx
call fcn.00573491
test al, al
je 0x574664
lea eax, [esp + 0x4c]
mov ecx, ebx
push eax
call fcn.005734f4
mov edi, dword [esp + 0x10]
cmp byte [edi + 0x30], 0
je 0x574698
mov ecx, ebx
lea eax, [edi + 0x1c]
push eax
call fcn.005734f4
lea eax, [esp + 0x4c]
mov ecx, ebx
push eax
call fcn.0056df85
lea eax, [esp + 0x30]
mov ecx, edi
push eax
call fcn.0056e7f0
mov eax, edi
jmp 0x57441b
and dword [esp + 0x10], 0
lea eax, [esp + 0x10]
push eax
push 1
push edi
push ebx
mov ecx, ebp
call fcn.00570c3e
cmp dword [esp + 0x10], 0
jne 0x574679
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
push 1
push edi
push ebx
call fcn.00570181
mov ecx, ebx
test al, al
je 0x574670
mov esi, dword [esp + 0x10]
lea eax, [esi + 0x1c]
push eax
call fcn.005734f4
push edi
mov ecx, esi
call fcn.0056e7f0
jmp 0x574679
lea eax, [esp + 0x10]
push eax
push 1
lea eax, [esp + 0x38]
push eax
push ebx
call fcn.00570c3e
mov edi, dword [esp + 0x10]
test al, al
jne 0x574749
test edi, edi
jne 0x574691
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
push 1
lea eax, [esp + 0x38]
push eax
push ebx
call fcn.00570181
test al, al
je 0x574419
mov esi, dword [esp + 0x10]
mov ecx, ebx
lea eax, [esi + 0x1c]
push eax
call fcn.005734f4
lea eax, [esp + 0x4c]
mov ecx, ebx
push eax
call fcn.0056df85
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.0056e7f0
mov eax, esi
jmp 0x57441b
lea eax, [edi + 0x1c]
push eax
mov ecx, ebx
call fcn.0056df85
jmp 0x574691