Function at 0x140074560
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [0x140131c08]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov r15, rcx
mov qword [rbp - 0x48], rcx
xor r13d, r13d
mov edi, r13d
mov dword [rsp + 0x30], r13d
mov ecx, 4
mov rax, qword gs:[0x58]
mov rdx, qword [rax]
mov eax, dword [rcx + rdx]
cmp dword [0x140138cf8], eax
jle 0x1400745f4
lea rcx, [0x140138cf8]
call fcn.1400aba00
cmp dword [0x140138cf8], 0xffffffff
jne 0x1400745f4
lea rcx, [0x1400d2c10]
call fcn.1400abe54
nop
lea rcx, [0x140138cf8]
call fcn.1400ab9a0
mov rax, qword [r15]
mov r12, r13
test rax, rax
je 0x14007460b
mov ecx, 0x5a4d
cmp cx, word [rax]
sete r12b
lea r14, str..exe
movzx ebx, byte [rsp + 0x34]
test r12, r12
je 0x140074640
mov rax, r14
cmp qword [r14 + 0x18], 0x10
jb 0x140074629
mov rax, qword [r14]
cmp qword [r14 + 0x10], 4
jne 0x140074ca8
cmp dword [rax], 0x6578652e
jne 0x140074ca8
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], 0xf
mov byte [rsp + 0x38], 0
or edi, 1
mov dword [rsp + 0x30], edi
mov esi, 0xc
movabs r13, 0x948b0fcd6e9e0653
lea r15, str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_________._
call fcn.140095cc4
movsxd rcx, eax
mov rax, r13
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 6
imul rax, rax, 0x51
sub rcx, rax
movzx r9d, byte [rcx + r15]
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
cmp rcx, rdx
jae 0x1400746de
lea rax, [rcx + 1]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x38]
cmp rdx, 0x10
cmovae rax, qword [rsp + 0x38]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400746f1
movzx r8d, bl
mov edx, 1
lea rcx, [rsp + 0x38]
call fcn.140047370
sub rsi, 1
jne 0x140074682
mov r15, qword [rbp - 0x48]
xor r13d, r13d
mov rdx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x14007470b
mov rdx, qword [r14]
mov r8, qword [r14 + 0x10]
lea rcx, [rsp + 0x38]
call fcn.140042aa0
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], r13
mov qword [rbp - 0x70], r13
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x78], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
or edi, 2
mov dword [rsp + 0x30], edi
lea rax, [rbp - 0x30]
mov qword [rbp + 0x20], rax
lea rax, [rsp + 0x78]
cmp qword [rbp - 0x70], 0x10
cmovae rax, qword [rsp + 0x78]
mov qword [rbp], rax
mov rax, qword [rbp - 0x78]
mov qword [rbp + 8], rax
lea rdx, [rbp]
lea rcx, [rbp - 0x30]
call fcn.14004dc20
or edi, 4
mov dword [rsp + 0x30], edi
and edi, 0xfffffffb
mov dword [rsp + 0x30], edi
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r13w
or edi, 0x20
mov dword [rsp + 0x30], edi
xor r8d, r8d
mov edx, 0x105
lea rcx, [rsp + 0x58]
call fcn.140041640
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rcx, qword [rsp + 0x58]
call fcn.1400b93ac
mov qword [rbp + 0x60], rax
xor r8d, r8d
mov edx, eax
lea rcx, [rsp + 0x58]
call fcn.140041640
mov eax, dword [rbp + 0x64]
cmp eax, 0xffffffff
jne 0x14007481b
mov dword [rbp + 0x10], 0x14
lea rax, [0x140131d80]
mov qword [rbp + 0x18], rax
movaps xmm0, xmmword [rbp + 0x10]
mov eax, 0x14
jmp 0x14007482d
mov dword [rbp - 0x40], eax
lea rcx, [0x140131d90]
mov qword [rbp - 0x38], rcx
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp + 0x60], xmm0
and edi, 0xffffffdf
mov dword [rsp + 0x30], edi
or edi, 0x10
mov dword [rsp + 0x30], edi
test eax, eax
jne 0x140074cf2
and edi, 0xffffffef
mov dword [rsp + 0x30], edi
or edi, 8
mov dword [rsp + 0x30], edi
lea r8, [rbp - 0x30]
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 0x70]
call fcn.14002f250
nop
and edi, 0xfffffff7
mov dword [rsp + 0x30], edi
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x1400748b2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400748ad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140074d08
call fcn.1400ab870
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r13w
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x140074906
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140074901
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140074d0e
call fcn.1400ab870
mov qword [rbp - 0x20], r13
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], r13w
and edi, 0xfffffffd
mov dword [rsp + 0x30], edi
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x14007495a
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140074955
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140074d14
call fcn.1400ab870
mov qword [rbp - 0x78], r13
mov qword [rbp - 0x70], 0xf
mov byte [rsp + 0x78], 0
and edi, 0xfffffffe
mov dword [rsp + 0x30], edi
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x1400749af
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400749aa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140074d1a
call fcn.1400ab870
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], 0xf
mov byte [rsp + 0x38], 0
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x90]
call fcn.1400ae200
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0x90]
call fcn.1400751e0
nop
cmp qword [rbp + 0x118], 0
je 0x140074ba5
mov rdx, qword [r15]
mov r8, qword [r15 + 8]
sub r8, rdx
lea rcx, [rbp + 0x90]
call fcn.140075010
lea rcx, [rbp + 0x90]
call fcn.1400488b0
lea rcx, [rbp + 0x98]
call fcn.140053c30
test rax, rax
jne 0x140074a67
mov rax, qword [rbp + 0x90]
movsxd rcx, dword [rax + 4]
mov eax, 6
cmp qword [rbp + rcx + 0xd8], 0
mov edx, 2
cmovne eax, edx
or eax, dword [rbp + rcx + 0xa0]
and eax, 0x17
mov dword [rbp + rcx + 0xa0], eax
and eax, dword [rbp + rcx + 0xa4]
jne 0x140074d20
call fcn.140078690
lea rdx, str.open
test eax, eax
lea rax, str.runas
cmovne rdx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x38], xmm0
mov qword [rbp + 0x48], r13
mov qword [rbp + 0x50], r13
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140074aa0
lea rcx, [rbp + 0x38]
call fcn.140036900
nop
lea rdx, [rbp + 0x70]
lea rcx, [rbp - 0x68]
call fcn.140036b80
bts edi, 7
mov dword [rsp + 0x30], edi
lea r8, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae r8, qword [rbp - 0x68]
lea rdx, [rbp + 0x38]
cmp qword [rbp + 0x50], 8
cmovae rdx, qword [rbp + 0x38]
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
btr edi, 7
mov dword [rsp + 0x30], edi
mov rdx, qword [rbp - 0x50]
cmp rdx, 8
jb 0x140074b43
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140074b3e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140074d6f
call fcn.1400ab870
mov qword [rbp - 0x58], r13
mov qword [rbp - 0x50], 7
mov word [rbp - 0x68], r13w
mov rdx, qword [rbp + 0x50]
cmp rdx, 8
jb 0x140074b94
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140074b8f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140074d75
call fcn.1400ab870
mov qword [rbp + 0x48], r13
mov qword [rbp + 0x50], 7
mov word [rbp + 0x38], r13w
lea rax, [rbp + 0x138]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x90]
movsxd rcx, dword [rax + 4]
lea rax, [0x140119690]
mov qword [rbp + rcx + 0x90], rax
mov rax, qword [rbp + 0x90]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x8c], edx
lea rcx, [rbp + 0x98]
call fcn.1400533d0
nop
mov rax, qword [rbp + 0x90]
movsxd rcx, dword [rax + 4]
lea rax, [0x1400f61d8]
mov qword [rbp + rcx + 0x90], rax
mov rax, qword [rbp + 0x90]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rbp + rcx + 0x8c], edx
lea rax, [rbp + 0x138]
mov qword [rbp + 0x30], rax
lea rax, [0x1400f61c8]
mov qword [rbp + 0x138], rax
lea rax, [0x1400f60b8]
mov qword [rbp + 0x138], rax
lea rcx, [rbp + 0x138]
call fcn.1400ba130
nop
mov rdx, qword [rbp + 0x88]
cmp rdx, 8
jb 0x140074c91
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140074c8c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140074cec
call fcn.1400ab870
mov qword [rbp + 0x80], r13
mov qword [rbp + 0x88], 7
mov word [rbp + 0x70], r13w
add r14, 0x20
lea rax, [0x140131e20]
cmp r14, rax
jne 0x140074617
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.1400ab850
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14008f288
nop
lea r8, [rsp + 0x58]
lea rdx, [rbp + 0x60]
lea rcx, str.temp_directory_path
call fcn.14002fb10
nop
call fcn.14008f288
nop
call fcn.14008f288
nop
call fcn.14008f288
nop
call fcn.14008f288
nop
test al, 4
je 0x140074d2d
lea rbx, str.ios_base::badbit_set
jmp 0x140074d41
test dl, al
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rbp - 0x40]
call fcn.14002d590
mov r8, rax
mov rdx, rbx
lea rcx, [rbp - 0x30]
call fcn.14002e7a0
lea rdx, [0x14012f238]
lea rcx, [rbp - 0x30]
call fcn.1400aea18
nop
call fcn.14008f288
nop
call fcn.14008f288
int3