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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e3763
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x1013dd8c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x88], ecx
mov eax, dword [ebp - 0x88]
movzx ecx, word [eax + 0x3e]
test ecx, ecx
jne 0x1005a356
xor al, al
jmp 0x1005a5a6
mov byte [ebp - 0x81], 0
mov edx, dword [ebp - 0x88]
push edx
lea ecx, [ebp - 0xa0]
call fcn.10058230
mov dword [ebp - 4], 0
lea eax, [ebp - 0xb0]
push eax
mov ecx, dword [ebp - 0x88]
add ecx, 0x30
call fcn.1004c4c0
push eax
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + 4]
push edx
mov eax, dword [ebp + 8]
add eax, 6
push eax
lea ecx, [ebp - 0x80]
call fcn.10053370
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0xa8], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0xa8]
push edx
lea eax, [ebp - 0xb4]
push eax
mov ecx, dword [ebp - 0x88]
add ecx, 0x30
call fcn.1004cdd0
mov ecx, eax
call fcn.100588c0
mov byte [ebp - 0x81], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x80]
call fcn.10012470
lea ecx, [ebp - 0xa0]
call fcn.1005ae90
movzx ecx, byte [ebp - 0x81]
test ecx, ecx
jne 0x1005a428
mov byte [ebp - 0x82], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa0]
call fcn.10058670
mov al, byte [ebp - 0x82]
jmp 0x1005a5a6
mov edx, dword [ebp + 8]
add edx, 6
push edx
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 4]
push ecx
push 0x100e9e7c
push str._s__.s
push 0x40
lea edx, [ebp - 0x50]
push edx
call fcn.1004db60
add esp, 0x18
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
add eax, 9
mov dword [ebp - 0x94], eax
push 1
mov ecx, dword [ebp - 0x94]
push ecx
call fcn.100adf4a
add esp, 8
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
jne 0x1005a4a8
mov byte [ebp - 0x83], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa0]
call fcn.10058670
mov al, byte [ebp - 0x83]
jmp 0x1005a5a6
mov edx, dword [ebp - 0x8c]
mov dword [edx], 0x4c444d53
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x88]
mov dx, word [ecx + 0x3e]
mov word [eax + 4], dx
mov eax, dword [ebp - 0x8c]
mov cx, word [ebp - 0x90]
mov word [eax + 6], cx
mov edx, dword [ebp - 0x90]
push edx
lea eax, [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x8c]
add ecx, 8
push ecx
call fcn.100a5270
add esp, 0xc
push 1
mov edx, dword [ebp - 0x94]
push edx
mov eax, dword [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x68]
push ecx
mov ecx, dword [ebp - 0x88]
call fcn.100597e0
push 0x10
mov edx, dword [ebp + 0xc]
push edx
push 0
lea ecx, [ebp - 0x68]
call fcn.10016df0
push eax
lea ecx, [ebp - 0x68]
call fcn.10012400
push eax
mov eax, dword [ebp - 0x88]
mov ecx, dword [eax + 0x3a]
push ecx
call dword [sym.imp.WS2_32.dll_sendto]
mov dword [ebp - 0xac], eax
mov edx, dword [ebp - 0x8c]
push edx
call fcn.100a9867
add esp, 4
lea ecx, [ebp - 0x68]
call fcn.10016df0
cmp dword [ebp - 0xac], eax
jne 0x1005a570
mov dword [ebp - 0x98], 1
jmp 0x1005a57a
mov dword [ebp - 0x98], 0
mov al, byte [ebp - 0x98]
mov byte [ebp - 0x84], al
lea ecx, [ebp - 0x68]
call fcn.10012470
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa0]
call fcn.10058670
mov al, byte [ebp - 0x84]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10065961
mov esp, ebp
pop ebp
ret 8