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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4833f6
mov eax, dword fs:[0]
push eax
sub esp, 0xcd4
mov eax, dword [0x4a9d30]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [ebp + 0xc]
xor edi, edi
mov edx, dword [ebp + 8]
mov dword [ebp - 0xcd8], edx
mov dword [ebp - 0xcd0], edi
test ecx, ecx
jle 0x448d9e
mov eax, ecx
cmp byte [0x4ace90], 0
mov ecx, 0x100000
jne 0x448b7c
sub eax, edi
cmp eax, ecx
push 0
cmovg eax, ecx
push eax
lea eax, [edx + edi]
push eax
push dword [esi + 0x114]
call sub.WSOCK32.dll_recv
mov ebx, eax
jmp 0x448d55
push dword [esi + 0x104]
lea eax, [ebp - 0x45c]
push 0x4ace90
push str._s_d.sok
push eax
call fcn.00453b2a
push dword [esi + 0x114]
lea eax, [ebp - 0xc2c]
push 0x4ace90
push str._s_d.sok
push eax
call fcn.00453b2a
mov eax, dword [ebp + 0xc]
add esp, 0x20
sub eax, edi
xor ebx, ebx
mov dword [ebp - 0xcd4], eax
mov dword [ebp - 0xcdc], ebx
push 0xffffffffffffffff
push dword [esi + 0x108]
lea edi, [esi + 0x5e]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, edi
call fcn.0041f4f0
mov edx, dword [esi + 7]
mov ecx, eax
sub ecx, edx
mov dword [ebp - 0xce0], eax
cmp dword [ebp - 0xcd4], ecx
jg 0x448c4b
mov eax, edx
mov ecx, edi
push 0
cdq
push edx
push eax
call fcn.0041f7d0
push dword [ebp - 0xcd4]
mov eax, dword [ebp - 0xcd0]
mov ecx, edi
add eax, dword [ebp - 0xcd8]
push eax
call fcn.0041f760
mov ebx, eax
mov eax, dword [ebp - 0xcd4]
add dword [esi + 7], eax
mov eax, dword [ebp - 0xce0]
mov dword [ebp - 0xcdc], ebx
cmp dword [esi + 7], eax
jne 0x448c4b
push 0
mov ecx, edi
call fcn.0041f820
mov dword [esi + 7], 0
test ebx, ebx
jne 0x448d43
lea eax, [ebp - 0x45c]
push eax
lea ecx, [ebp - 0xc7c]
call fcn.004248f0
lea eax, [ebp - 0xc7c]
mov dword [ebp - 4], ebx
push eax
call fcn.0041f460
add esp, 4
mov dword [ebp - 4], 0xffffffff
test eax, eax
lea ecx, [ebp - 0xc7c]
sete bl
call fcn.004249b0
test bl, bl
jne 0x448d81
lea eax, [ebp - 0xc2c]
push eax
lea ecx, [ebp - 0xccc]
call fcn.004248f0
lea eax, [ebp - 0xccc]
mov dword [ebp - 4], 1
push eax
call fcn.0041f460
add esp, 4
mov dword [ebp - 4], 0xffffffff
test eax, eax
lea ecx, [ebp - 0xccc]
sete bl
call fcn.004249b0
test bl, bl
jne 0x448d81
push dword [esi + 0x114]
lea eax, [ebp - 0x74]
push str._d.rcv
push eax
call fcn.00453b2a
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x844]
push eax
call fcn.00425ee0
add esp, 0x14
lea eax, [ebp - 0x844]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push dword [esi + 0x108]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push 0x1388
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 0xcdc]
jmp 0x448bca
push dword [esi + 0x108]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov edi, dword [ebp - 0xcd0]
test ebx, ebx
je 0x448d8d
cmp dword [esi + 0x136], 1
je 0x448d8d
cmp ebx, 0xffffffff
je 0x448d92
mov eax, dword [ebp + 0xc]
add edi, ebx
mov dword [ebp - 0xcd0], edi
cmp edi, eax
jge 0x448d9c
mov edx, dword [ebp - 0xcd8]
jmp 0x448b4e
push dword [esi + 0x108]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ecx, dword [ebp + 0xc]
jmp 0x448d9e
call sub.WSOCK32.dll_WSAGetLastError
mov ecx, dword [ebp + 0xc]
jmp 0x448d9e
mov ecx, eax
xor eax, eax
cmp dword [ebp - 0xcd0], ecx
sete al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00452f44
mov esp, ebp
pop ebp
ret 8