Function at 0x140038ad0
Capabilities:
Create a process with modified i/o handles and window
Create process on windows
Encode data using base64
Encrypt data using speck
Get common file path
Parse credit card information
Query environment variable

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x688
lea rbp, [rsp + 0x80]
movdqa xmmword [rbp + 0x5f0], xmm6
mov qword [rbp + 0x5e8], 0xfffffffffffffffe
mov qword [rbp + 0x4e8], r8
mov rbx, rdx
mov qword [rbp + 0x4e0], rcx
movzx eax, byte [rdx + 0xa0]
mov r14, qword [rdx + 0x98]
test r14, r14
setne cl
or cl, al
je 0x140038d6b
mov qword [rbp + 0x458], 0
mov qword [rbp + 0x468], 0
test al, al
mov qword [rbp + 0x4d0], rbx
jne 0x140038da0
mov qword [rbp + 0x598], r14
call qword [sym.imp.kernel32.dll_GetEnvironmentStringsW]
test rax, rax
je 0x14003d105
lea rbx, [rbp - 0x10]
lea r14, [rbp + 0x4f0]
lea rsi, [rbp + 0x470]
mov qword [rbp + 0x5a0], rax
mov rdi, rax
nop word cs:[rax + rax]
cmp word [rdi], 0
je 0x140038d85
mov r12, rdi
mov r15, 0xffffffffffffffff
mov rcx, 0xfffffffffffffffe
nop dword [rax + rax]
mov rax, rcx
cmp word [r12 + r15*2 + 2], 0
lea r15, [r15 + 1]
lea rcx, [rcx + 2]
jne 0x140038bb0
test r15, r15
je 0x14003cf8c
lea rdi, [r12 + r15*2]
add rdi, 2
lea rcx, [r15 + r15]
cmp rcx, 2
je 0x140038b90
xor r13d, r13d
nop word cs:[rax + rax]
cmp word [r12 + r13*2 + 2], 0x3d
je 0x140038c10
inc r13
add rax, 0xfffffffffffffffe
jne 0x140038bf0
jmp 0x140038b90
lea r8, [r13 + 1]
cmp r13, r15
jae 0x14003d00b
mov rcx, r14
mov rdx, r12
call fcn.140031bd0
add r13, 2
mov r8, r15
sub r8, r13
jb 0x14003d025
lea rdx, [r12 + r13*2]
lea rcx, [rbp - 0x30]
call fcn.140031bd0
mov r9, qword [rbp + 0x4f0]
mov r8, qword [rbp + 0x4f8]
movdqu xmm6, xmmword [rbp + 0x500]
mov rdx, qword [rbp - 0x30]
mov rcx, qword [rbp - 0x28]
movups xmm0, xmmword [rbx - 0x10]
movaps xmmword [rbp + 0x560], xmm0
mov rax, r9
neg rax
jo 0x140038d85
mov qword [rbp + 0x5d8], r9
mov qword [rbp + 0x5c8], rdx
mov qword [rbp + 0x558], rcx
movq rax, xmm6
add rax, r8
mov qword [rbp + 0x4f0], r8
mov qword [rbp + 0x4f8], rax
mov word [rbp + 0x500], 0
mov r15, rsi
mov rcx, rsi
mov rdx, r14
mov qword [rbp + 0x5b8], r8
call fcn.14003e7a0
mov rax, qword [rbp + 0x5d8]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp + 0x5b8]
mov qword [rbp - 0x28], rax
movdqu xmmword [rbp - 0x20], xmm6
mov rax, qword [rbp + 0x480]
mov qword [rbx + 0x10], rax
movups xmm0, xmmword [rbp + 0x470]
movups xmmword [rbx], xmm0
mov rax, qword [rbp + 0x5c8]
mov qword [rbp + 0x4f0], rax
mov rax, qword [rbp + 0x558]
mov qword [rbp + 0x4f8], rax
movaps xmm0, xmmword [rbp + 0x560]
lea rax, [rbp + 0x500]
movups xmmword [rax], xmm0
mov byte [rbp + 0x58f], 0
mov rcx, r15
lea rdx, [rbp + 0x458]
lea r8, [rbp - 0x30]
mov r9, r14
call fcn.14003e9d0
mov rax, qword [rbp + 0x470]
shl rax, 1
test rax, rax
je 0x140038b90
mov r8, qword [rbp + 0x478]
mov rcx, qword [0x1400a11f8]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
jmp 0x140038b90
mov qword [rbp + 0x3f0], 0
lea r15, [rbp + 0x3f8]
xor r12d, r12d
jmp 0x1400397dc
mov rcx, qword [rbp + 0x5a0]
call qword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
mov rbx, qword [rbp + 0x4d0]
mov r14, qword [rbp + 0x598]
mov rax, qword [rbx + 0x88]
mov rcx, qword [rbx + 0x90]
mov qword [rbp + 0x5c8], rcx
xor r15d, r15d
test rax, rax
setne r15b
cmove r14, rax
mov qword [rbp + 0x5b0], 0
xor r12d, r12d
jmp 0x140038de2
lea r8, str.std_src_syspalwindowsos.rs
mov ecx, 1
xor edx, edx
call fcn.14004ac50
jmp 0x14003d216
lea rax, str.std_src_syspalwindowsos.rs
mov rcx, r8
mov rdx, r15
mov r8, rax
call fcn.14004ad70
jmp 0x14003d216
lea r8, str.std_src_syspalwindowsos.rs
mov rcx, r13
mov rdx, r15
call fcn.14004ac50
jmp 0x14003d216
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp + 0x470], rax
lea rax, [rbp + 0x470]
mov qword [rbp + 0x4f0], rax
lea rax, [0x1400345a0]
mov qword [rbp + 0x4f8], rax
lea rax, str.failure_getting_env_string_from_OS:
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], 1
mov qword [rbp - 0x10], 0
lea rax, [rbp + 0x4f0]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], 1
lea rdx, str.std_src_syspalwindowsos.rs
lea rcx, [rbp - 0x30]
call fcn.14004ad30
jmp 0x14003d216