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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x446c2b
mov eax, dword fs:[0]
push eax
sub esp, 0x418
mov eax, dword [0x45aee0]
xor eax, esp
mov dword [esp + 0x410], eax
push ebx
push esi
push edi
mov eax, dword [0x45aee0]
xor eax, esp
push eax
lea eax, [esp + 0x428]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
mov ebx, ecx
mov eax, dword [ebx + 0x10]
xor edi, edi
push edi
mov dword [esp + 0x24], esi
mov dword [esp + 0x18], eax
call dword [sym.imp.WSOCK32.dll_htons]
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.WSOCK32.dll_htonl]
mov dword [esp + 0x28], eax
or eax, 0xffffffff
cmp dword [ebp + 0x10], 0xb0
mov dword [ebx + 0x78], eax
mov dword [ebx + 0x9c], eax
mov dword [ebx + 0xac], eax
mov dword [ebx + 0xa0], eax
mov dword [ebx + 0xa8], edi
mov dword [ebx + 0xb0], edi
mov dword [ebx + 0xa4], edi
je 0x419d35
movzx edx, word [ebx + 0x14]
mov eax, dword [ebx + 0x10]
push edi
push edi
push edi
push 7
push edx
push eax
mov ecx, ebx
call fcn.00415f50
jmp 0x41a2a4
cmp dword [esi + 0x54], 1
je 0x419d55
movzx ecx, word [ebx + 0x14]
mov edx, dword [ebx + 0x10]
push edi
push edi
push edi
push 8
push ecx
push edx
mov ecx, ebx
call fcn.00415f50
jmp 0x41a2a4
push 0x1f4
lea eax, [esp + 0x190]
push edi
push eax
call fcn.0041ca00
push 0x158
lea ecx, [esp + 0x44]
push edi
push ecx
call fcn.0041ca00
mov eax, dword [esi + 0x2c]
lea ecx, [esi + 0x2c]
add esp, 0x18
mov dword [esp + 0x13c], eax
mov dword [esp + 0x30c], eax
mov eax, dword [ebx + 0x10]
mov byte [esp + 0x16a], 0
mov byte [esp + 0x338], 0
xor edx, edx
cmp dword [ecx], eax
je 0x419db3
inc edx
add ecx, 4
cmp edx, 0xa
jl 0x419da4
jmp 0x419dc3
mov byte [esp + 0x16a], 1
mov byte [esp + 0x338], 1
movzx edx, word [esi + 0x5e]
movzx ecx, word [esi + 0x62]
mov dword [esp + 0x140], eax
mov dword [esp + 0x310], eax
mov ax, word [esi + 0x60]
mov word [esp + 0x16c], dx
movzx edx, word [esi + 0x64]
mov word [esp + 0x170], cx
movzx ecx, byte [esi + 0x5d]
mov word [esp + 0x16e], ax
mov al, byte [esi + 0x5c]
mov word [esp + 0x172], dx
mov edx, dword [esi + 0x68]
mov byte [esp + 0x169], al
mov eax, dword [esi + 0x28]
mov byte [esp + 0x168], cl
mov ecx, dword [esp + 0x13c]
push edi
mov dword [esp + 0x17c], edx
mov dword [esp + 0x178], eax
mov byte [esp + 0x190], 0
mov dword [esp + 0x18], ecx
call dword [sym.imp.WSOCK32.dll_htons]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.WSOCK32.dll_htonl]
pxor xmm0, xmm0
push 0x10
movq qword [esp + 0x389], xmm0
mov dword [esp + 0x391], edi
mov word [esp + 0x395], di
mov dword [esp + 0x3a1], edi
mov word [esp + 0x3a5], di
mov edi, dword [sym.imp.WSOCK32.dll_inet_ntoa]
pxor xmm0, xmm0
push eax
mov byte [esp + 0x38c], 0
mov byte [esp + 0x39b], 0
mov byte [esp + 0x39c], 0
movq qword [esp + 0x39d], xmm0
mov byte [esp + 0x3ab], 0
call edi
push eax
lea eax, [esp + 0x38c]
push eax
call fcn.0041cb50
mov ecx, dword [esp + 0x34]
add esp, 0xc
push 0x10
push ecx
call edi
push eax
lea edx, [esp + 0x39c]
push edx
call fcn.0041cb50
mov ecx, dword [esi + 0x28]
movzx edx, byte [esi + 0x5d]
lea eax, [esp + 0x198]
push eax
push ecx
movzx ecx, byte [esi + 0x5c]
movzx eax, dx
push eax
movzx eax, word [ebx + 0x14]
movzx edx, cx
push edx
push eax
lea ecx, [esp + 0x3b4]
push ecx
lea edx, [esp + 0x3a8]
push edx
lea eax, [esi + 0x1e]
push eax
push esi
call fcn.0040af30
movzx ecx, byte [esp + 0x369]
mov edi, dword [esp + 0x2b0]
mov byte [esp + 0x1bc], al
mov dword [ebp + 8], edi
mov byte [esp + 0xe0], cl
mov dword [esp + 0x64], edi
mov edx, dword [esp + 0x2b4]
mov eax, dword [esp + 0x2b8]
push 0x40
lea ecx, [esp + 0x2c0]
mov dword [esp + 0xe8], edx
push ecx
lea edx, [esp + 0xf4]
push edx
mov dword [esp + 0xf4], eax
call fcn.0041cb50
push 0x40
lea eax, [esp + 0x30c]
push eax
lea ecx, [esp + 0x140]
push ecx
call fcn.0041cb50
add esp, 0x48
push 0x78
lea edx, [esp + 0x192]
push edx
lea eax, [esp + 0x40]
push eax
call fcn.0041cb50
add esp, 0xc
lea ecx, [ebx + 0x3c]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0043e710
mov edx, dword [esi + 0x28]
push edx
mov ecx, ebx
mov dword [esp + 0x434], 0
call fcn.00416670
mov dword [esp + 0x14], eax
test eax, eax
jne 0x419fdb
mov ecx, dword [ebx + 0x10]
push eax
push eax
push eax
movzx eax, word [ebx + 0x14]
push 0xa
push eax
push ecx
jmp 0x41a289
cmp byte [esp + 0xb0], 1
jne 0x41a0bc
mov eax, dword [eax + 0x24]
test eax, eax
je 0x41a0bc
cmp dword [esp + 0x34], eax
je 0x41a0bc
push eax
mov ecx, ebx
call fcn.004166f0
cmp word [esi + 0x6e], 0
jne 0x41a057
test eax, eax
je 0x41a041
push 0x78
lea edx, [esp + 0x3a8]
push edx
lea esi, [eax + 0x8894]
movzx eax, word [ebx + 0x14]
push 0
mov ecx, 0x1e
lea edi, [esp + 0x3b0]
push 0xb
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x10]
push eax
push ecx
jmp 0x41a289
movzx edx, word [ebx + 0x14]
mov eax, dword [ebx + 0x10]
push 0
push 0
push 0
push 0xb
push edx
push eax
jmp 0x41a289
movzx edx, word [eax + 0x89ec]
mov eax, dword [eax + 0x899c]
push 0x158
mov ecx, 0x1e
lea esi, [esp + 0x3c]
lea edi, [esp + 0x3a8]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x3a8]
push ecx
push 0
push 0x16
push edx
push eax
mov ecx, ebx
call fcn.00415f50
mov esi, dword [esp + 0x14]
mov ecx, dword [esi + 0x24]
push ecx
mov ecx, ebx
call fcn.00418ae0
mov edx, dword [esi + 0x24]
push edx
mov ecx, ebx
call fcn.00418d50
mov eax, dword [esi + 0x24]
push eax
mov ecx, ebx
call fcn.00419ab0
mov esi, dword [esp + 0x20]
mov edi, dword [ebp + 8]
push edi
mov ecx, ebx
call fcn.004166f0
test eax, eax
je 0x41a129
cmp byte [eax + 0x890c], 1
je 0x41a0db
mov byte [esp + 0x18c], 0x13
jmp 0x41a139
mov ecx, dword [eax + 0x899c]
cmp ecx, dword [ebx + 0x10]
jne 0x41a0f7
mov dx, word [eax + 0x89ec]
cmp dx, word [ebx + 0x14]
je 0x41a290
movzx eax, word [eax + 0x89ec]
push 0
push 0
push 0
push 9
push eax
push ecx
mov ecx, ebx
call fcn.00415f50
push edi
mov ecx, ebx
call fcn.00418ae0
push edi
mov ecx, ebx
call fcn.00418d50
push edi
mov ecx, ebx
call fcn.00419ab0
jmp 0x41a139
mov eax, dword [ebx + 0x38]
cmp eax, dword [ebx + 0x78]
jb 0x41a139
mov byte [esp + 0x18c], 5
cmp byte [esp + 0x18c], 0
mov ecx, dword [esi + 0x58]
mov dx, word [esi + 0x6c]
mov dword [esp + 0x144], ecx
mov word [esp + 0x17c], dx
jne 0x41a26f
mov eax, dword [esi + 0x28]
push 0
push 0
push 0x44c410
push eax
push 0xa
push edi
call fcn.0040c9f0
movzx ecx, word [ebx + 0x14]
mov edx, dword [ebx + 0x10]
add esp, 0x18
push ecx
push edx
lea eax, [esp + 0x3c]
push eax
push edi
mov ecx, ebx
call fcn.00419810
mov esi, eax
test esi, esi
je 0x41a290
push 0x1f4
lea ecx, [esp + 0x190]
push ecx
push 0
push edi
push 3
mov ecx, ebx
call fcn.004167f0
mov al, byte [esi + 0x890c]
cmp al, 1
jne 0x41a216
push esi
call fcn.0040b730
add esp, 4
push 0
push esi
mov ecx, ebx
call fcn.00417190
mov edx, dword [esi + 0x8890]
push 0
push edx
mov ecx, ebx
call fcn.00416e60
mov eax, dword [esi + 0x8890]
push 0
push eax
mov ecx, ebx
call fcn.00416d60
mov edx, dword [esi + 0x89d0]
lea ecx, [esp + 0x384]
push ecx
push edx
call fcn.004092b0
mov eax, dword [esi + 0x8890]
add esp, 8
push eax
lea ecx, [ebx + 0xb4]
call fcn.0040f410
jmp 0x41a25d
test al, al
jne 0x41a25d
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x24]
test eax, eax
je 0x41a25d
push eax
mov ecx, ebx
call fcn.004166f0
test eax, eax
je 0x41a25d
push edi
push eax
mov ecx, ebx
call fcn.00417190
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x24]
push edi
push eax
mov ecx, ebx
call fcn.00416e60
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x24]
push 1
push edx
push esi
call fcn.0040b3e0
add esp, 0xc
push 0
push 0
push 0
push edi
push 0xe
mov ecx, ebx
call fcn.004167f0
jmp 0x41a290
movzx ecx, word [ebx + 0x14]
mov edx, dword [ebx + 0x10]
push 0x1f4
lea eax, [esp + 0x190]
push eax
push 0
push 3
push ecx
push edx
mov ecx, ebx
call fcn.00415f50
lea ecx, [esp + 0x18]
mov dword [esp + 0x430], 0xffffffff
call fcn.0043e740
mov ecx, dword [esp + 0x428]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x410]
xor ecx, esp
call fcn.0041c2ed
mov esp, ebp
pop ebp
ret 0xc