Function at 0x55285a
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 0x552883
mov ecx, eax
mov eax, dword [edi + ecx*4]
cmp eax, dword [ebx + ecx*4 + 0xc]
jne 0x55288f
inc ecx
cmp ecx, 5
jne 0x552874
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.0054f416
test al, al
jne 0x552883
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.00478933
lea ecx, [ebx + 0x64]
push dword [eax + 8]
call fcn.00478975
test al, al
je 0x552928
mov eax, dword [ebx + 0x5c]
xor esi, esi
mov ecx, dword [ebx + 0x58]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x552883
mov ecx, dword [ecx + esi*4]
lea eax, [esp + 0x14]
push eax
push ebp
call fcn.0054e3f8
test eax, eax
jne 0x552909
mov eax, dword [ebx + 0x5c]
inc esi
mov ecx, dword [ebx + 0x58]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x5528e2
jmp 0x552883
add eax, 8
xor ecx, ecx
mov dword [esp + 0x10], eax
mov eax, dword [eax + ecx*4]
cmp eax, dword [edi + ecx*4]
jne 0x55299f
mov eax, dword [esp + 0x10]
inc ecx
cmp ecx, 5
jne 0x552912
push edi
mov ecx, ebx
call fcn.0054e88c
mov dword [esp + 0x20], eax
test eax, eax
js 0x552883
mov ecx, dword [ebx + 0x58]
and dword [esp + 0x10], 0
push 0
mov ebp, dword [ecx + eax*4]
call fcn.006777a7
pop ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
call fcn.0054afc7
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 0x5529ce
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
jmp 0x5529d6
cmp byte [esp + 0x94], 0
je 0x552883
push ebp
mov ecx, ebx
call fcn.0055195e
push dword [esp + 0x14]
mov ecx, dword [ebx + 0x58]
push dword [esp + 0x14]
push ebx
mov ecx, dword [ecx + esi*4]
call fcn.005518fb
jmp 0x552883
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], edx
mov esi, dword [esp + 0x8c]
mov ecx, ebp
push esi
call fcn.0054e461
test eax, eax
je 0x5529fd
lea ecx, [esi + 0x14]
push ecx
lea ecx, [eax + 0x1c]
call fcn.004bff68
test al, al
je 0x552883
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
push 0
lea eax, [esp + 0x38]
push eax
push ebx
call fcn.0054f0a8
mov edi, dword [esp + 0x10]
test edi, edi
je 0x552a49
test al, al
je 0x552afb
push 1
lea eax, [esp + 0x3c]
mov ecx, ebp
push eax
push ebx
call fcn.005518fb
test al, al
je 0x552a40
lea eax, [esp + 0x4c]
mov ecx, ebx
push eax
call fcn.0055195e
push dword [esp + 0x1c]
jmp 0x552bb7
lea eax, [ebx + 0xc]
mov ecx, ebp
push eax
call fcn.00552574
test al, al
je 0x552a85
push dword [esp + 0x20]
mov ecx, ebx
call fcn.00552438
push dword [esp + 0x98]
mov ecx, ebx
push dword [esp + 0x98]
push dword [esp + 0x98]
push esi
call fcn.0055285a
jmp 0x552885
push 3
push dword [ebp + 0x14]
lea ecx, [esp + 0x38]
call fcn.0054cc22
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
push 0
lea eax, [esp + 0x38]
push eax
push ebx
call fcn.0054e60a
mov ecx, ebp
test al, al
je 0x552b4b
push 1
lea eax, [esp + 0x3c]
push eax
push ebx
call fcn.005518fb
test al, al
je 0x552ace
lea eax, [esp + 0x4c]
mov ecx, ebx
push eax
call fcn.0055195e
mov edi, dword [esp + 0x10]
cmp byte [edi + 0x30], 0
je 0x552b02
mov ecx, ebx
lea eax, [edi + 0x1c]
push eax
call fcn.0055195e
lea eax, [esp + 0x4c]
mov ecx, ebx
push eax
call fcn.0054c40e
lea eax, [esp + 0x30]
mov ecx, edi
push eax
call fcn.0054cc79
mov eax, edi
jmp 0x552885
and dword [esp + 0x10], 0
lea eax, [esp + 0x10]
push eax
push 1
push edi
push ebx
mov ecx, ebp
call fcn.0054f0a8
cmp dword [esp + 0x10], 0
jne 0x552ae3
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
push 1
push edi
push ebx
call fcn.0054e60a
mov ecx, ebx
test al, al
je 0x552ada
mov esi, dword [esp + 0x10]
lea eax, [esi + 0x1c]
push eax
call fcn.0055195e
push edi
mov ecx, esi
call fcn.0054cc79
jmp 0x552ae3
lea eax, [esp + 0x10]
push eax
push 1
lea eax, [esp + 0x38]
push eax
push ebx
call fcn.0054f0a8
mov edi, dword [esp + 0x10]
test al, al
jne 0x552bb3
test edi, edi
jne 0x552afb
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
push 1
lea eax, [esp + 0x38]
push eax
push ebx
call fcn.0054e60a
test al, al
je 0x552883
mov esi, dword [esp + 0x10]
mov ecx, ebx
lea eax, [esi + 0x1c]
push eax
call fcn.0055195e
lea eax, [esp + 0x4c]
mov ecx, ebx
push eax
call fcn.0054c40e
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.0054cc79
mov eax, esi
jmp 0x552885
lea eax, [edi + 0x1c]
push eax
mov ecx, ebx
call fcn.0054c40e
jmp 0x552afb