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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x100
mov rax, qword [0x14001c040]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov r12, rdx
mov qword [rsp + 0x78], rdx
xor r13d, r13d
mov dword [rsp + 0x30], r13d
xorps xmm0, xmm0
movups xmmword [rsp + 0x88], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x98], xmm1
mov rax, qword [rcx + 0x10]
cmp rax, 3
jb 0x140005099
add rax, 0xfffffffffffffffd
mov r8, 0xffffffffffffffff
cmp rax, r8
cmovb r8, rax
cmp qword [rcx + 0x18], 7
jbe 0x14000481d
mov rcx, qword [rcx]
lea rdx, [rcx + 6]
lea rcx, [rsp + 0x88]
call fcn.1400093f0
mov r14d, 1
movups xmm0, xmmword [rsp + 0x88]
movups xmmword [rsp + 0xa8], xmm0
movups xmm1, xmmword [rsp + 0x98]
movups xmmword [rsp + 0xb8], xmm1
lea rdi, [rsp + 0xa8]
movq r10, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq r11, xmm0
cmp r11, 7
cmova rdi, r10
movq rax, xmm1
lea rcx, [rax + rax]
lea rdx, [rcx + rdi]
sar rcx, 1
cmp rcx, 2
jl 0x1400048bb
mov eax, dword [rdi]
and eax, 0xffffffdf
sub eax, 0x3a0041
cmp eax, 0x1a
jae 0x1400048bb
cmp rcx, 3
jl 0x1400048cc
movzx eax, word [rdi + 4]
cmp ax, 0x5c
je 0x140004a12
cmp ax, 0x2f
jne 0x1400048cc
jmp 0x140004a12
mov rcx, rdi
call fcn.140001b10
cmp rdi, rax
jne 0x140004a12
lea rdx, [0x14001c0e8]
cmp qword [0x14001c100], 7
cmova rdx, qword [0x14001c0e8]
xorps xmm0, xmm0
movups xmmword [rsp + 0x88], xmm0
mov qword [rsp + 0x98], r13
mov qword [rsp + 0xa0], r13
mov r8, qword [0x14001c0f8]
lea rcx, [rsp + 0x88]
call fcn.1400093f0
mov dword [rsp + 0x30], 7
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x38]
call fcn.140007f80
mov dword [rsp + 0x30], recv
lea rdx, [rsp + 0xa8]
lea rcx, [rsp + 0x38]
call fcn.140001c10
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0xa8]
call fcn.140007ee0
mov r14d, 7
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x1400049a3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000499e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000499e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400109f0
movdqa xmm0, xmmword [0x1400155f0]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], r13w
mov rdx, qword [rsp + 0xa0]
cmp rdx, 7
jbe 0x140004a02
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400049fd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400049fd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400109f0
mov r10, qword [rsp + 0xa8]
mov r11, qword [rsp + 0xc0]
lea rcx, [rsp + 0xa8]
cmp r11, 7
cmova rcx, r10
mov r9d, 0xffffffff
mov r8d, 3
lea rdx, [rsp + 0x88]
call fcn.14000ff08
mov edx, eax
test eax, eax
jne 0x140004a9a
mov edi, dword [rsp + 0x98]
test dil, 1
mov ecx, 0x1ff
mov eax, 0x16d
cmovne ecx, eax
mov dword [rsp + 0xd4], ecx
bt edi, 0xa
jae 0x140004a8b
mov eax, dword [rsp + 0x9c]
cmp eax, 0xa000000c
jne 0x140004a7d
mov edi, 4
mov eax, edi
jmp 0x140004ac6
cmp eax, 0xa0000003
jne 0x140004a8b
mov eax, 0xa
jmp 0x140004ac1
movzx eax, dil
and eax, 0x10
or eax, 0x20
shr eax, 4
jmp 0x140004ac1
mov dword [rsp + 0xd4], 0xffff
sub eax, 2
je 0x140004abc
sub eax, 1
je 0x140004abc
sub eax, 0x32
je 0x140004abc
cmp eax, 0x46
mov eax, r13d
jne 0x140004ac1
mov eax, 1
mov edi, 4
mov dword [rsp + 0xd0], edx
lea r15, [0x14001c0c8]
mov qword [rsp + 0xd8], r15
movaps xmm0, xmmword [rsp + 0xd0]
movdqa xmmword [rsp + 0xd0], xmm0
test eax, eax
je 0x140004f72
cmp eax, 1
je 0x140004f7a
lea rcx, [rsp + 0xa8]
cmp qword [rsp + 0xc0], 7
cmova rcx, qword [rsp + 0xa8]
mov r9d, 0xffffffff
mov r8d, 3
lea rdx, [rsp + 0x88]
call fcn.14000ff08
mov edx, eax
test eax, eax
jne 0x140004b6b
mov ecx, dword [rsp + 0x98]
bt ecx, 0xa
jae 0x140004b5e
mov eax, dword [rsp + 0x9c]
cmp eax, 0xa000000c
je 0x140004b87
cmp eax, 0xa0000003
jne 0x140004b5e
lea edi, [rdx + 0xa]
jmp 0x140004b87
mov edi, ecx
and edi, 0x10
or edi, 0x20
shr edi, 4
jmp 0x140004b87
sub eax, 2
je 0x140004b82
sub eax, 1
je 0x140004b82
sub eax, 0x32
je 0x140004b82
cmp eax, 0x46
mov edi, r13d
jne 0x140004b87
mov edi, 1
test edx, edx
je 0x140004b99
lea eax, [rdi - 1]
test eax, 0xfffffff7
jne 0x14000509f
cmp edi, 3
jne 0x140004f7a
lea rcx, [rsp + 0xa8]
cmp qword [rsp + 0xc0], 7
cmova rcx, qword [rsp + 0xa8]
call fcn.140010288
test eax, eax
jne 0x1400050b4
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], r13w
or r14d, 0x40
mov dword [rsp + 0x30], r14d
mov edx, 0x104
mov r9d, edx
lea rcx, [rsp + 0x38]
call fcn.140009850
mov esi, dword [rsp + 0x48]
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 7
cmova rdx, qword [rsp + 0x38]
mov ecx, esi
call fcn.14000fecc
mov rbx, rax
mov qword [rsp + 0xd0], rax
mov ecx, eax
mov r8, qword [rsp + 0x48]
cmp rcx, r8
ja 0x140004c50
mov qword [rsp + 0x48], rcx
lea rax, [rsp + 0x38]
cmp qword [rsp + 0x50], 7
cmova rax, qword [rsp + 0x38]
mov word [rax + rcx*2], r13w
jmp 0x140004ca5
mov rdx, rcx
sub rdx, r8
mov rdi, qword [rsp + 0x50]
mov rax, rdi
sub rax, r8
cmp rdx, rax
ja 0x140004c98
mov qword [rsp + 0x48], rcx
lea r9, [rsp + 0x38]
cmp rdi, 7
cmova r9, qword [rsp + 0x38]
lea rdi, [r9 + r8*2]
test rdx, rdx
je 0x140004c8d
movzx eax, r13w
mov rcx, rdx
rep stosw word [rdi], ax
lea rax, [r8 + rdx]
mov word [r9 + rax*2], r13w
jmp 0x140004ca5
mov r9, rdx
lea rcx, [rsp + 0x38]
call fcn.140009850
cmp ebx, esi
jae 0x140004c00
mov eax, dword [rsp + 0xd4]
mov dword [rsp + 0xd0], eax
mov qword [rsp + 0xd8], r15
movaps xmm0, xmmword [rsp + 0xd0]
movdqa xmmword [rsp + 0xd0], xmm0
and r14d, 0xffffffbf
or r14d, 0x20
mov dword [rsp + 0x30], r14d
test eax, eax
jne 0x1400050cb
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0xd0]
call fcn.140007f80
mov rdx, qword [0x14001c100]
cmp rdx, 7
jbe 0x140004d3d
mov rcx, qword [0x14001c0e8]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140004d38
add rdx, 0x27
mov rdi, qword [rcx - 8]
sub rcx, rdi
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140004d9b
mov rcx, rdi
call fcn.1400109f0
movups xmm0, xmmword [rsp + 0xd0]
movups xmmword [0x14001c0e8], xmm0
movups xmm1, xmmword [rsp + 0xe0]
movups xmmword [0x14001c0f8], xmm1
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x140004da7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004da2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004da2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1400109f0
lea rdx, [0x14001c0e8]
lea rcx, [rsp + 0x38]
call fcn.140002b70
mov rdi, rax
mov r8, qword [rax + 0x10]
mov rcx, qword [rax + 0x18]
mov rax, rcx
sub rax, r8
cmp rax, 0x15
jb 0x140004e57
lea rax, [r8 + 0x15]
mov qword [rdi + 0x10], rax
mov r14, rdi
cmp rcx, 0xf
jbe 0x140004de7
mov r14, qword [rdi]
lea rax, [0x140014185]
lea rsi, str.Directory_changed_to
cmp rax, r14
jbe 0x140004e1a
lea rax, [r14 + r8]
cmp rsi, rax
ja 0x140004e1a
mov ebx, socket
cmp r14, rsi
ja 0x140004e12
mov r15, r13
jmp 0x140004e22
mov r15, r14
sub r15, rsi
jmp 0x140004e22
mov ebx, socket
mov r15d, ebx
inc r8
lea rcx, [r14 + 0x15]
mov rdx, r14
call sub.VCRUNTIME140.dll_memmove
mov r8, r15
mov rdx, rsi
mov rcx, r14
call sub.VCRUNTIME140.dll_memcpy
sub rbx, r15
lea rdx, [rsi + 0x15]
add rdx, r15
lea rcx, [r14 + r15]
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
jmp 0x140004e7a
mov ebx, socket
mov qword [rsp + 0x28], rbx
lea rsi, str.Directory_changed_to
mov qword [rsp + 0x20], rsi
mov edx, ebx
mov rcx, rdi
call fcn.14000a7c0
mov rdi, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x88], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x98], xmm1
movups xmm0, xmmword [rdi]
movups xmmword [rsp + 0x88], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rsp + 0x98], xmm1
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x18], recv
mov byte [rdi], 0
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x140004ef7
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004ef2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004ef2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400109f0
lea rdx, [rsp + 0x88]
cmp qword [rsp + 0xa0], 0xf
cmova rdx, qword [rsp + 0x88]
xor r9d, r9d
mov r8d, dword [rsp + 0x98]
mov rcx, qword [r12]
call qword [sym.imp.WS2_32.dll_send]
mov rdx, qword [rsp + 0xa0]
cmp rdx, 0xf
jbe 0x140004f6d
inc rdx
mov rcx, qword [rsp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004f67
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004f67
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400109f0
nop
jmp 0x140005021
test edx, edx
jne 0x1400050d9
xorps xmm0, xmm0
movups xmmword [rsp + 0x88], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x98], xmm1
mov r8d, 0x18
lea rdx, str.Directory_does_not_exist
lea rcx, [rsp + 0x88]
call fcn.1400012b0
lea rdx, [rsp + 0x88]
cmp qword [rsp + 0xa0], 0xf
cmova rdx, qword [rsp + 0x88]
xor r9d, r9d
mov r8d, dword [rsp + 0x98]
mov rcx, qword [r12]
call qword [sym.imp.WS2_32.dll_send]
mov rdx, qword [rsp + 0xa0]
cmp rdx, 0xf
jbe 0x140005021
inc rdx
mov rcx, qword [rsp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000501b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000501b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400109f0
nop
mov rdx, qword [rsp + 0xc0]
cmp rdx, 7
jbe 0x14000506c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005067
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005067
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400109f0
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.1400103e0
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.140008640
nop
lea r8, [rsp + 0xa8]
lea rcx, str.status
call fcn.140002800
nop
lea r8, [rsp + 0xa8]
mov edx, eax
lea rcx, str.current_path_const_path_
call fcn.140002800
nop
lea rdx, [rsp + 0xd0]
call fcn.140002870
nop
lea r8, [rsp + 0xa8]
lea rdx, [rsp + 0xd0]
call fcn.1400028d0
int3
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x70
mov rsi, rdx
mov rbx, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
mov r8d, 3
cmp qword [rcx + 0x10], r8
cmovb r8, qword [rcx + 0x10]
mov rdx, rcx
cmp qword [rcx + 0x18], 7
jbe 0x140005b92
mov rdx, qword [rcx]
lea rcx, [rsp + 0x48]
call fcn.1400093f0
lea r8, [rsp + 0x48]
mov r9, qword [rsp + 0x48]
mov r10, qword [rsp + 0x60]
cmp r10, 7
cmova r8, r9
mov rdx, qword [rsp + 0x58]
cmp rdx, 3
jne 0x140005be9
lea rcx, [0x140014360]
test rdx, rdx
je 0x140005be4
sub r8, rcx
nop dword [rax]
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x140005be9
add rcx, 2
sub rdx, 1
jne 0x140005bd0
mov dil, 1
jmp 0x140005bec
xor dil, dil
cmp r10, 7
jbe 0x140005c27
lea rdx, [r10*2 + 2]
mov rax, r9
cmp rdx, 0x1000
jb 0x140005c1f
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005d16
mov rcx, r9
call fcn.1400109f0
test dil, dil
je 0x140005c48
mov rdx, rsi
mov rcx, rbx
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
jmp 0x1400047a0
mov rdx, qword [rbx + 0x10]
mov r8, rbx
cmp qword [rbx + 0x18], 7
jbe 0x140005c59
mov r8, qword [rbx]
cmp rdx, 3
jne 0x140005d33
lea rcx, [0x140014368]
sub r8, rcx
nop dword [rax]
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x140005d33
add rcx, 2
sub rdx, 1
jne 0x140005c70
lea rdx, [0x14001c0e8]
cmp qword [0x14001c100], 7
cmova rdx, qword [0x14001c0e8]
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], 0
mov r8, qword [0x14001c0f8]
lea rcx, [rsp + 0x28]
call fcn.1400093f0
nop
mov rdx, rsi
lea rcx, [rsp + 0x28]
call fcn.1400050f0
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 7
jbe 0x140005d6c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005d1d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005d1d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
jmp fcn.1400109f0
mov rdx, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 7
jbe 0x140005d41
mov rbx, qword [rbx]
cmp rdx, 0xa
jne 0x140005d6c
lea rcx, str.listdrives
sub rbx, rcx
movzx eax, word [rcx + rbx]
cmp ax, word [rcx]
jne 0x140005d6c
add rcx, 2
sub rdx, 1
jne 0x140005d51
mov rcx, rsi
call fcn.1400055e0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret