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

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x1f8]
mov qword [rsp + 0x20], rax
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0x1f
je 0x140124f8f
jmp 0x140125414
mov rax, qword [rsp + 0x20]
add rax, 0x1cb8
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 0x1eb8], rax
mov rax, qword [rsp + 0x20]
add rax, 0x1eb8
mov rcx, qword [rsp + 0x20]
cmp qword [rcx + 0x1eb8], rax
jae 0x140124fe9
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x1eb8]
mov byte [rax], 0xff
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x1eb8]
inc rax
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 0x1eb8], rax
xor eax, eax
test eax, eax
jne 0x140124fa6
mov rax, qword [rsp + 0x20]
add rax, 0x1eb8
mov rcx, qword [rsp + 0x20]
cmp qword [rcx + 0x1eb8], rax
jae 0x140125032
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x1eb8]
mov byte [rax], 0xfa
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x1eb8]
inc rax
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 0x1eb8], rax
xor eax, eax
test eax, eax
jne 0x140124fef
mov rax, qword [rsp + 0x20]
add rax, 0x1eb8
mov rcx, qword [rsp + 0x20]
cmp qword [rcx + 0x1eb8], rax
jae 0x14012507b
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x1eb8]
mov byte [rax], Ordinal_32
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x1eb8]
inc rax
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 0x1eb8], rax
xor eax, eax
test eax, eax
jne 0x140125038
mov rax, qword [rsp + 0x20]
movzx ecx, word [rax + 0x1ca8]
call qword [sym.imp.WS2_32.dll_htons]
mov word [rsp + 0x28], ax
mov rax, qword [rsp + 0x20]
movzx ecx, word [rax + 0x1caa]
call qword [sym.imp.WS2_32.dll_htons]
mov word [rsp + 0x2c], ax
lea rax, [rsp + 0x28]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x2c]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x20]
add rax, 0x1eb8
mov rcx, qword [rsp + 0x20]
cmp qword [rcx + 0x1eb8], rax
jae 0x140125117
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx + 0x1eb8]
mov rdx, qword [rsp + 0x50]
movzx eax, byte [rdx + rax]
mov byte [rcx], al
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x1eb8]
inc rax
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 0x1eb8], rax
xor eax, eax
test eax, eax
jne 0x1401250c3
mov rax, qword [rsp + 0x20]
add rax, 0x1eb8
mov rcx, qword [rsp + 0x20]
cmp qword [rcx + 0x1eb8], rax
jae 0x140125171
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx + 0x1eb8]
mov rdx, qword [rsp + 0x50]
movzx eax, byte [rdx + rax]
mov byte [rcx], al
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x1eb8]
inc rax
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 0x1eb8], rax
xor eax, eax
test eax, eax
jne 0x14012511d
mov rax, qword [rsp + 0x20]
add rax, 0x1eb8
mov rcx, qword [rsp + 0x20]
cmp qword [rcx + 0x1eb8], rax
jae 0x1401251cb
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx + 0x1eb8]
mov rdx, qword [rsp + 0x58]
movzx eax, byte [rdx + rax]
mov byte [rcx], al
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x1eb8]
inc rax
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 0x1eb8], rax
xor eax, eax
test eax, eax
jne 0x140125177
mov rax, qword [rsp + 0x20]
add rax, 0x1eb8
mov rcx, qword [rsp + 0x20]
cmp qword [rcx + 0x1eb8], rax
jae 0x140125225
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx + 0x1eb8]
mov rdx, qword [rsp + 0x58]
movzx eax, byte [rdx + rax]
mov byte [rcx], al
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x1eb8]
inc rax
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 0x1eb8], rax
xor eax, eax
test eax, eax
jne 0x1401251d1
mov rax, qword [rsp + 0x20]
add rax, 0x1eb8
mov rcx, qword [rsp + 0x20]
cmp qword [rcx + 0x1eb8], rax
jae 0x14012526e
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x1eb8]
mov byte [rax], 0xff
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x1eb8]
inc rax
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 0x1eb8], rax
xor eax, eax
test eax, eax
jne 0x14012522b
mov rax, qword [rsp + 0x20]
add rax, 0x1eb8
mov rcx, qword [rsp + 0x20]
cmp qword [rcx + 0x1eb8], rax
jae 0x1401252b7
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x1eb8]
mov byte [rax], 0xf0
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x1eb8]
inc rax
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 0x1eb8], rax
xor eax, eax
test eax, eax
jne 0x140125274
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx + 0x1eb8]
mov qword [rax + 0x1ec0], rcx
mov rax, qword [rsp + 0x20]
add rax, 0x1cb8
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 0x1eb8], rax
xor eax, eax
test eax, eax
jne 0x1401252bd
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx + 0x1eb8]
mov rax, qword [rax + 0x1ec0]
sub rax, rcx
sub rax, 2
mov rcx, qword [rsp + 0x20]
add rcx, 0x1cba
mov r9, rax
mov r8, rcx
mov edx, DriveType
mov rcx, qword [rsp + 0x38]
call fcn.140125e10
mov rax, qword [rsp + 0x20]
add rax, 0x1cb8
mov ecx, 8
imul rcx, rcx, 0
xor r9d, r9d
mov r8d, 3
mov rdx, rax
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + rcx + 0x240]
call qword [sym.imp.WS2_32.dll_send]
cdqe
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jge 0x140125394
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x30], eax
mov r8d, dword [rsp + 0x30]
lea rdx, [0x1401a3280]
mov rcx, qword [rsp + 0x38]
call fcn.1400d3540
mov rax, qword [rsp + 0x20]
add rax, 0x1cbb
mov r8d, 4
mov rdx, rax
mov rcx, qword [rsp + 0x70]
call fcn.140124460
mov rax, qword [rsp + 0x20]
add rax, 0x1cbf
mov ecx, 8
imul rcx, rcx, 0
xor r9d, r9d
mov r8d, 2
mov rdx, rax
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + rcx + 0x240]
call qword [sym.imp.WS2_32.dll_send]
cdqe
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jge 0x140125414
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x30], eax
mov r8d, dword [rsp + 0x30]
lea rdx, [0x1401a3260]
mov rcx, qword [rsp + 0x38]
call fcn.1400d3540
add rsp, 0x68
ret