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

Disassembly:
mov al, byte [esp + 4]
sub esp, 0x18
test al, al
push ebx
push ebp
push esi
mov esi, dword [esp + 0x2c]
push edi
mov edi, ecx
je 0x44439b
mov eax, dword [edi + 4]
dec eax
mov dword [edi + 4], eax
push eax
mov eax, dword [esi + 0x1c]
push eax
call fcn.00443f10
mov ecx, dword [esi + 0x28]
mov edx, dword [esi + 0x20]
add esp, 4
push eax
mov eax, dword [esi + 0x1c]
push ecx
push edx
push 3
push eax
push edi
call dword [0x5eca08]
mov ecx, dword [esi + 0x1c]
push ecx
call fcn.00444b90
mov edx, dword [esi + 0x20]
push edx
call fcn.00454095
push esi
mov dword [esi + 0x20], 0
call fcn.00454095
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 8
mov eax, dword [edi + 0x20]
xor ebp, ebp
cmp eax, ebp
je 0x44460e
mov eax, dword [esi + 0x28]
mov ebx, dword [esi + 0x30]
add ebx, eax
mov eax, dword [esi + 0x2c]
mov ecx, ebx
mov dword [esi + 0x30], ebx
cmp ecx, eax
jae 0x444475
mov dword [esi + 0x18], 2
mov edx, dword [edi + 0x20]
cmp edx, ebp
je 0x4443df
mov edx, dword [esi + 0x20]
add edx, ecx
sub eax, ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], eax
jmp 0x4443f0
mov eax, dword [esi + 0x20]
mov ecx, dword [0x5bb0e8]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
push ebp
lea edx, [esp + 0x30]
push esi
lea eax, [esp + 0x38]
push edx
mov edx, dword [esi + 0x1c]
push eax
lea ecx, [esp + 0x28]
push 1
push ecx
push edx
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], ebp
call dword [sym.imp.WS2_32.dll_WSARecv]
test eax, eax
je 0x4446eb
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
cmp eax, 0x271e
je 0x4446eb
cmp eax, 0x3e5
je 0x4446eb
mov eax, dword [edi + 4]
dec eax
mov dword [edi + 4], eax
push eax
mov eax, dword [esi + 0x1c]
push eax
call fcn.00443f10
mov ecx, dword [esi + 0x28]
mov edx, dword [esi + 0x20]
add esp, 4
push eax
mov eax, dword [esi + 0x1c]
push ecx
push edx
push 3
push eax
push edi
call dword [0x5eca08]
mov ecx, dword [esi + 0x1c]
push ecx
call fcn.00444b90
mov edx, dword [esi + 0x20]
push edx
jmp 0x4446da
mov edx, dword [esi + 0x20]
mov ebx, dword [edx]
cmp ebx, 0x3e80000
jbe 0x4444be
mov eax, dword [edi + 4]
dec eax
mov dword [edi + 4], eax
push eax
mov eax, dword [esi + 0x1c]
push eax
call fcn.00443f10
mov ecx, dword [esi + 0x28]
mov edx, dword [esi + 0x20]
add esp, 4
push eax
mov eax, dword [esi + 0x1c]
push ecx
push edx
push 3
push eax
push edi
call dword [0x5eca08]
mov ecx, dword [esi + 0x1c]
push ecx
call fcn.00444b90
mov edx, dword [esi + 0x20]
push edx
jmp 0x4446da
lea ebp, [ebx + 4]
cmp ecx, ebp
jae 0x4445ba
push edx
call fcn.00454095
push ebp
call fcn.0045406c
mov dword [esi + 0x20], eax
mov dword [esi + 0x2c], ebp
mov dword [esi + 0x30], 4
mov dword [eax], ebx
mov dword [esi + 0x18], 2
mov eax, dword [edi + 0x20]
xor ebx, ebx
add esp, 8
cmp eax, ebx
je 0x44450e
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x2c]
add ecx, eax
sub edx, eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], edx
jmp 0x44451f
mov eax, dword [esi + 0x20]
mov ecx, dword [0x5bb0e8]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
push ebx
lea edx, [esp + 0x30]
push esi
lea eax, [esp + 0x38]
push edx
mov edx, dword [esi + 0x1c]
push eax
lea ecx, [esp + 0x28]
push 1
push ecx
push edx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], ebx
call dword [sym.imp.WS2_32.dll_WSARecv]
test eax, eax
je 0x4446eb
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
cmp eax, 0x271e
je 0x4446eb
cmp eax, 0x3e5
je 0x4446eb
mov eax, dword [edi + 4]
dec eax
mov dword [edi + 4], eax
push eax
mov eax, dword [esi + 0x1c]
push eax
call fcn.00443f10
mov ecx, dword [esi + 0x28]
mov edx, dword [esi + 0x20]
add esp, 4
push eax
mov eax, dword [esi + 0x1c]
push ecx
push edx
push 3
push eax
push edi
call dword [0x5eca08]
mov ecx, dword [esi + 0x1c]
push ecx
call fcn.00444b90
mov edx, dword [esi + 0x20]
push edx
call fcn.00454095
push esi
mov dword [esi + 0x20], ebx
call fcn.00454095
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 8
add eax, 0xfffffffc
test eax, eax
jbe 0x4445ed
mov eax, dword [edi + 4]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call fcn.00443f10
mov edx, dword [esi + 0x2c]
add esp, 4
mov ecx, dword [esi + 0x1c]
sub edx, 4
push eax
mov eax, dword [esi + 0x20]
add eax, 4
push edx
push eax
push 2
push ecx
push edi
call dword [0x5eca08]
mov edx, dword [esi + 0x20]
push edx
call fcn.00454095
push 4
call fcn.0045406c
add esp, 8
mov dword [esi + 0x20], eax
mov dword [esi + 0x2c], 4
xor ebp, ebp
jmp 0x444634
mov eax, dword [edi + 4]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call fcn.00443f10
mov edx, dword [esi + 0x28]
mov ecx, dword [esi + 0x1c]
add esp, 4
push eax
mov eax, dword [esi + 0x20]
push edx
push eax
push 2
push ecx
push edi
call dword [0x5eca08]
mov dword [esi + 0x30], ebp
mov dword [esi + 0x18], 2
cmp dword [edi + 0x20], ebp
je 0x444653
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], eax
jmp 0x444664
mov ecx, dword [esi + 0x20]
mov edx, dword [0x5bb0e8]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], edx
push ebp
lea eax, [esp + 0x14]
push esi
lea ecx, [esp + 0x1c]
push eax
mov eax, dword [esi + 0x1c]
push ecx
lea edx, [esp + 0x30]
push 1
push edx
push eax
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebp
call dword [sym.imp.WS2_32.dll_WSARecv]
test eax, eax
je 0x4446eb
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
cmp eax, 0x271e
je 0x4446eb
cmp eax, 0x3e5
je 0x4446eb
mov edx, dword [edi + 4]
dec edx
mov dword [edi + 4], edx
mov ecx, dword [esi + 0x1c]
mov eax, edx
push eax
push ecx
call fcn.00443f10
mov edx, dword [esi + 0x28]
mov ecx, dword [esi + 0x1c]
add esp, 4
push eax
mov eax, dword [esi + 0x20]
push edx
push eax
push 3
push ecx
push edi
call dword [0x5eca08]
mov edx, dword [esi + 0x1c]
push edx
call fcn.00444b90
mov eax, dword [esi + 0x20]
push eax
call fcn.00454095
push esi
mov dword [esi + 0x20], ebp
call fcn.00454095
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 8