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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x528f46
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x572480]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
push edi
mov eax, dword [0x572480]
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 + 0x14], esi
mov dword [esp + 0x18], eax
cmp ecx, ebx
jne 0x47a9a3
or eax, 0xffffffff
jmp 0x47abfe
call fcn.0047406b
test al, al
jne 0x47aacf
mov eax, dword [esi - 0x50]
cmp eax, ebx
je 0x47abfc
push ebx
push eax
call fcn.00473ae0
pop ecx
pop ecx
cmp dword [esi + 0x3c], ebx
jne 0x47a9f4
push 0x70
call fcn.004e7983
pop ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x58], ebx
cmp eax, ebx
je 0x47a9ea
push ebx
push ebx
xor ecx, ecx
push eax
inc ecx
call fcn.0047b975
jmp 0x47a9ec
xor eax, eax
or dword [esp + 0x58], 0xffffffff
mov dword [esi + 0x3c], eax
cmp dword [esi + 0x34], 0x10
jb 0x47a9ff
mov eax, dword [esi + 0x20]
jmp 0x47aa02
lea eax, [esi + 0x20]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.00424615
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.00474086
call fcn.0047454b
mov ebx, eax
jmp 0x47aa56
mov eax, dword [esp + 0x10]
inc dword [esp + 0x10]
cmp eax, ebx
jge 0x47aa5f
cmp dword [esi + 0x34], 0x10
jb 0x47aa46
mov edx, dword [esi + 0x20]
jmp 0x47aa49
lea edx, [esi + 0x20]
movzx eax, word [esi + 0x1c]
mov ecx, dword [esi + 0x3c]
push eax
call fcn.0047bc23
mov eax, dword [esi + 0x3c]
cmp byte [eax + 0x1d], 0
je 0x47aa2f
mov eax, dword [esi + 0x3c]
cmp byte [eax + 0x1d], 0
jne 0x47aa97
cmp dword [esp + 0x40], 8
mov eax, dword [esp + 0x2c]
jae 0x47aa77
lea eax, [esp + 0x2c]
push eax
push 0xa
push dword [esi - 0x50]
call fcn.00473ae0
add esp, 0xc
push 1
xor edi, edi
lea esi, [esp + 0x30]
call fcn.00401501
jmp 0x47abfc
lea eax, [esi - 0x8c]
call fcn.0047a90b
or dword [esp + 0x58], 0xffffffff
push 1
xor edi, edi
lea esi, [esp + 0x30]
mov bl, al
call fcn.00401501
test bl, bl
je 0x47abfc
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x3c]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x20], eax
jmp 0x47aade
mov edi, dword [edi + 4]
cmp edi, ebx
je 0x47abfc
mov dword [esp + 0x20], edi
mov ecx, dword [esi - 0x50]
push 8
pop ebx
call fcn.00474086
call fcn.0047454b
mov ecx, dword [esi - 0x50]
push 0xb
pop ebx
mov dword [esp + 0x10], eax
call fcn.00474086
call fcn.0047454b
mov ecx, dword [esi - 0x50]
push 4
mov edi, eax
pop ebx
mov dword [esp + 0x1c], edi
call fcn.00474086
call fcn.0047454b
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
call fcn.0047353c
inc edi
mov dword [esp + 0x28], edi
push dword [esp + 0x28]
lea esi, [esp + 0x30]
call fcn.0042e775
push dword [esp + 0x24]
mov edi, dword [esp + 0x24]
xor ebx, ebx
push ebx
mov dword [esp + 0x60], 2
call fcn.0047bde9
cmp eax, ebx
jge 0x47ab5a
or esi, 0xffffffff
jmp 0x47ab7b
jne 0x47ab60
xor esi, esi
jmp 0x47ab7b
push ebx
push dword [esp + 0x20]
push dword [esp + 0x34]
push dword [edi + 0x64]
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, ebx
jne 0x47ab79
or eax, 0xffffffff
mov esi, eax
mov eax, dword [esp + 0x18]
push dword [esp + 0x2c]
mov ecx, dword [eax]
call fcn.00403e0d
or dword [esp + 0x58], 0xffffffff
cmp dword [esp + 0x2c], ebx
je 0x47ab9f
push dword [esp + 0x2c]
call fcn.004e7927
pop ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
cmp esi, ebx
je 0x47abb4
cmp esi, 0xffffffff
jne 0x47abc7
dec dword [esp + 0x10]
cmp dword [esp + 0x10], ebx
jg 0x47ab2c
cmp esi, 0xffffffff
je 0x47abdf
cmp esi, ebx
jne 0x47abdb
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 0x50]
call fcn.0047406b
test al, al
jne 0x47abdf
mov eax, esi
jmp 0x47abfe
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push str.Sock::RecvTm
push eax
mov eax, dword [esp + 0x1c]
push 0x1b
push dword [eax - 0x50]
call fcn.00473ae0
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.004e72ee
mov esp, ebp
pop ebp
ret 8