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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b8cd6
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x630490]
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 edi, ecx
cmp byte [edi + 0x61], 0
jne 0x44a7ac
lea eax, [edi + 0xb4]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0xf4]
mov byte [ebp - 0x59], 1
mov byte [ebp - 0x5a], 0
test eax, eax
jg 0x44a322
cmp dword [edi + 0x118], 0
je 0x44a326
mov byte [ebp - 0x5a], 1
xor esi, esi
mov dword [ebp - 0x60], esi
test eax, eax
jle 0x44a38c
nop
push 0
push dword [edi + 0xf4]
push dword [edi + 0x100]
push dword [edi + 0x30]
call dword [sym.imp.WS2_32.dll_send]
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
test esi, esi
jle 0x44a3ff
sub dword [edi + 0xf4], esi
mov eax, dword [edi + 0xf4]
add dword [ebp - 0x60], esi
test eax, eax
jle 0x44a380
mov ecx, dword [edi + 0x100]
push eax
lea eax, [ecx + esi]
push eax
push ecx
call fcn.00577540
add esp, 0xc
cmp dword [edi + 0xf4], 0
jg 0x44a330
mov esi, dword [ebp - 0x60]
cmp dword [edi + 0x118], 0
je 0x44a77d
lea ecx, [ebp - 0xa8]
xor ebx, ebx
push ecx
lea ecx, [edi + 0x108]
mov dword [ebp - 0x68], ebx
call fcn.0041ff80
mov ecx, dword [eax]
test ecx, ecx
je 0x44a3c1
mov ecx, dword [ecx]
test ecx, ecx
je 0x44a3c1
mov ebx, dword [ecx]
mov dword [ebp - 0x68], ebx
mov eax, dword [eax + 8]
lea ecx, [edi + 0x108]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0xa8]
push eax
call fcn.0041ffa0
mov edx, dword [ebp - 0x64]
cmp edx, dword [eax + 8]
setne al
test al, al
je 0x44a77d
lea ebx, [ebx]
test ebx, ebx
jne 0x44a546
xor eax, eax
jmp 0x44a548
je 0x44a416
cmp esi, 0xffffffff
jne 0x44a77a
cmp ebx, 0x2733
je 0x44a77a
push 0
push 0x6016f5
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00404be0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x84]
mov edx, ebx
mov dword [ebp - 0x34], 3
mov dword [ebp - 0x30], ebx
mov byte [ebp - 0x2c], 1
call fcn.004057c0
push eax
mov edx, str.send_error:
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x9c]
call fcn.00405a50
mov esi, eax
add esp, 4
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x44a4b8
cmp dword [ebp - 0x14], 0x10
jb 0x44a49d
push dword [ebp - 0x28]
call fcn.0044f461
add esp, 4
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.004045a0
cmp dword [ebp - 0x88], 0x10
jb 0x44a4cf
push dword [ebp - 0x9c]
call fcn.0044f461
add esp, 4
mov byte [ebp - 4], 0
cmp dword [ebp - 0x70], 0x10
mov dword [ebp - 0x88], 0xf
mov dword [ebp - 0x8c], 0
mov byte [ebp - 0x9c], 0
jb 0x44a502
push dword [ebp - 0x84]
call fcn.0044f461
add esp, 4
cmp byte [edi + 0x61], 0
jne 0x44a525
cmp dword [edi + 0x14], 0
je 0x44a525
sub esp, 0x24
lea eax, [ebp - 0x34]
mov ecx, esp
push eax
call fcn.004066c0
mov eax, dword [edi + 0x14]
push edi
call eax
add esp, 0x28
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], 0x10
jb 0x44a77a
push dword [ebp - 0x28]
call fcn.0044f461
add esp, 4
jmp 0x44a77a
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, edx
mov esi, dword [eax + ecx*4]
cmp dword [esi + 8], 0
jle 0x44a6de
mov edi, edi
mov eax, dword [esi + 4]
add eax, dword [esi]
push 0
push dword [esi + 8]
push eax
push dword [edi + 0x30]
call dword [sym.imp.WS2_32.dll_send]
mov ebx, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x6c], eax
test ebx, ebx
jle 0x44a597
add dword [esi + 4], ebx
sub dword [esi + 8], ebx
add dword [ebp - 0x60], ebx
cmp dword [esi + 8], 0
jg 0x44a560
jmp 0x44a6d4
je 0x44a5ae
cmp ebx, 0xffffffff
jne 0x44a5a5
cmp eax, 0x2733
jne 0x44a5ae
mov byte [ebp - 0x59], 0
jmp 0x44a6d4
push 0
push 0x6016f5
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov byte [ebp - 0x50], 0
mov dword [ebp - 0x38], 0xf
mov dword [ebp - 0x3c], 0
mov byte [ebp - 0x4c], 0
call fcn.00404be0
mov edx, dword [ebp - 0x6c]
lea ecx, [ebp - 0xc0]
mov dword [ebp - 4], 2
mov dword [ebp - 0x58], 3
mov dword [ebp - 0x54], edx
mov byte [ebp - 0x50], 1
call fcn.004057c0
push eax
mov edx, 0x605c24
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x84]
call fcn.00405a50
mov ebx, eax
add esp, 4
lea eax, [ebp - 0x4c]
cmp eax, ebx
je 0x44a651
cmp dword [ebp - 0x38], 0x10
jb 0x44a636
push dword [ebp - 0x4c]
call fcn.0044f461
add esp, 4
push ebx
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x38], 0xf
mov dword [ebp - 0x3c], 0
mov byte [ebp - 0x4c], 0
call fcn.004045a0
cmp dword [ebp - 0x70], 0x10
jb 0x44a665
push dword [ebp - 0x84]
call fcn.0044f461
add esp, 4
mov byte [ebp - 4], 2
cmp dword [ebp - 0xac], 0x10
mov dword [ebp - 0x70], 0xf
mov dword [ebp - 0x74], 0
mov byte [ebp - 0x84], 0
jb 0x44a695
push dword [ebp - 0xc0]
call fcn.0044f461
add esp, 4
cmp byte [edi + 0x61], 0
jne 0x44a6b8
cmp dword [edi + 0x14], 0
je 0x44a6b8
sub esp, 0x24
lea eax, [ebp - 0x58]
mov ecx, esp
push eax
call fcn.004066c0
mov eax, dword [edi + 0x14]
push edi
call eax
add esp, 0x28
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x38], 0x10
mov byte [ebp - 0x59], 0
jb 0x44a6d4
push dword [ebp - 0x4c]
call fcn.0044f461
add esp, 4
mov edx, dword [ebp - 0x64]
mov ebx, dword [ebp - 0x68]
cmp dword [esi + 8], 0
jne 0x44a754
test ebx, ebx
jne 0x44a6e8
xor eax, eax
jmp 0x44a6ea
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, edx
mov eax, dword [eax + ecx*4]
push dword [eax]
call fcn.0044f461
sub esp, 8
mov ecx, esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
test ebx, ebx
je 0x44a71d
mov eax, dword [ebx]
test eax, eax
je 0x44a71d
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp - 0x64]
lea esi, [edi + 0x108]
mov dword [ecx + 8], eax
lea eax, [ebp - 0x90]
push eax
mov ecx, esi
call fcn.0044b120
mov ecx, dword [eax]
cmp ebx, ecx
je 0x44a74c
test ecx, ecx
je 0x44a74c
mov ecx, dword [ecx]
test ecx, ecx
je 0x44a74c
mov ebx, dword [ecx]
mov dword [ebp - 0x68], ebx
mov eax, dword [eax + 8]
mov dword [ebp - 0x64], eax
jmp 0x44a75a
lea esi, [edi + 0x108]
cmp byte [ebp - 0x59], 0
je 0x44a77a
lea eax, [ebp - 0xa8]
mov ecx, esi
push eax
call fcn.0041ffa0
mov edx, dword [ebp - 0x64]
cmp edx, dword [eax + 8]
jne 0x44a3f0
mov esi, dword [ebp - 0x60]
lea eax, [edi + 0xb4]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [ebp - 0x5a], 0
je 0x44a7ac
cmp dword [edi + 0xf4], 0
jne 0x44a7ac
cmp dword [edi + 0x118], 0
jne 0x44a7ac
mov eax, dword [edi + 0xc]
push esi
push edi
call eax
add esp, 8
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.00577343
mov esp, ebp
pop ebp
ret