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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5891de
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x5fe480]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
push edi
mov eax, dword [0x5fe480]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov esi, ecx
mov ecx, dword [esi - 0x50]
xor ebx, ebx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], eax
cmp ecx, ebx
jne 0x4d0aa4
or eax, 0xffffffff
jmp 0x4d0d10
call fcn.004ca129
test al, al
jne 0x4d0bd0
mov eax, dword [esi - 0x50]
cmp eax, ebx
je 0x4d0d0e
push ebx
push eax
call fcn.004c9b9e
pop ecx
pop ecx
cmp dword [esi + 0x3c], ebx
jne 0x4d0af5
push 0x70
call fcn.00542081
pop ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x58], ebx
cmp eax, ebx
je 0x4d0aeb
push ebx
push ebx
xor ecx, ecx
push eax
inc ecx
call fcn.004d1a8c
jmp 0x4d0aed
xor eax, eax
or dword [esp + 0x58], 0xffffffff
mov dword [esi + 0x3c], eax
cmp dword [esi + 0x34], 0x10
jb 0x4d0b00
mov eax, dword [esi + 0x20]
jmp 0x4d0b03
lea eax, [esi + 0x20]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.0046424a
pop ecx
pop ecx
push 0xa
mov dword [esp + 0x5c], 1
mov ecx, dword [esi - 0x50]
mov dword [esp + 0x14], ebx
pop ebx
call fcn.004ca144
call fcn.004ca610
mov ebx, eax
jmp 0x4d0b57
mov eax, dword [esp + 0x10]
inc dword [esp + 0x10]
cmp eax, ebx
jge 0x4d0b60
cmp dword [esi + 0x34], 0x10
jb 0x4d0b47
mov edx, dword [esi + 0x20]
jmp 0x4d0b4a
lea edx, [esi + 0x20]
movzx eax, word [esi + 0x1c]
mov ecx, dword [esi + 0x3c]
push eax
call fcn.004d1d3a
mov eax, dword [esi + 0x3c]
cmp byte [eax + 0x1d], 0
je 0x4d0b30
mov eax, dword [esi + 0x3c]
cmp byte [eax + 0x1d], 0
jne 0x4d0b98
cmp dword [esp + 0x40], 8
mov eax, dword [esp + 0x2c]
jae 0x4d0b78
lea eax, [esp + 0x2c]
push eax
push 0xa
push dword [esi - 0x50]
call fcn.004c9b9e
add esp, 0xc
push 1
xor edi, edi
lea esi, [esp + 0x30]
call fcn.00401d98
jmp 0x4d0d0e
lea eax, [esi - 0x8c]
call fcn.004d0a0c
or dword [esp + 0x58], 0xffffffff
push 1
xor edi, edi
lea esi, [esp + 0x30]
mov bl, al
call fcn.00401d98
test bl, bl
je 0x4d0d0e
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x3c]
mov esi, dword [esp + 0x18]
mov dword [esp + 0x10], eax
jmp 0x4d0bdf
mov edi, dword [edi + 4]
cmp edi, ebx
je 0x4d0d0e
mov dword [esp + 0x10], edi
mov ecx, dword [esi - 0x50]
push 8
pop ebx
call fcn.004ca144
call fcn.004ca610
mov ecx, dword [esi - 0x50]
push 0xb
pop ebx
mov dword [esp + 0x18], eax
call fcn.004ca144
call fcn.004ca610
mov ecx, dword [esi - 0x50]
push 4
mov edi, eax
pop ebx
mov dword [esp + 0x20], edi
call fcn.004ca144
call fcn.004ca610
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
call fcn.004c95fa
inc edi
xor ebx, ebx
mov dword [esp + 0x28], edi
mov byte [esp + 0x17], bl
lea eax, [esp + 0x17]
push eax
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
call fcn.00449354
push dword [esp + 0x24]
mov edi, dword [esp + 0x14]
push ebx
mov dword [esp + 0x60], 2
call fcn.004d1f00
cmp eax, ebx
jge 0x4d0c70
or edi, 0xffffffff
jmp 0x4d0c95
jne 0x4d0c76
xor edi, edi
jmp 0x4d0c95
mov eax, dword [esp + 0x10]
push ebx
push dword [esp + 0x24]
push dword [esp + 0x34]
push dword [eax + 0x64]
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, ebx
jne 0x4d0c93
or eax, 0xffffffff
mov edi, eax
mov eax, dword [esp + 0x1c]
push dword [esp + 0x2c]
mov ecx, dword [eax]
call fcn.00409e08
or dword [esp + 0x58], 0xffffffff
cmp dword [esp + 0x2c], ebx
je 0x4d0cb9
push dword [esp + 0x2c]
call fcn.00542025
pop ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
cmp edi, ebx
je 0x4d0cce
cmp edi, 0xffffffff
jne 0x4d0ce1
dec dword [esp + 0x18]
cmp dword [esp + 0x18], ebx
jg 0x4d0c33
cmp edi, 0xffffffff
je 0x4d0cf5
cmp edi, ebx
jne 0x4d0cf1
mov ecx, dword [esi - 0x50]
call fcn.004ca129
test al, al
jne 0x4d0cf5
mov eax, edi
jmp 0x4d0d10
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push str.Sock::RecvTm
push eax
push 0x1b
push dword [esi - 0x50]
call fcn.004c9b9e
add esp, 0x10
xor eax, eax
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.005413de
mov esp, ebp
pop ebp
ret 8