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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [ebp + 8]
push ebx
push esi
xor ebx, ebx
xor esi, esi
xor ecx, ecx
cmp eax, ebx
push edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
jne 0x464d5d
mov eax, 0x2b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0xc]
mov edi, edx
and edi, 0xf00000
cmp edi, 0x300000
jg 0x464dbf
je 0x464dac
cmp edi, 0x100000
je 0x464d95
cmp edi, 0x200000
jne 0x464dc7
mov esi, dword [ebp + 0x10]
test esi, esi
jne 0x464dec
mov eax, 0x2b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 0x10]
test edi, edi
mov dword [esp + 0x10], edi
jne 0x464de8
mov eax, 0x2b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x10]
test ecx, ecx
jne 0x464dec
mov eax, 0x2b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp edi, 0x400000
je 0x464dd3
mov eax, 0x2b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 0x10]
test edi, edi
mov ebx, edi
jne 0x464dec
mov eax, 0x2b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [esp + 0x14]
cmp edx, 0x20001d
jg 0x464fe3
je 0x464f72
cmp edx, 0x20000d
jg 0x464ee5
je 0x464ed4
cmp edx, 0x10001e
jg 0x464e8d
je 0x464e78
sub edx, 0x100001
je 0x464e5a
sub edx, 0x11
je 0x464e45
sub edx, 3
jne case.0x465004.3145739
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 0x298]
mov dword [ecx], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [eax + 0x851c]
mov eax, dword [esp + 0x10]
mov dword [eax], edx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [eax + 0x308]
test eax, eax
jne 0x464e69
mov eax, 0x4bd5a4
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [eax + 0x84e8]
mov eax, dword [esp + 0x10]
mov dword [eax], edx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
sub edx, 0x200002
je 0x464ec3
sub edx, 9
je 0x464eb2
dec edx
jne case.0x465004.3145739
mov ecx, dword [eax + 0x850c]
xor eax, eax
mov dword [esi], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [eax + 0x8508]
xor eax, eax
mov dword [esi], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [eax + 0x84f8]
mov dword [esi], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [eax + 0x25c]
xor eax, eax
mov dword [esi], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [edx - 0x20000e]
cmp ecx, 0xc
ja case.0x465004.3145739
jmp dword [ecx*4 + 0x46514c]
mov edx, dword [eax + 0x84fc]
xor eax, eax
mov dword [esi], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [eax + 0x8504]
mov dword [esi], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [eax + 0x154]
xor eax, eax
mov dword [esi], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [eax + 0x8514]
xor eax, eax
mov dword [esi], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [eax + 0x8510]
mov dword [esi], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [eax + 0x8458]
xor eax, eax
mov dword [esi], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [eax + 0x8518]
xor eax, eax
mov dword [esi], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [eax + 0x428]
cmp ecx, 0xffffffff
je 0x464fd4
mov eax, dword [eax + 0x41c]
mov edx, dword [eax]
mov eax, dword [edx + ecx*4]
test eax, eax
je 0x464fd4
mov ecx, dword [eax + 0x7c]
mov dword [esi], ecx
mov cl, byte [eax + 0x84]
test cl, cl
je 0x464fb9
push eax
call fcn.0045db00
add esp, 4
test eax, eax
jne 0x465140
mov dword [esi], 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [eax + 0x7c]
push 2
lea edx, [esp + 0x13]
push 1
push edx
push eax
call dword [sym.imp.WSOCK32.dll_recv]
test eax, eax
jne 0x465140
mov dword [esi], 0xffffffff
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp edx, 0x40001b
jg 0x465121
je 0x46510d
add edx, 0xffcffffd
cmp edx, 0x10
ja case.0x465004.3145739
jmp dword [edx*4 + 0x465180]
mov edx, dword [eax + 0x360]
mov dword [ecx], edx
mov eax, dword [eax + 0x364]
mov dword [ecx + 4], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [eax + 0x378]
mov dword [ecx], edx
mov eax, dword [eax + 0x37c]
mov dword [ecx + 4], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [eax + 0x380]
mov dword [ecx], edx
mov eax, dword [eax + 0x384]
mov dword [ecx + 4], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [eax + 0x388]
mov dword [ecx], edx
mov eax, dword [eax + 0x38c]
mov dword [ecx + 4], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [eax + 0x390]
mov dword [ecx], edx
mov eax, dword [eax + 0x394]
mov dword [ecx + 4], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
fild qword [eax + 0x340]
xor eax, eax
fstp qword [ecx]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
fild qword [eax + 0x338]
xor eax, eax
fstp qword [ecx]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
fild qword [eax + 0x368]
xor eax, eax
fstp qword [ecx]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
fild qword [eax + 0x370]
xor eax, eax
fstp qword [ecx]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
fild qword [eax + 0x328]
xor eax, eax
fstp qword [ecx]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
fild qword [eax + 0x330]
xor eax, eax
fstp qword [ecx]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [eax + 0x398]
mov dword [ecx], edx
mov eax, dword [eax + 0x39c]
mov dword [ecx + 4], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
call fcn.0045daf0
add esp, 4
mov dword [ebx], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp edx, 0x40001c
je 0x465135
mov eax, 0x2b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
call fcn.00466090
add esp, 4
mov dword [ebx], eax
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret