Function at 0x455109
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x56c42a
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x5c31c8]
xor eax, esp
mov dword [esp + 0xa8], eax
push ebx
push esi
push edi
mov eax, dword [0x5c31c8]
xor eax, esp
push eax
lea eax, [esp + 0xc0]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [ebp + 8]
lea ecx, [esp + 0x1c]
push 0x800
mov dword [esp + 0x1c], ebx
call fcn.0045173c
and dword [esp + 0xc8], 0
mov edi, dword [esp + 0x24]
test edi, edi
je 0x4551fd
cmp byte [ebx + 0x14], 0
je 0x455192
lea eax, [esp + 0x2c]
mov ecx, ebx
push eax
lea eax, [esp + 0x2c]
push eax
push edi
call fcn.004677f2
mov edi, dword [esp + 0x24]
jmp 0x4551ff
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x10
push eax
lea eax, [esp + 0xac]
push eax
push 0
push dword [esp + 0x34]
push edi
push dword [ebx]
call dword [sym.imp.WS2_32.dll_recvfrom]
test eax, eax
jle 0x45536b
mov ecx, dword [esp + 0x30]
push 2
mov dword [esp + 0x2c], eax
mov ax, word [esp + 0xac]
pop edx
push dword [esp + 0xaa]
cmp ax, dx
mov word [esp + 0x30], ax
cmove ecx, dword [esp + 0xb0]
mov dword [esp + 0x34], ecx
call dword [sym.imp.WS2_32.dll_ntohs]
mov edi, dword [esp + 0x24]
mov word [esp + 0x34], ax
jmp 0x455207
xor al, al
test al, al
je 0x45536b
mov ebx, dword [esp + 0x28]
test ebx, ebx
jle 0x45536b
mov al, byte [edi]
mov byte [esp + 0x38], al
movzx eax, al
cmp eax, 0x64
jg 0x455296
je 0x455285
sub eax, 0x32
je 0x455272
dec eax
je 0x45526e
push 2
pop ecx
sub eax, ecx
je 0x455272
sub eax, 7
jne 0x45536b
lea edx, [ebx - 5]
lea ecx, [edi + 5]
call fcn.00532a96
cmp dword [edi + 1], eax
jne 0x45536b
add edi, 0x10
sub ebx, 0x10
lea eax, [esp + 0x1c]
mov dword [esp + 0x24], edi
push eax
mov ecx, esi
mov dword [esp + 0x2c], ebx
call fcn.00455807
jmp 0x45536b
push 0x5a
jmp 0x455274
push 6
lea eax, [esp + 0x20]
mov ecx, esi
push eax
call fcn.004553e7
jmp 0x45536b
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call fcn.00455430
jmp 0x45536b
sub eax, 0x65
je 0x45535f
push 2
pop ecx
sub eax, ecx
je 0x455341
sub eax, ecx
je 0x4552df
sub eax, 5
jne 0x45536b
cmp ebx, 0x15
jl 0x45536b
push 0x15
mov dword [edi + 0x11], eax
movzx eax, word [esp + 0x38]
push edi
push eax
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x24]
push eax
call fcn.00467625
jmp 0x45536b
cmp ebx, ecx
jl 0x45536b
movzx eax, byte [edi + 1]
test al, 1
je 0x455333
cmp ebx, 8
jl 0x45536b
mov edx, dword [edi + 2]
and eax, 0xfffffffe
movzx esi, word [edi + 6]
and dword [esp + 0x14], 0
mov byte [edi + 1], al
mov eax, dword [esp + 0x30]
movzx ecx, word [esp + 0x34]
push 2
mov dword [edi + 2], eax
pop eax
mov word [esp + 0x10], ax
mov eax, dword [esp + 0x10]
push ebx
push edi
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
mov word [edi + 6], cx
mov dword [esp + 0x1c], edx
push esi
jmp 0x4552d0
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call fcn.004554d5
jmp 0x45536b
cmp ebx, 0xd
jl 0x45536b
mov eax, dword [edi + 5]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 9]
add edi, 0xd
mov dword [esp + 0x20], eax
sub ebx, 0xd
jmp 0x455255
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call fcn.00455483
lea ecx, [esp + 0x1c]
call fcn.00448081
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.0055daac
mov esp, ebp
pop ebp
ret 4