Function at 0x1400326b0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x470]
sub rsp, 0x570
mov rax, qword [0x1400d9040]
xor rax, rsp
mov qword [rbp + 0x460], rax
xor r13d, r13d
mov r8d, 0x104
lea rdx, [rbp + 0x250]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r13
mov qword [rbp - 0x68], r13
lea rax, [rbp + 0x250]
mov r14, 0xffffffffffffffff
mov r8, r14
inc r8
cmp word [rax + r8*2], r13w
jne 0x140032720
lea rdx, [rbp + 0x250]
lea rcx, [rbp - 0x80]
call fcn.14002fad0
nop
lea rbx, [rbp - 0x80]
mov rsi, qword [rbp - 0x80]
mov r15, qword [rbp - 0x68]
cmp r15, 7
cmova rbx, rsi
mov rdi, qword [rbp - 0x70]
test rdi, rdi
je 0x140032830
mov r12d, 0x100
mov r8d, r12d
xor edx, edx
lea rcx, [rbp]
call sub.VCRUNTIME140.dll_memset
lea rcx, [0x1400ca61c]
lea rdx, [0x1400ca61e]
nop
movzx eax, word [rcx]
cmp ax, r12w
jae 0x1400327cc
movzx eax, al
mov byte [rbp + rax], 1
add rcx, 2
cmp rcx, rdx
jne 0x140032780
lea rcx, [rdi - 1]
mov rax, r14
cmp rcx, r14
cmovb rax, rcx
lea r8, [rbx + rax*2]
nop dword [rax]
movzx eax, word [r8]
cmp ax, r12w
jae 0x1400327c1
cmp byte [rbp + rax], 0
jne 0x140032828
cmp r8, rbx
je 0x140032830
sub r8, 2
jmp 0x1400327b0
lea rcx, [rdi - 1]
mov rax, r14
cmp rcx, r14
cmovb rax, rcx
lea r8, [rbx + rax*2]
mov r9d, 0x5c
nop dword [rax]
nop dword [rax + rax]
mov ecx, 1
movzx edx, word [r8]
lea rax, [0x1400ca61c]
cmp r9w, dx
je 0x140032828
cmp rcx, 1
je 0x14003281d
dec rcx
add rax, 2
cmp word [rax], dx
jne 0x140032806
test rax, rax
jne 0x140032828
cmp r8, rbx
je 0x140032830
sub r8, 2
jmp 0x1400327f0
sub r8, rbx
sar r8, 1
jmp 0x140032833
mov r8, r14
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
inc r8
cmp rdi, r8
cmovb r8, rdi
lea rdx, [rbp - 0x80]
cmp r15, 7
cmova rdx, rsi
lea rcx, [rsp + 0x60]
call fcn.14002fad0
mov rdx, qword [rbp - 0x68]
cmp rdx, 7
jbe 0x1400328a4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003289f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140032d8d
call fcn.140053264
movups xmm1, xmmword [rsp + 0x60]
movups xmmword [rbp - 0x80], xmm1
movups xmm2, xmmword [rsp + 0x70]
movups xmmword [rbp - 0x70], xmm2
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r13
lea rdx, [rbp - 0x80]
movq rcx, xmm1
movdqa xmm0, xmm2
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 7
cmova rdx, rcx
movq r8, xmm2
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], r13
mov qword [rbp - 0x28], r13
lea rcx, [rbp - 0x40]
call fcn.14002fad0
nop
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x30], xmm0
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x30]
call fcn.14004f9f0
test eax, eax
jne 0x140032e1e
mov rdx, qword [rbp - 0x28]
cmp rdx, 7
jbe 0x140032963
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003295e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003295e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140053264
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140032976
lock inc dword [rcx + 8]
mov rcx, qword [rsp + 0x38]
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
test rcx, rcx
je 0x14003298f
lock inc dword [rcx + 8]
mov rcx, qword [rsp + 0x38]
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
test rcx, rcx
je 0x1400329cf
mov eax, r14d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400329cf
mov rbx, qword [rsp + 0x38]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400329cf
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + 8]
nop
lea r15, [0x1400ca7b0]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x40]
test rdi, rdi
je 0x140032c8f
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.140031a70
mov rax, qword [rsp + 0x50]
mov edx, dword [rsp + 0x58]
test edx, edx
je 0x140032a12
lea ecx, [rax - 1]
test ecx, 0xfffffff7
jne 0x140032e31
cmp eax, 3
je 0x140032be0
lea rdx, [rdi + 0x20]
lea rcx, [rbp - 0x60]
call fcn.14004e340
nop
lea rdx, [0x1400ca708]
lea rcx, [rbp - 0x60]
call fcn.14004e0a0
mov rdx, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r13
mov qword [rbp - 8], r13
mov rcx, qword [rbp - 0x50]
cmp rcx, rax
jb 0x140032e10
sub rcx, rax
mov r8, r14
cmp rcx, r14
cmovb r8, rcx
lea rax, [rbp - 0x60]
cmp qword [rbp - 0x48], 7
cmova rax, qword [rbp - 0x60]
lea rdx, [rax + rdx*2]
lea rcx, [rbp - 0x20]
call fcn.14002fad0
lea r8, [rbp - 0x20]
mov r9, qword [rbp - 0x20]
mov r10, qword [rbp - 8]
cmp r10, 7
cmova r8, r9
cmp qword [rbp - 0x10], 4
jne 0x140032b24
mov edx, 4
mov rcx, r15
sub r8, r15
nop word [rax + rax]
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x140032b24
add rcx, 2
sub rdx, 1
jne 0x140032ab0
lea rcx, [rbp + 0x250]
mov rax, r14
nop
inc rax
cmp word [rcx + rax*2], 0
jne 0x140032ad0
lea r8, [rbp - 0x60]
cmp qword [rbp - 0x48], 7
cmova r8, qword [rbp - 0x60]
mov rdx, qword [rbp - 0x50]
cmp rdx, rax
jne 0x140032b83
lea rcx, [rbp + 0x250]
test rdx, rdx
je 0x140032b24
lea rax, [rbp + 0x250]
sub r8, rax
nop dword [rax + rax]
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x140032b83
add rcx, 2
sub rdx, 1
jne 0x140032b10
xor bl, bl
cmp r10, 7
jbe 0x140032b61
lea rdx, [r10*2 + 2]
mov rax, r9
cmp rdx, 0x1000
jb 0x140032b59
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140032c81
mov rcx, r9
call fcn.140053264
test bl, bl
je 0x140032b9d
cmp rsi, qword [rsp + 0x70]
je 0x140032b87
lea rdx, [rbp - 0x60]
mov rcx, rsi
call fcn.14004e340
add rsi, 0x20
mov qword [rsp + 0x68], rsi
jmp 0x140032b9d
mov bl, 1
jmp 0x140032b26
lea r8, [rbp - 0x60]
mov rdx, rsi
lea rcx, [rsp + 0x60]
call fcn.1400526f0
mov rsi, qword [rsp + 0x68]
mov rdx, qword [rbp - 0x48]
cmp rdx, 7
jbe 0x140032be0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140032bd8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140032c88
call fcn.140053264
nop dword [rax]
lea rdx, [rbp]
mov rcx, qword [rdi + 0x40]
call fcn.1400540ac
cmp eax, 0x12
je 0x140032c25
test eax, eax
jne 0x140032e16
cmp word [rbp + 0x2c], 0x2e
jne 0x140032c17
movzx eax, word [rbp + 0x2e]
test ax, ax
je 0x140032be0
cmp ax, 0x2e
jne 0x140032c17
cmp word [rbp + 0x30], 0
je 0x140032be0
lea rdx, [rbp]
mov rcx, rdi
call fcn.140031e50
jmp 0x140032c71
mov rdi, r13
mov qword [rsp + 0x40], r13
mov rbx, qword [rsp + 0x48]
mov qword [rsp + 0x48], r13
test rbx, rbx
je 0x140032c71
mov eax, r14d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140032c67
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140032c67
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x68]
mov eax, r13d
test eax, eax
jne 0x140032e16
jmp 0x1400329e0
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
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140032cd0
mov eax, r14d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140032ccb
mov rbx, qword [rsp + 0x48]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140032ccb
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + 8]
mov rsi, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140032d10
mov eax, r14d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140032d0b
mov rbx, qword [rsp + 0x38]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], r14d
cmp r14d, 1
jne 0x140032d0b
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + 8]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x60]
mov rbx, rdi
cmp rdi, rsi
je 0x140032d50
nop dword [rax]
mov r8, rbx
cmp qword [rbx + 0x18], 7
jbe 0x140032d2d
mov r8, qword [rbx]
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], r13
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
add rbx, 0x20
cmp rbx, rsi
jne 0x140032d20
test rdi, rdi
je 0x140032d9d
mov rdx, rsi
mov rcx, rdi
call fcn.1400515d0
mov rdx, qword [rsp + 0x70]
sub rdx, rdi
and rdx, 0xffffffffffffffe0
mov rax, rdi
cmp rdx, 0x1000
jb 0x140032d94
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140032d94
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.140053264
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 7
jbe 0x140032de0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140032ddb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140032ddb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140053264
mov rcx, qword [rbp + 0x460]
xor rcx, rsp
call fcn.140052e50
lea r11, [rsp + 0x570]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14002f9c0
nop
mov edx, eax
call fcn.140031910
nop
lea r8, [rbp - 0x40]
mov edx, eax
lea rcx, str.directory_iterator::directory_iterator
call fcn.140031a00
nop
lea r8, [rdi + 0x20]
lea rcx, str.directory_entry::status
call fcn.140031a00
int3