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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
push 1
push 0x47d6c2
call fcn.00463d94
add esp, 8
mov ebx, eax
push 0x2000
push 2
call sym.SISCOM.EXE__hb_param
add esp, 8
mov dword [ebp - 4], eax
push 0x1a
push 3
call sym.SISCOM.EXE__hb_param
add esp, 8
mov dword [ebp - 8], eax
push 0x1a
push 4
call sym.SISCOM.EXE__hb_param
add esp, 8
xor edi, edi
xor esi, esi
test ebx, ebx
je 0x47e2bb
cmp dword [ebx], 0xf0123a42
je 0x47e2fa
push 4
call sym.SISCOM.EXE__hb_paramError
pop ecx
push eax
push 3
call sym.SISCOM.EXE__hb_paramError
pop ecx
push eax
push 2
call sym.SISCOM.EXE__hb_paramError
pop ecx
push eax
push 1
call sym.SISCOM.EXE__hb_paramError
pop ecx
push eax
push 4
push dword [ebp + 8]
push 0
push 0xbc4
push 1
call fcn.00461828
add esp, 0x24
jmp 0x47e4e9
test eax, eax
je 0x47e30a
push eax
call fcn.0048013b
pop ecx
mov dword [ebp - 0x18], eax
jmp 0x47e311
mov dword [ebp - 0x18], 0x50
cmp dword [ebp - 8], 0
je 0x47e325
push dword [ebp - 8]
call fcn.0048013b
pop ecx
mov dword [ebp - 0x1c], eax
jmp 0x47e32a
xor eax, eax
mov dword [ebp - 0x1c], eax
xor edx, edx
mov dword [ebx + 0xc], edx
mov dword [ebx + 8], 0x672faf
push dword [ebp - 0x18]
call sym.SISCOM.EXE__hb_xgrab
pop ecx
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x14], ecx
xor eax, eax
mov dword [ebp - 0x20], eax
xor edx, edx
mov dword [ebp - 0x24], edx
mov ecx, dword [ebp - 0x14]
dec ecx
cmp esi, ecx
jne 0x47e371
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x14], eax
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call fcn.00464ce1
add esp, 8
mov dword [ebp - 0x10], eax
push ebx
call fcn.0047d29c
pop ecx
test eax, eax
je 0x47e390
push 0
push 1
lea edx, [ebp - 9]
push edx
push dword [ebx + 4]
call sub.WSOCK32.DLL_recv
mov edi, eax
jmp 0x47e3c7
mov eax, dword [ebx + 0x24]
add dword [ebp - 0x20], eax
cmp dword [ebx + 0x2c], 0
je 0x47e3c2
push dword [ebx + 0x2c]
call fcn.00462e99
pop ecx
push 0x6895cc
call fcn.0047ff57
pop ecx
test eax, eax
je 0x47e3c2
cmp dword [ebx + 0x28], 0xffffffff
je 0x47e3f9
mov edx, dword [ebp - 0x20]
cmp edx, dword [ebx + 0x28]
jl 0x47e3f9
mov edi, 0xfffffffe
test edi, edi
jle 0x47e40c
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x24]
mov cl, byte [eax + edx]
cmp cl, byte [ebp - 9]
jne 0x47e3ea
inc dword [ebp - 0x24]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x24]
cmp byte [eax + edx], 0
je 0x47e40c
jmp 0x47e3ef
xor ecx, ecx
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x10]
mov dl, byte [ebp - 9]
mov byte [eax + esi], dl
inc esi
cmp dword [ebp - 0x1c], 0
je 0x47e352
cmp esi, dword [ebp - 0x1c]
jl 0x47e352
test edi, edi
jg 0x47e47c
cmp dword [ebp - 4], 0
je 0x47e422
push edi
push dword [ebp - 4]
call fcn.00480502
add esp, 8
test edi, edi
jne 0x47e436
mov dword [ebx + 0xc], 0xfffffffe
mov dword [ebx + 8], str.Connection_closed
jmp 0x47e466
cmp edi, 0xfffffffe
jne 0x47e44b
mov dword [ebx + 0xc], 0xffffffff
mov dword [ebx + 8], str.Timeout
jmp 0x47e466
call sub.WSOCK32.DLL_WSAGetLastError
mov dword [ebx + 0xc], eax
push dword [ebx + 0xc]
call fcn.004c2d52
pop ecx
mov dword [ebx + 8], eax
push 0
call sub.WSOCK32.DLL_WSASetLastError
push dword [ebp - 0x10]
call sym.SISCOM.EXE__hb_xfree
pop ecx
push 0x6895cc
call fcn.00481b7d
pop ecx
jmp 0x47e4e9
cmp dword [ebp - 0x1c], 0
je 0x47e487
cmp esi, dword [ebp - 0x1c]
jge 0x47e4b0
dec esi
mov dword [ebx + 0x20], esi
cmp dword [ebp - 4], 0
je 0x47e49d
push esi
push dword [ebp - 4]
call fcn.00480502
add esp, 8
push esi
push dword [ebp - 0x10]
push 0x6895cc
call fcn.00481fc0
add esp, 0xc
jmp 0x47e4e9
mov dword [ebx + 0xc], 0xfffffffd
mov dword [ebx + 8], str.Buffer_overrun
cmp dword [ebp - 4], 0
je 0x47e4d1
push 0xfffffffffffffffe
push dword [ebp - 4]
call fcn.00480502
add esp, 8
push dword [ebp - 0x10]
call sym.SISCOM.EXE__hb_xfree
pop ecx
push 0
push 0x6895cc
call fcn.00481e14
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret