Function at 0x55f5fc
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 0x55f625
mov ecx, eax
mov eax, dword [edi + ecx*4]
cmp eax, dword [ebx + ecx*4 + 0xc]
jne 0x55f631
inc ecx
cmp ecx, 5
jne 0x55f616
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.0055c1b8
test al, al
jne 0x55f625
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.00485832
lea ecx, [ebx + 0x64]
push dword [eax + 8]
call fcn.00485874
test al, al
je 0x55f6ca
mov eax, dword [ebx + 0x5c]
xor esi, esi
mov ecx, dword [ebx + 0x58]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x55f625
mov ecx, dword [ecx + esi*4]
lea eax, [esp + 0x14]
push eax
push ebp
call fcn.0055b19a
test eax, eax
jne 0x55f6ab
mov eax, dword [ebx + 0x5c]
inc esi
mov ecx, dword [ebx + 0x58]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x55f684
jmp 0x55f625
add eax, 8
xor ecx, ecx
mov dword [esp + 0x10], eax
mov eax, dword [eax + ecx*4]
cmp eax, dword [edi + ecx*4]
jne 0x55f741
mov eax, dword [esp + 0x10]
inc ecx
cmp ecx, 5
jne 0x55f6b4
push edi
mov ecx, ebx
call fcn.0055b62e
mov dword [esp + 0x20], eax
test eax, eax
js 0x55f625
mov ecx, dword [ebx + 0x58]
and dword [esp + 0x10], 0
push 0
mov ebp, dword [ecx + eax*4]
call fcn.0067f294
pop ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
call fcn.00557d69
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 0x55f770
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
jmp 0x55f778
cmp byte [esp + 0x94], 0
je 0x55f625
push ebp
mov ecx, ebx
call fcn.0055e700
push dword [esp + 0x14]
mov ecx, dword [ebx + 0x58]
push dword [esp + 0x14]
push ebx
mov ecx, dword [ecx + esi*4]
call fcn.0055e69d
jmp 0x55f625
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], edx
mov esi, dword [esp + 0x8c]
mov ecx, ebp
push esi
call fcn.0055b203
test eax, eax
je 0x55f79f
lea ecx, [esi + 0x14]
push ecx
lea ecx, [eax + 0x1c]
call fcn.004cce17
test al, al
je 0x55f625
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
push 0
lea eax, [esp + 0x38]
push eax
push ebx
call fcn.0055be4a
mov edi, dword [esp + 0x10]
test edi, edi
je 0x55f7eb
test al, al
je 0x55f89d
push 1
lea eax, [esp + 0x3c]
mov ecx, ebp
push eax
push ebx
call fcn.0055e69d
test al, al
je 0x55f7e2
lea eax, [esp + 0x4c]
mov ecx, ebx
push eax
call fcn.0055e700
push dword [esp + 0x1c]
jmp 0x55f959
lea eax, [ebx + 0xc]
mov ecx, ebp
push eax
call fcn.0055f316
test al, al
je 0x55f827
push dword [esp + 0x20]
mov ecx, ebx
call fcn.0055f1da
push dword [esp + 0x98]
mov ecx, ebx
push dword [esp + 0x98]
push dword [esp + 0x98]
push esi
call fcn.0055f5fc
jmp 0x55f627
push 3
push dword [ebp + 0x14]
lea ecx, [esp + 0x38]
call fcn.005599c4
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
push 0
lea eax, [esp + 0x38]
push eax
push ebx
call fcn.0055b3ac
mov ecx, ebp
test al, al
je 0x55f8ed
push 1
lea eax, [esp + 0x3c]
push eax
push ebx
call fcn.0055e69d
test al, al
je 0x55f870
lea eax, [esp + 0x4c]
mov ecx, ebx
push eax
call fcn.0055e700
mov edi, dword [esp + 0x10]
cmp byte [edi + 0x30], 0
je 0x55f8a4
mov ecx, ebx
lea eax, [edi + 0x1c]
push eax
call fcn.0055e700
lea eax, [esp + 0x4c]
mov ecx, ebx
push eax
call fcn.005591b0
lea eax, [esp + 0x30]
mov ecx, edi
push eax
call fcn.00559a1b
mov eax, edi
jmp 0x55f627
and dword [esp + 0x10], 0
lea eax, [esp + 0x10]
push eax
push 1
push edi
push ebx
mov ecx, ebp
call fcn.0055be4a
cmp dword [esp + 0x10], 0
jne 0x55f885
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
push 1
push edi
push ebx
call fcn.0055b3ac
mov ecx, ebx
test al, al
je 0x55f87c
mov esi, dword [esp + 0x10]
lea eax, [esi + 0x1c]
push eax
call fcn.0055e700
push edi
mov ecx, esi
call fcn.00559a1b
jmp 0x55f885
lea eax, [esp + 0x10]
push eax
push 1
lea eax, [esp + 0x38]
push eax
push ebx
call fcn.0055be4a
mov edi, dword [esp + 0x10]
test al, al
jne 0x55f955
test edi, edi
jne 0x55f89d
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
push 1
lea eax, [esp + 0x38]
push eax
push ebx
call fcn.0055b3ac
test al, al
je 0x55f625
mov esi, dword [esp + 0x10]
mov ecx, ebx
lea eax, [esi + 0x1c]
push eax
call fcn.0055e700
lea eax, [esp + 0x4c]
mov ecx, ebx
push eax
call fcn.005591b0
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.00559a1b
mov eax, esi
jmp 0x55f627
lea eax, [edi + 0x1c]
push eax
mov ecx, ebx
call fcn.005591b0
jmp 0x55f89d