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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4d08bb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 0xc]
call fcn.004cfce4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
mov esi, dword [ebx + 0x34]
mov dword [ebp - 0x14], esi
mov eax, esi
add eax, dword [ebp - 0x10]
call fcn.00407278
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ebx + 0x34]
test eax, eax
jbe 0x4d0674
mov ecx, eax
mov edx, dword [ebp - 4]
mov edx, dword [edx]
mov eax, dword [ebx + 0x30]
call fcn.00407790
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x34]
add dword [ebp - 0xc], eax
mov edi, eax
xor eax, eax
mov dword [ebx + 0x34], eax
mov eax, dword [ebx + 0x30]
call fcn.00407294
xor eax, eax
mov dword [ebx + 0x30], eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4d06b2
mov eax, dword [ebp - 0x20]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jle 0x4d06f0
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x4d06cf
mov eax, dword [ebp - 0x24]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 8]
call fcn.0040a99c
push eax
mov eax, dword [ebp - 0x24]
push eax
mov edx, dword [ebp - 4]
mov edx, dword [edx]
mov ecx, edi
mov eax, dword [0x4be8c0]
call fcn.004c1dbc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4d0837
cmp dword [ebp + 0xc], 0
jle 0x4d0709
cmp edi, dword [ebp + 0xc]
jge 0x4d0837
mov edx, dword [ebp + 8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test al, al
je 0x4d0837
cmp dword [ebp + 0xc], 0
jle 0x4d0749
mov eax, dword [ebp + 0xc]
sub eax, edi
cdq
push edx
push eax
mov eax, dword [ebp - 0x10]
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x4d073d
cmp eax, dword [esp]
pop edx
pop eax
jbe 0x4d0749
jmp 0x4d0741
pop edx
pop eax
jle 0x4d0749
mov eax, dword [ebp + 0xc]
sub eax, edi
mov dword [ebp - 0x10], eax
push 0
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebx + 0x28]
push eax
call sub.ws2_32.dll_recv
mov esi, eax
cmp esi, 0xffffffff
jne 0x4d07bf
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebx + 0x2c]
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0x11
movzx eax, word [ebx + 0x10]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0
lea edx, [ebp - 0x38]
mov ecx, 1
mov eax, 0x4d08dc
call fcn.0042279c
mov edx, dword [ebp - 0x28]
mov ecx, 0x4d091c
mov eax, 7
call fcn.004bbb28
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x10]
xor edi, edi
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00407294
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax], edx
jmp 0x4d08a3
mov eax, esi
cdq
push edx
push eax
mov eax, dword [ebp - 0x10]
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x4d07d2
cmp eax, dword [esp]
pop edx
pop eax
jne 0x4d0800
mov eax, dword [ebp - 0x1c]
add dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
add edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.004072ac
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x14]
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
jmp 0x4d0827
test esi, esi
jle 0x4d0827
mov eax, esi
cdq
push edx
push eax
mov eax, dword [ebp - 0x10]
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x4d081d
cmp eax, dword [esp]
pop edx
pop eax
jbe 0x4d0827
jmp 0x4d0821
pop edx
pop eax
jle 0x4d0827
add dword [ebp - 0xc], esi
sub dword [ebp - 0x10], esi
add edi, esi
mov eax, esi
cdq
add dword [ebx + 0x40], eax
adc dword [ebx + 0x44], edx
jmp 0x4d069b
cmp dword [ebp - 0x18], 0
jne 0x4d0848
cmp dword [ebp + 0xc], 0
jle 0x4d08a3
cmp edi, dword [ebp + 0xc]
jle 0x4d08a3
cmp dword [ebp + 0xc], 0
jle 0x4d085d
cmp edi, dword [ebp + 0xc]
jle 0x4d085d
mov eax, edi
sub eax, dword [ebp + 0xc]
mov dword [ebx + 0x34], eax
jmp 0x4d087e
cmp dword [ebp - 0x18], 0
je 0x4d087e
mov eax, dword [ebp - 8]
test eax, eax
je 0x4d086f
sub eax, 4
mov eax, dword [eax]
add eax, dword [ebp - 0x18]
mov edx, dword [ebp - 4]
sub eax, dword [edx]
mov edx, edi
sub edx, eax
mov dword [ebx + 0x34], edx
mov esi, dword [ebx + 0x34]
test esi, esi
jbe 0x4d08a3
sub edi, esi
mov eax, esi
call fcn.00407278
mov dword [ebx + 0x30], eax
mov ecx, dword [ebx + 0x34]
mov edx, dword [ebx + 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
add eax, edi
call fcn.00407790
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d08c2
lea eax, [ebp - 0x28]
call fcn.0040a088
pop eax
jmp eax