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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55fca0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x40]
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x28], edi
jne 0x427c55
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x18
mov dword [ebp - 0x1c], ebx
call fcn.0053a6dc
add esp, 4
mov esi, eax
push 1
lea eax, [ebp - 0x1c]
push eax
push esi
mov dword [ebp - 0x14], esi
call dword [edi + 0x40]
cmp eax, 0x7a
jne 0x427c8d
push esi
call fcn.0053a6ee
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0053a6dc
add esp, 8
mov dword [ebp - 0x14], eax
mov esi, eax
push 1
lea edx, [ebp - 0x1c]
push edx
push esi
mov dword [ebp - 0x24], ebx
call dword [edi + 0x40]
test eax, eax
jne 0x427e9b
xor edi, edi
cmp edi, dword [esi]
mov dword [ebp - 0x18], edi
jae 0x427ea4
lea eax, [edi + edi*4]
cmp dword [esi + eax*4 + 4], 2
jne 0x427e95
push 0x98
mov dword [ebp - 4], ebx
call fcn.0055044f
add esp, 4
cmp eax, ebx
je 0x427d1b
mov dword [eax + 0x18], ebx
mov ecx, 0xf
mov dword [eax + 0x1c], ecx
mov byte [eax + 8], bl
mov dword [eax + 0x38], ecx
mov dword [eax + 0x34], ebx
mov byte [eax + 0x24], bl
mov dword [eax + 0x58], ecx
mov dword [eax + 0x54], ebx
mov byte [eax + 0x44], bl
mov dword [eax + 0x78], ecx
mov dword [eax + 0x74], ebx
mov byte [eax + 0x64], bl
mov dword [eax + 0x94], ecx
mov dword [eax + 0x90], ebx
mov byte [eax + 0x80], bl
mov esi, eax
mov dword [eax + 0x3c], ebx
mov dword [eax], ebx
mov dword [eax + 0x5c], ebx
mov dword [ebp - 0x20], esi
jmp 0x427d39
xor eax, eax
mov esi, eax
mov dword [ebp - 0x20], esi
jmp 0x427d39
or eax, 0xffffffff
cmp esi, ebx
mov dword [ebp - 4], eax
je 0x427eb0
mov edx, dword [ebp - 0x14]
lea ecx, [edi + edi*4]
lea edi, [edx + ecx*4]
mov dword [esi], ebx
mov eax, dword [edi + 8]
push 2
push eax
lea ecx, [ebp - 0x44]
push ecx
call fcn.005048e9
add esp, 0xc
push 0xffffffffffffffff
push ebx
lea ecx, [esi + 0x40]
push eax
mov dword [ebp - 4], 2
call fcn.00404360
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 4], 0xffffffff
jb 0x427d90
mov edx, dword [ebp - 0x40]
push edx
call fcn.0055047a
add esp, 4
xor eax, eax
mov ax, word [edi + 0xc]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], ebx
mov byte [ebp - 0x40], bl
push eax
call dword [sym.imp.WSOCK32.dll_htons]
movzx ecx, ax
mov dword [esi + 0x3c], ecx
mov edx, dword [edi + 0x10]
push 2
push edx
lea eax, [ebp - 0x60]
push eax
call fcn.005048e9
add esp, 0xc
push 0xffffffffffffffff
push ebx
lea ecx, [esi + 0x60]
push eax
mov dword [ebp - 4], 3
call fcn.00404360
cmp dword [ebp - 0x48], 0x10
mov dword [ebp - 4], 0xffffffff
jb 0x427dee
mov ecx, dword [ebp - 0x5c]
push ecx
call fcn.0055047a
add esp, 4
xor edx, edx
mov dx, word [edi + 0x14]
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], ebx
mov byte [ebp - 0x5c], bl
push edx
call dword [sym.imp.WSOCK32.dll_htons]
movzx eax, ax
push 3
push 0x574070
lea ecx, [esi + 0x20]
mov dword [esi + 0x5c], eax
call fcn.00404640
mov edi, dword [edi + 4]
shl edi, 5
add edi, 0x5ac358
mov eax, edi
lea ecx, [eax + 1]
mov edi, edi
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x427e30
sub eax, ecx
push eax
push edi
lea ecx, [esi + 0x7c]
call fcn.00404640
mov ecx, dword [ebp - 0x28]
mov eax, dword [ecx + 4]
cmp eax, ebx
jne 0x427e51
xor edi, edi
jmp 0x427e59
mov edi, dword [ecx + 8]
sub edi, eax
sar edi, 2
cmp eax, ebx
je 0x427e80
mov edx, dword [ecx + 0xc]
sub edx, eax
sar edx, 2
cmp edi, edx
jae 0x427e80
mov eax, dword [ecx + 8]
mov edi, dword [ebp - 0x18]
mov dword [eax], esi
mov esi, dword [ebp - 0x14]
add eax, 4
mov dword [ecx + 8], eax
inc edi
jmp 0x427ca4
mov eax, dword [ecx + 8]
lea edx, [ebp - 0x20]
push edx
push 1
push eax
call fcn.00427340
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
inc edi
jmp 0x427ca4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x24], eax
push esi
call fcn.0053a6ee
mov eax, dword [ebp - 0x24]
add esp, 4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret