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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007d0c3
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x10096748]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x48], ecx
mov eax, dword [ebp - 0x48]
movzx ecx, byte [eax + 0x2d]
test ecx, ecx
je 0x1004443e
jmp 0x100445f4
mov edx, dword [ebp - 0x48]
add edx, 0x4c
push edx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, 2
mov word [ebp - 0x20], ax
movzx ecx, word [ebp + 0x14]
push ecx
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x1e], ax
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [ebp - 0x1c], eax
push 0x10
lea eax, [ebp - 0x20]
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 0x28]
push ecx
call dword [sym.imp.WS2_32.dll_sendto]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], 0
cmp dword [ebp - 0x50], 0
jge 0x1004450f
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0x2733
jne 0x1004450f
mov dword [ebp - 0x54], 0
jmp 0x100444c1
mov edx, dword [ebp - 0x54]
add edx, 1
mov dword [ebp - 0x54], edx
cmp dword [ebp - 0x54], 0xa
jge 0x1004450f
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x10
lea eax, [ebp - 0x20]
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 0x28]
push ecx
call dword [sym.imp.WS2_32.dll_sendto]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jl 0x100444f9
jmp 0x1004450f
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0x2733
je 0x1004450d
jmp 0x1004450f
jmp 0x100444b8
cmp dword [ebp - 0x50], 0
jge 0x100445e7
cmp dword [ebp - 0x4c], 0x2733
je 0x100445e7
lea ecx, [ebp - 0x44]
call fcn.1000b010
mov dword [ebp - 4], 0
mov dword [ebp - 0x44], 3
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x40], edx
mov byte [ebp - 0x3c], 1
mov eax, dword [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x98]
push ecx
call fcn.1000af50
add esp, 8
mov dword [ebp - 0x60], eax
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x5c], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x5c]
push eax
push str.sendto_error:
lea ecx, [ebp - 0x80]
push ecx
call fcn.10012cf0
add esp, 0xc
mov dword [ebp - 0x58], eax
mov edx, dword [ebp - 0x58]
push edx
lea ecx, [ebp - 0x38]
call fcn.10010150
lea ecx, [ebp - 0x80]
call fcn.10005610
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x98]
call fcn.10005610
mov eax, dword [ebp - 0x48]
movzx ecx, byte [eax + 0x2d]
test ecx, ecx
jne 0x100445d8
mov edx, dword [ebp - 0x48]
cmp dword [edx + 0xc], 0
je 0x100445d8
sub esp, 0x24
mov ecx, esp
mov dword [ebp - 0x64], esp
lea eax, [ebp - 0x44]
push eax
call fcn.1000e0e0
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x48]
push ecx
mov edx, dword [ebp - 0x48]
mov eax, dword [edx + 0xc]
call eax
add esp, 0x28
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.1000e0c0
mov ecx, dword [ebp - 0x48]
add ecx, 0x4c
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004910b
mov esp, ebp
pop ebp
ret 0x10