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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x482756
mov eax, dword fs:[0]
push eax
sub esp, 0xcd4
mov eax, dword [0x4a7ea0]
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 0x449f7e
mov eax, ecx
cmp byte [0x4ab080], 0
mov ecx, 0x100000
jne 0x449d5c
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 0x449f35
push dword [esi + 0x104]
lea eax, [ebp - 0x45c]
push 0x4ab080
push str._s_d.sok
push eax
call fcn.00452c8a
push dword [esi + 0x114]
lea eax, [ebp - 0xc2c]
push 0x4ab080
push str._s_d.sok
push eax
call fcn.00452c8a
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.00420640
mov edx, dword [esi + 7]
mov ecx, eax
sub ecx, edx
mov dword [ebp - 0xce0], eax
cmp dword [ebp - 0xcd4], ecx
jg 0x449e2b
mov eax, edx
mov ecx, edi
push 0
cdq
push edx
push eax
call fcn.00420900
push dword [ebp - 0xcd4]
mov eax, dword [ebp - 0xcd0]
mov ecx, edi
add eax, dword [ebp - 0xcd8]
push eax
call fcn.00420890
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 0x449e2b
push 0
mov ecx, edi
call fcn.00420950
mov dword [esi + 7], 0
test ebx, ebx
jne 0x449f23
lea eax, [ebp - 0x45c]
push eax
lea ecx, [ebp - 0xc7c]
call fcn.00425970
lea eax, [ebp - 0xc7c]
mov dword [ebp - 4], ebx
push eax
call fcn.004205b0
add esp, 4
mov dword [ebp - 4], 0xffffffff
test eax, eax
lea ecx, [ebp - 0xc7c]
sete bl
call fcn.00425a30
test bl, bl
jne 0x449f61
lea eax, [ebp - 0xc2c]
push eax
lea ecx, [ebp - 0xccc]
call fcn.00425970
lea eax, [ebp - 0xccc]
mov dword [ebp - 4], 1
push eax
call fcn.004205b0
add esp, 4
mov dword [ebp - 4], 0xffffffff
test eax, eax
lea ecx, [ebp - 0xccc]
sete bl
call fcn.00425a30
test bl, bl
jne 0x449f61
push dword [esi + 0x114]
lea eax, [ebp - 0x74]
push str._d.rcv
push eax
call fcn.00452c8a
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x844]
push eax
call fcn.00426fe0
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 0x449daa
push dword [esi + 0x108]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov edi, dword [ebp - 0xcd0]
test ebx, ebx
je 0x449f6d
cmp dword [esi + 0x136], 1
je 0x449f6d
cmp ebx, 0xffffffff
je 0x449f72
mov eax, dword [ebp + 0xc]
add edi, ebx
mov dword [ebp - 0xcd0], edi
cmp edi, eax
jge 0x449f7c
mov edx, dword [ebp - 0xcd8]
jmp 0x449d2e
push dword [esi + 0x108]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ecx, dword [ebp + 0xc]
jmp 0x449f7e
call sub.WSOCK32.dll_WSAGetLastError
mov ecx, dword [ebp + 0xc]
jmp 0x449f7e
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.004520a4
mov esp, ebp
pop ebp
ret 8