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

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x54], eax
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 8]
mov dword [rax + 0x64], 0
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 8]
mov dword [rax + 0x60], 0
mov rax, qword [rsp + 0x70]
mov dword [rax + 4], 0
mov rax, qword [rsp + 0x70]
add rax, 0x2a
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x70]
mov ecx, dword [rcx + 0x20]
cmp dword [rax + 0x18], ecx
jle 0x180042bd9
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 8]
mov dword [rax + 0x60], 0xffffff34
mov eax, 1
jmp 0x180042e67
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 8]
cmp dword [rax + 0x68], 0xa
jle 0x180042c02
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 8]
mov dword [rax + 0x60], 0xffffff31
mov eax, 1
jmp 0x180042e67
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 8]
cmp dword [rax + 0x80], 0
je 0x180042c53
mov rax, qword [rsp + 0x70]
cmp dword [rax], 1
jne 0x180042c2e
mov rax, qword [rsp + 0x70]
add rax, 0x24
mov qword [rsp + 0x48], rax
jmp 0x180042c3c
mov rax, qword [rsp + 0x70]
add rax, 0x2a
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x70]
mov r8, qword [rax + 8]
mov edx, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x48]
call fcn.180042f70
mov rax, qword [rsp + 0x70]
cmp dword [rax], 0
jne 0x180042d03
mov rax, qword [rsp + 0x70]
add rax, 0x24
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov byte [rax], 1
mov rax, qword [rsp + 0x58]
mov byte [rax + 1], 0
mov eax, dword [rsp + 0x54]
and eax, 0xff
mov rcx, qword [rsp + 0x58]
mov byte [rcx + 2], al
mov rax, qword [rsp + 0x58]
mov byte [rax + 3], 0
cmp dword [rsp + 0x54], 0xff
jle 0x180042cb8
mov eax, dword [rsp + 0x54]
sar eax, 8
and eax, 0xff
mov rcx, qword [rsp + 0x58]
mov byte [rcx + 3], al
mov rax, qword [rsp + 0x70]
add rax, 0x24
xor edx, edx
mov rcx, rax
call fcn.180042e80
mov rcx, qword [rsp + 0x58]
mov byte [rcx + 4], al
mov edx, 5
mov rcx, qword [rsp + 0x58]
call fcn.180042e80
mov rcx, qword [rsp + 0x58]
mov byte [rcx + 5], al
mov eax, dword [rsp + 0x54]
add eax, 6
mov dword [rsp + 0x54], eax
mov rax, qword [rsp + 0x70]
add rax, 0x24
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 8]
mov eax, dword [rax + 0x10]
and eax, 0x10
test eax, eax
je 0x180042d5d
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x78]
mov r8d, dword [rsp + 0x54]
mov rdx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + 8]
call fcn.18004dbd0
mov dword [rsp + 0x50], eax
jmp 0x180042e0b
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 8]
mov eax, dword [rax + 0x10]
and eax, 4
test eax, eax
je 0x180042dcb
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 8]
add rax, 0x100bc
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + 8]
movsxd rcx, dword [rcx + 0xa0]
mov dword [rsp + 0x28], 0x1c
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, dword [rsp + 0x54]
mov rdx, qword [rsp + 0x40]
call qword [sym.imp.WSOCK32.dll_sendto]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x180042dc9
call qword [sym.imp.WSOCK32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x180042dc9
jmp 0x180042d70
jmp 0x180042e0b
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 8]
movsxd rax, dword [rax + 0xa0]
xor r9d, r9d
mov r8d, dword [rsp + 0x54]
mov rdx, qword [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.WSOCK32.dll_send]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x180042e0b
call qword [sym.imp.WSOCK32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x180042e0b
jmp 0x180042dcb
cmp dword [rsp + 0x50], 0xffffffff
jne 0x180042e55
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 8]
mov dword [rax + 0x60], 0xffffff2a
call qword [sym.imp.WSOCK32.dll_WSAGetLastError]
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + 8]
mov dword [rcx + 0x64], eax
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 8]
mov eax, dword [rax + 0x68]
inc eax
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + 8]
mov dword [rcx + 0x68], eax
mov eax, 2
jmp 0x180042e67
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 8]
mov dword [rax + 0x68], 0
xor eax, eax
add rsp, 0x68
ret