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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x56e92e
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x5ca1c8]
xor eax, esp
mov dword [esp + 0xa8], eax
push ebx
push esi
push edi
mov eax, dword [0x5ca1c8]
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.00450b1f
and dword [esp + 0xc8], 0
mov edi, dword [esp + 0x24]
test edi, edi
je 0x4545e0
cmp byte [ebx + 0x14], 0
je 0x454575
lea eax, [esp + 0x2c]
mov ecx, ebx
push eax
lea eax, [esp + 0x2c]
push eax
push edi
call fcn.00466c27
mov edi, dword [esp + 0x24]
jmp 0x4545e2
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 0x45474e
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 0x4545ea
xor al, al
test al, al
je 0x45474e
mov ebx, dword [esp + 0x28]
test ebx, ebx
jle 0x45474e
mov al, byte [edi]
mov byte [esp + 0x38], al
movzx eax, al
cmp eax, 0x64
jg 0x454679
je 0x454668
sub eax, 0x32
je 0x454655
dec eax
je 0x454651
push 2
pop ecx
sub eax, ecx
je 0x454655
sub eax, 7
jne 0x45474e
lea edx, [ebx - 5]
lea ecx, [edi + 5]
call fcn.00534c1a
cmp dword [edi + 1], eax
jne 0x45474e
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.00454bea
jmp 0x45474e
push 0x5a
jmp 0x454657
push 6
lea eax, [esp + 0x20]
mov ecx, esi
push eax
call fcn.004547ca
jmp 0x45474e
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call fcn.00454813
jmp 0x45474e
sub eax, 0x65
je 0x454742
push 2
pop ecx
sub eax, ecx
je 0x454724
sub eax, ecx
je 0x4546c2
sub eax, 5
jne 0x45474e
cmp ebx, 0x15
jl 0x45474e
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.00466a5a
jmp 0x45474e
cmp ebx, ecx
jl 0x45474e
movzx eax, byte [edi + 1]
test al, 1
je 0x454716
cmp ebx, 8
jl 0x45474e
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 0x4546b3
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call fcn.004548b8
jmp 0x45474e
cmp ebx, 0xd
jl 0x45474e
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 0x454638
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call fcn.00454866
lea ecx, [esp + 0x1c]
call fcn.00447409
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.0055fedc
mov esp, ebp
pop ebp
ret 4