Function at 0x140035910
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 + 0x4f8], 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 0x140035ba6
mov qword [rbp + 0x4c0], 0
mov qword [rbp + 0x4d0], 0
test al, al
mov qword [rbp + 0x4d8], rbx
jne 0x140035bdb
mov qword [rbp + 0x598], r14
call qword [sym.imp.kernel32.dll_GetEnvironmentStringsW]
test rax, rax
je 0x140039b34
lea rbx, [rbp - 0x10]
lea r14, [rbp + 0x500]
lea rsi, [rbp + 0x460]
mov qword [rbp + 0x5a0], rax
mov rdi, rax
nop word cs:[rax + rax]
cmp word [rdi], 0
je 0x140035bc0
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 0x1400359f0
test r15, r15
je 0x1400399d8
lea rdi, [r12 + r15*2]
add rdi, 2
lea rcx, [r15 + r15]
cmp rcx, 2
je 0x1400359d0
xor r13d, r13d
nop word cs:[rax + rax]
cmp word [r12 + r13*2 + 2], 0x3d
je 0x140035a50
inc r13
add rax, 0xfffffffffffffffe
jne 0x140035a30
jmp 0x1400359d0
lea r8, [r13 + 1]
cmp r13, r15
jae 0x140039a57
mov rcx, r14
mov rdx, r12
call fcn.14002dd50
add r13, 2
mov r8, r15
sub r8, r13
jb 0x140039a71
lea rdx, [r12 + r13*2]
lea rcx, [rbp - 0x30]
call fcn.14002dd50
mov r9, qword [rbp + 0x500]
mov r8, qword [rbp + 0x508]
movdqu xmm6, xmmword [rbp + 0x510]
mov rdx, qword [rbp - 0x30]
mov rcx, qword [rbp - 0x28]
movups xmm0, xmmword [rbx - 0x10]
movaps xmmword [rbp + 0x570], xmm0
mov rax, r9
neg rax
jo 0x140035bc0
mov qword [rbp + 0x5d8], r9
mov qword [rbp + 0x5c8], rdx
mov qword [rbp + 0x5b0], rcx
movq rax, xmm6
add rax, r8
mov qword [rbp + 0x500], r8
mov qword [rbp + 0x508], rax
mov word [rbp + 0x510], 0
mov r15, rsi
mov rcx, rsi
mov rdx, r14
mov qword [rbp + 0x5b8], r8
call fcn.14003b0f0
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 + 0x470]
mov qword [rbx + 0x10], rax
movups xmm0, xmmword [rbp + 0x460]
movups xmmword [rbx], xmm0
mov rax, qword [rbp + 0x5c8]
mov qword [rbp + 0x500], rax
mov rax, qword [rbp + 0x5b0]
mov qword [rbp + 0x508], rax
movaps xmm0, xmmword [rbp + 0x570]
lea rax, [rbp + 0x510]
movups xmmword [rax], xmm0
mov byte [rbp + 0x597], 0
mov rcx, r15
lea rdx, [rbp + 0x4c0]
lea r8, [rbp - 0x30]
mov r9, r14
call fcn.14003b320
mov rax, qword [rbp + 0x460]
shl rax, 1
test rax, rax
je 0x1400359d0
mov rcx, qword [rbp + 0x468]
mov edx, 1
call fcn.1400137f0
jmp 0x1400359d0
mov qword [rbp + 0x3f0], 0
lea rcx, [rbp + 0x3f8]
xor r12d, r12d
jmp 0x1400365c2
mov rcx, qword [rbp + 0x5a0]
call qword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
mov rbx, qword [rbp + 0x4d8]
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 + 0x4f0], 0
xor r12d, r12d
jmp 0x140035c12
xor eax, eax
test r14, r14
je 0x1400363ef
test r15b, 1
je 0x140035c70
test r12, r12
jne 0x140035c70
mov r15d, 1
mov r8, qword [rbp + 0x5c8]
test r8, r8
je 0x140035c82
mov rdx, r8
and rdx, 7
je 0x140035c87
mov rcx, r8
and rcx, 0xfffffffffffffff8
mov r12, rax
nop dword [rax + rax]
mov r12, qword [r12 + 0x3d8]
dec rdx
jne 0x140035c50
cmp r8, 8
jae 0x140035ca0
jmp 0x140035cdf
test r15b, 1
mov rdx, qword [rbp + 0x5c8]
jne 0x140035ce3
jmp 0x1400399c7
mov r12, rax
jmp 0x140035cdf
mov r12, rax
mov rcx, r8
cmp r8, 8
jb 0x140035cdf
nop word cs:[rax + rax]
mov rax, qword [r12 + 0x3d8]
mov rax, qword [rax + 0x3d8]
mov rax, qword [rax + 0x3d8]
mov rax, qword [rax + 0x3d8]
mov rax, qword [rax + 0x3d8]
mov rax, qword [rax + 0x3d8]
mov rax, qword [rax + 0x3d8]
mov r12, qword [rax + 0x3d8]
add rcx, 0xfffffffffffffff8
jne 0x140035ca0
xor edx, edx
xor eax, eax
mov qword [rbp + 0x5d8], r15
movzx ecx, word [r12 + 0x3d2]
cmp rdx, rcx
jae 0x140035d00
mov rcx, rdx
mov r15, r12
jmp 0x140035d2a
mov r15, qword [r12 + 0x160]
test r15, r15
je 0x140039477
inc rax
movzx ecx, word [r12 + 0x3d0]
mov r12, r15
cmp cx, word [r15 + 0x3d2]
jae 0x140035d00
lea r13, [rcx + 1]
test rax, rax
je 0x140035dd0
lea r8, [r15 + r13*8]
add r8, 0x3d8
mov r9, rax
and r9, 7
je 0x140035e90
mov rdx, rax
and rdx, 0xfffffffffffffff8
nop word cs:[rax + rax]
mov r12, qword [r8]
lea r8, [r12 + 0x3d8]
dec r9
jne 0x140035d60
cmp rax, 8
jb 0x140035dc2
nop word cs:[rax + rax]
mov rax, qword [r8]
mov rax, qword [rax + 0x3d8]
mov rax, qword [rax + 0x3d8]
mov rax, qword [rax + 0x3d8]
mov rax, qword [rax + 0x3d8]
mov rax, qword [rax + 0x3d8]
mov rax, qword [rax + 0x3d8]
mov r12, qword [rax + 0x3d8]
lea r8, [r12 + 0x3d8]
add rdx, 0xfffffffffffffff8
jne 0x140035d80
xor r13d, r13d
jmp 0x140035dd3
mov r12, r15
dec r14
imul rax, rcx, 0x38
lea rsi, [r15 + rax]
add rsi, 0x168
shl rcx, 5
xor eax, eax
cmp rax, qword [r15 + rcx]
mov qword [rbp + 0x5c8], r13
jno 0x140035e50
mov r13, qword [rbp + 0x4c0]
mov eax, 0
test r13, r13
mov r15, qword [rbp + 0x5d8]
je 0x140035c12
mov r9, qword [rsi + 0x28]
mov rax, qword [rsi + 0x30]
mov rbx, qword [rbp + 0x4c8]
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 0x570]
mov rdx, r13
mov r8, rbx
call fcn.14003c610
cmp dword [rbp + 0x570], 1
jne 0x140036021
xor eax, eax
jmp 0x140035c12
add r15, rcx
mov rbx, qword [rsi + 0x10]
test rbx, rbx
js 0x1400399fc
mov rdi, qword [rsi + 8]
mov qword [rbp + 0x598], r14
je 0x140035ea2
movzx eax, byte [0x140085328]
xor ecx, ecx
mov rdx, rbx
call fcn.1400424b0
test rax, rax
jne 0x140035ea7
jmp 0x1400399f0
mov rdx, rax
cmp rax, 8
jae 0x140035d80
jmp 0x140035dc2
mov eax, 1
mov qword [rbp + 0x5b0], rax
mov rcx, rax
mov rdx, rdi
mov qword [rbp + 0x5b8], rbx
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
mov r14, qword [rsi + 0x30]
lea rbx, [r14 + r14]
test r14, r14
js 0x140039a1c
movabs rax, 0x7ffffffffffffffe
cmp rbx, rax
ja 0x140039a1c
movzx eax, byte [rsi + 0x18]
mov byte [rbp + 0x5a0], al
mov r13, qword [rsi + 0x28]
test rbx, rbx
je 0x140035f1b
movzx eax, byte [0x140085328]
xor ecx, ecx
mov rdx, rbx
call fcn.1400424b0
mov rdi, rax
mov rsi, r14
test rax, rax
jne 0x140035f22
jmp 0x140039a10
mov edi, 2
xor esi, esi
mov rcx, rdi
mov rdx, r13
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rbp + 0x5b8]
mov qword [rbp - 0x30], rax
mov rcx, qword [rbp + 0x5b0]
mov qword [rbp - 0x28], rcx
mov qword [rbp - 0x20], rax
movzx eax, byte [rbp + 0x5a0]
mov byte [rbp - 0x18], al
mov qword [rbp - 0x10], rsi
mov qword [rbp - 8], rdi
mov qword [rbp], r14
mov rbx, qword [r15 + 0x10]
test rbx, rbx
js 0x140039a3c
mov rdi, qword [r15 + 8]
mov r14, qword [rbp + 0x598]
je 0x140035f98
movzx eax, byte [0x140085328]
xor ecx, ecx
mov rdx, rbx
call fcn.1400424b0
mov r13, rax
test rax, rax
jne 0x140035f9e
jmp 0x140039a30
mov r13d, 1
mov rcx, r13
mov rdx, rdi
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
movzx eax, byte [r15 + 0x18]
mov qword [rbp + 0x500], rbx
mov qword [rbp + 0x508], r13
mov qword [rbp + 0x510], rbx
mov byte [rbp + 0x518], al
mov byte [rbp + 0x596], 0
lea rcx, [rbp + 0x460]
lea rdx, [rbp + 0x4c0]
lea r8, [rbp - 0x30]
lea r9, [rbp + 0x500]
call fcn.14003b320
mov rax, qword [rbp + 0x460]
shl rax, 1
test rax, rax
mov r15, qword [rbp + 0x5d8]
je 0x140035c10
mov rcx, qword [rbp + 0x468]
mov edx, 1
call fcn.1400137f0
jmp 0x140035c10
mov rax, qword [rbp + 0x578]
mov rdx, qword [rbp + 0x580]
mov rcx, qword [rbp + 0x588]
mov byte [rbp + 0x3e0], 0
test rdx, rdx
je 0x1400362b9
mov rax, qword [rax + rcx*8 + 0x3d8]
mov rcx, rdx
dec rcx
je 0x14003611e
mov r8, rcx
and r8, 7
je 0x14003608e
mov rcx, r8
nop word cs:[rax + rax]
movzx r9d, word [rax + 0x3d2]
mov rax, qword [rax + r9*8 + 0x3d8]
dec rcx
jne 0x140036070
not r8
add r8, rdx
mov rcx, r8
add rdx, 0xfffffffffffffffe
cmp rdx, 7
jb 0x14003611e
nop dword [rax]
movzx edx, word [rax + 0x3d2]
mov rax, qword [rax + rdx*8 + 0x3d8]
movzx edx, word [rax + 0x3d2]
mov rax, qword [rax + rdx*8 + 0x3d8]
movzx edx, word [rax + 0x3d2]
mov rax, qword [rax + rdx*8 + 0x3d8]
movzx edx, word [rax + 0x3d2]
mov rax, qword [rax + rdx*8 + 0x3d8]
movzx edx, word [rax + 0x3d2]
mov rax, qword [rax + rdx*8 + 0x3d8]
movzx edx, word [rax + 0x3d2]
mov rax, qword [rax + rdx*8 + 0x3d8]
movzx edx, word [rax + 0x3d2]
mov rax, qword [rax + rdx*8 + 0x3d8]
movzx edx, word [rax + 0x3d2]
mov rax, qword [rax + rdx*8 + 0x3d8]
add rcx, 0xfffffffffffffff8
jne 0x1400360a0
movzx ecx, word [rax + 0x3d2]
dec rcx
mov qword [rbp + 0x440], rax
mov qword [rbp + 0x448], 0
mov qword [rbp + 0x450], rcx
lea rcx, [rbp - 0x30]
lea rdx, [rbp + 0x440]
lea r8, [rbp + 0x3e0]
call fcn.14003c7b0
mov rax, qword [rbp + 0x20]
mov qword [rbp + 0x4b0], rax
movups xmm0, xmmword [rbp + 0x10]
movaps xmmword [rbp + 0x4a0], xmm0
movups xmm0, xmmword [rbp - 0x30]
movups xmm1, xmmword [rbp - 0x20]
movups xmm2, xmmword [rbp - 0x10]
movups xmm3, xmmword [rbp]
movaps xmmword [rbp + 0x490], xmm3
movaps xmmword [rbp + 0x480], xmm2
movaps xmmword [rbp + 0x470], xmm1
movaps xmmword [rbp + 0x460], xmm0
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x38]
movzx edx, word [rax + 0x3d2]
cmp rcx, rdx
jb 0x1400361c7
nop
movzx ecx, word [rax + 0x3d0]
mov rax, qword [rax + 0x160]
cmp cx, word [rax + 0x3d2]
jae 0x1400361b0
imul rdx, rcx, 0x38
shl rcx, 5
mov r8, qword [rax + rdx + 0x198]
mov qword [rbp + 0x530], r8
movups xmm0, xmmword [rax + rdx + 0x168]
movups xmm1, xmmword [rax + rdx + 0x178]
movups xmm2, xmmword [rax + rdx + 0x188]
movaps xmmword [rbp + 0x520], xmm2
movaps xmmword [rbp + 0x510], xmm1
movaps xmmword [rbp + 0x500], xmm0
mov r8, qword [rbp + 0x490]
mov qword [rax + rdx + 0x198], r8
movaps xmm0, xmmword [rbp + 0x460]
movaps xmm1, xmmword [rbp + 0x470]
movaps xmm2, xmmword [rbp + 0x480]
movups xmmword [rax + rdx + 0x188], xmm2
movups xmmword [rax + rdx + 0x178], xmm1
movups xmmword [rax + rdx + 0x168], xmm0
movups xmm0, xmmword [rax + rcx]
movups xmm1, xmmword [rax + rcx + 0x10]
lea rdx, [rbp + 0x538]
movups xmmword [rdx + 0x10], xmm1
movups xmmword [rdx], xmm0
lea rdx, [rbp + 0x498]
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rax + rcx], xmm0
movups xmmword [rax + rcx + 0x10], xmm1
movaps xmm0, xmmword [rbp + 0x500]
movaps xmm1, xmmword [rbp + 0x510]
movaps xmm2, xmmword [rbp + 0x520]
movaps xmm3, xmmword [rbp + 0x530]
movaps xmmword [rbp - 0x30], xmm0
movaps xmmword [rbp - 0x20], xmm1
movaps xmmword [rbp - 0x10], xmm2
movaps xmmword [rbp], xmm3
movaps xmm0, xmmword [rbp + 0x540]
movaps xmmword [rbp + 0x10], xmm0
mov rax, qword [rbp + 0x550]
mov qword [rbp + 0x20], rax
jmp 0x1400362e9
mov qword [rbp + 0x500], rax
mov qword [rbp + 0x508], 0
mov qword [rbp + 0x510], rcx
lea rcx, [rbp - 0x30]
lea rdx, [rbp + 0x500]
lea r8, [rbp + 0x3e0]
call fcn.14003c7b0
mov rax, qword [rbp + 0x20]
mov qword [rbp + 0x550], rax
movaps xmm0, xmmword [rbp + 0x10]
movaps xmmword [rbp + 0x540], xmm0
movaps xmm0, xmmword [rbp - 0x30]
movaps xmm1, xmmword [rbp - 0x20]
movaps xmm2, xmmword [rbp - 0x10]
movaps xmm3, xmmword [rbp]
movaps xmmword [rbp + 0x530], xmm3
movaps xmmword [rbp + 0x520], xmm2
dec qword [rbp + 0x4d0]
movaps xmmword [rbp + 0x510], xmm1
movaps xmmword [rbp + 0x500], xmm0
cmp byte [rbp + 0x3e0], 0
je 0x140036374
test rbx, rbx
je 0x140039aa5
mov rax, qword [r13 + 0x3d8]
mov qword [rbp + 0x4c0], rax
dec rbx
mov qword [rbp + 0x4c8], rbx
mov qword [rax + 0x160], 0
mov edx, 8
mov rcx, r13
call fcn.1400137f0
mov rax, qword [rbp + 0x500]
mov rcx, qword [rbp + 0x508]
mov rdi, qword [rbp + 0x520]
mov r13, qword [rbp + 0x528]
mov rsi, qword [rbp + 0x538]
mov rbx, qword [rbp + 0x540]
neg rax
mov eax, 0
jo 0x140035c12
jae 0x1400363b8
mov edx, 1
call fcn.1400137f0
test rdi, rdi
je 0x1400363ca
mov edx, 2
mov rcx, r13
call fcn.1400137f0
shl rsi, 1
mov eax, 0
test rsi, rsi
je 0x140035c12
mov edx, 1
mov rcx, rbx
call fcn.1400137f0
xor eax, eax
jmp 0x140035c12
mov rax, qword [rbp + 0x4d0]
mov qword [rbp + 0x408], rax
movups xmm0, xmmword [rbp + 0x4c0]
movups xmmword [rbp + 0x3f8], xmm0
mov qword [rbp + 0x3f0], 1
movzx eax, byte [0x140085328]
mov edx, 4
xor ecx, ecx
call fcn.1400424b0
test rax, rax
je 0x140039ac2
mov dword [rax], 0x48544150
mov rcx, rax
add rcx, 4
mov qword [rbp + 0x500], rax
mov qword [rbp + 0x508], rcx
mov word [rbp + 0x510], 0
lea rcx, [rbp + 0x460]
lea rdx, [rbp + 0x500]
mov qword [rbp + 0x5d8], rax
call fcn.14003b0f0
mov qword [rbp - 0x30], 4
mov rcx, qword [rbp + 0x5d8]
mov qword [rbp - 0x28], rcx
mov qword [rbp - 0x20], 4
mov qword [rbp - 0x18], 0
movups xmm0, xmmword [rbp + 0x460]
movups xmmword [rbp - 0x10], xmm0
mov rax, qword [rbp + 0x470]
mov qword [rbp], rax
mov rax, qword [rbp + 0x3f8]
mov rdi, qword [rbp - 8]
test rax, rax
je 0x140036593
mov ebx, dword [rbp]
mov r12, qword [rbp + 0x400]
mov r13, qword [sym.imp.kernel32.dll_CompareStringOrdinal]
xor r12d, r12d
mov rbx, qword [rbp + 0x4d8]
lea rcx, str._rustc_363ae4188316b8b22cf6c1890bc73d84d05f70a4library_alloc_srccollections_btree_navigate.rs
call fcn.14005f730
jmp 0x140039c2b
lea rcx, str._rustc_363ae4188316b8b22cf6c1890bc73d84d05f70a4library_alloc_srccollections_btree_navigate.rs
call fcn.14005f730
jmp 0x140039c2b
lea r8, str.std_src_syspalwindowsos.rs
mov ecx, 1
xor edx, edx
call fcn.14005f230
jmp 0x140039c2b
mov eax, 1
mov qword [rbp + 0x4f0], rax
mov rcx, qword [rbp + 0x4f0]
mov rdx, rbx
call fcn.14005f160
jmp 0x140039c2b
mov eax, 2
mov qword [rbp + 0x4f0], rax
mov rcx, qword [rbp + 0x4f0]
mov rdx, rbx
call fcn.14005f160
jmp 0x140039c2b
mov eax, 1
mov qword [rbp + 0x4f0], rax
mov byte [rbp + 0x596], 1
mov rcx, qword [rbp + 0x4f0]
mov rdx, rbx
call fcn.14005f160
jmp 0x140039c2b
lea rax, str.std_src_syspalwindowsos.rs
mov rcx, r8
mov rdx, r15
mov r8, rax
call fcn.14005f340
jmp 0x140039c2b
lea r8, str.std_src_syspalwindowsos.rs
mov rcx, r13
mov rdx, r15
call fcn.14005f230
jmp 0x140039c2b
lea rcx, str.assertion_failed:_self.height___0
lea r8, str._rustc_363ae4188316b8b22cf6c1890bc73d84d05f70a4library_alloc_srccollections_btree_node.rsassertion_failed:_edge.height__self.height___1
mov edx, 0x21
call fcn.14005f3b0
jmp 0x140039c2b
mov byte [rbp + 0x5e7], 1
mov ecx, 1
mov edx, 4
call fcn.14005f160
jmp 0x140039c2b
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp + 0x460], rax
lea rax, [rbp + 0x460]
mov qword [rbp + 0x500], rax
lea rax, [0x140030430]
mov qword [rbp + 0x508], 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 + 0x500]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], 1
lea rdx, str.std_src_syspalwindowsos.rs
lea rcx, [rbp - 0x30]
call fcn.14005f310
jmp 0x140039c2b