Function at 0x449fd0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4827ac
mov eax, dword fs:[0]
push eax
sub esp, 0x8e4
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 ebx, ecx
mov dword [ebp - 0x8f0], ebx
mov esi, dword [ebp + 0xc]
xor edi, edi
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x8ec], ecx
test esi, esi
jle 0x44a25b
lea esp, [esp]
cmp byte [0x4ab080], 0
jne 0x44a046
push 0
mov eax, esi
sub eax, edi
push eax
lea eax, [ecx + edi]
push eax
push dword [ebx + 0x114]
call sub.WSOCK32.dll_send
mov ebx, eax
jmp 0x44a0e0
push 0xffffffffffffffff
push dword [ebx + 0x10c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 2
push 0
push 0
lea ecx, [ebx + 0xb1]
call fcn.00420900
mov eax, dword [ebp + 0xc]
lea ecx, [ebx + 0xb1]
sub eax, edi
push eax
mov eax, dword [ebp - 0x8ec]
add eax, edi
push eax
call fcn.00420a10
mov esi, dword [ebp - 0x8f0]
mov ebx, eax
push dword [esi + 0x10c]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [esi + 0x104]
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]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp + 0xc]
test ebx, ebx
je 0x44a25b
mov eax, dword [ebp - 0x8f0]
cmp dword [eax + 0x136], 1
je 0x44a25b
cmp ebx, 0xffffffff
je 0x44a117
mov ecx, dword [ebp - 0x8ec]
add edi, ebx
mov ebx, eax
cmp edi, esi
jl 0x44a020
jmp 0x44a25b
call sub.WSOCK32.dll_WSAGetLastError
mov ecx, dword [0x4a6734]
mov dword [ebp - 0x8ec], eax
cmp dword [ecx + 0x96], 0
jne 0x44a25b
push 0x4ab418
lea eax, [ebp - 0x45c]
push str._s_senderr.log
push eax
call fcn.00452c8a
add esp, 0xc
lea ecx, [ebp - 0x8e8]
call fcn.004203d0
lea eax, [ebp - 0x45c]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x894]
call fcn.00425970
lea eax, [ebp - 0x894]
mov byte [ebp - 4], 1
push eax
call fcn.004205b0
add esp, 4
mov byte [ebp - 4], 0
test eax, eax
lea ecx, [ebp - 0x894]
sete bl
call fcn.00425a30
lea eax, [ebp - 0x45c]
lea ecx, [ebp - 0x894]
push eax
call fcn.00425970
test bl, bl
je 0x44a1c7
lea eax, [ebp - 0x894]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x8e8]
call fcn.00420560
jmp 0x44a1dd
lea eax, [ebp - 0x894]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x8e8]
call fcn.00420730
lea ecx, [ebp - 0x894]
mov byte [ebp - 4], 0
call fcn.00425a30
push 2
push 0
push 0
lea ecx, [ebp - 0x8e8]
call fcn.00420900
push esi
push edi
push dword [ebp - 0x8ec]
lea eax, [ebp - 0x45c]
push str.Winsock_Send_Error_d_totalsent_d_datasize_d_r_n
push eax
call fcn.00452c8a
lea ecx, [ebp - 0x45c]
add esp, 0x14
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44a222
sub ecx, edx
lea eax, [ebp - 0x45c]
push ecx
push eax
lea ecx, [ebp - 0x8e8]
call fcn.00420a10
lea ecx, [ebp - 0x8e8]
call fcn.00420450
lea ecx, [ebp - 0x8e8]
mov dword [ebp - 4], 0xffffffff
call fcn.004203f0
xor eax, eax
cmp edi, esi
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