Function at 0x140001080
Capabilities:
Get common file path
Terminate process

Disassembly:
mov qword ss:[rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x4a0]
sub rsp, 0x5a0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rcx], xmm0
xor esi, esi
mov rbx, r8
mov r11d, edx
mov rdi, rcx
mov r10d, esi
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx + 0x20], xmm0
mov qword [rcx + 0x30], rax
test edx, edx
jle 0x140001269
mov r9d, esi
lea r15, str.__help
add r8, 8
lea r14, str.__wag
nop dword [rax]
mov rcx, qword [rbx + r9*8]
cmp byte [rcx], 0x2d
jne 0x140001108
cmp byte [rcx + 1], 0x48
jne 0x1400010f5
cmp byte [rcx + 2], sil
je 0x140001126
cmp byte [rcx], 0x2d
jne 0x140001108
cmp byte ds:[rcx + 1], 0x68
jne 0x140001108
cmp byte [rcx + 2], sil
je 0x140001126
mov rdx, rsi
nop dword [rax + rax]
movzx eax, byte [rcx + rdx]
inc rdx
cmp al, byte [r15 + rdx - 1]
jne 0x14000112f
nop
cmp rdx, 7
jne 0x140001110
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
cmp byte [rcx], 0x2d
jne 0x14000117a
cmp byte [rcx + 1], 0x50
jne 0x140001146
nop word [rax + rax]
cmp byte [rcx + 2], sil
je 0x140001157
cmp byte [rcx], 0x2d
jne 0x14000117a
cmp byte [rcx + 1], 0x70
jne 0x14000117a
cmp byte [rcx + 2], sil
jne 0x14000117a
lea edx, ds:[r10 + 1]
cmp edx, r11d
jge 0x14000117e
mov rax, qword [r8]
inc r9
mov qword [rdi], rax
add r8, 8
mov r10d, edx
jmp 0x140001254
lea edx, [r10 + 1]
cmp byte [rcx], 0x2d
jne 0x14000122f
cmp byte [rcx + 1], 0x6c
jne 0x140001193
cmp byte [rcx + 2], sil
je 0x1400011a8
cmp byte [rcx], 0x2d
jne 0x14000122f
cmp byte [rcx + 1], 0x4c
jne 0x1400011c5
cmp byte [rcx + 2], sil
jne 0x1400011c5
cmp edx, r11d
jge 0x1400011c5
mov rax, qword ds:[r8]
inc r9
mov qword [rdi + 8], rax
add r8, 8
mov r10d, edx
jmp 0x140001254
cmp byte [rcx], 0x2d
jne 0x14000122f
cmp byte [rcx + 1], 0x72
jne 0x1400011d6
cmp byte [rcx + 2], sil
je 0x1400011e8
cmp byte [rcx], 0x2d
jne 0x14000122f
cmp byte ds:[rcx + 1], 0x52
jne 0x140001202
cmp byte [rcx + 2], sil
jne 0x140001202
cmp edx, r11d
jge 0x140001202
mov rax, qword ds:[r8]
inc r9
mov qword [rdi + 0x18], rax
add r8, 8
mov r10d, edx
jmp 0x140001254
cmp byte [rcx], 0x2d
jne 0x14000122f
cmp byte [rcx + 1], 0x76
jne 0x140001213
cmp byte [rcx + 2], sil
je 0x140001226
cmp byte [rcx], 0x2d
jne 0x14000122f
cmp byte [rcx + 1], 0x56
jne 0x14000122f
nop
cmp byte [rcx + 2], sil
jne 0x14000122f
mov dword [rdi + 0x24], 1
jmp 0x140001254
mov rdx, rsi
movzx eax, byte ds:[rcx + rdx]
inc rdx
cmp al, byte [r14 + rdx - 1]
jne 0x140001254
cmp rdx, 6
jne 0x140001232
mov dword [rdi + 0x34], 1
inc r10d
inc r9
add r8, 8
cmp r10d, r11d
jl 0x1400010e0
mov edx, 0x104
lea rcx, [rbp + 0x280]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__getcwd]
nop dword [rax + rax]
test eax, eax
je 0x1400014f6
lea rdx, [rsp + 0x50]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
nop dword [rax + rax]
test eax, eax
je 0x1400014f6
movzx eax, word [0x1400044b8]
mov rbx, rsi
movups xmm0, xmmword [0x1400044a0]
mov word [rsp + 0x48], ax
movzx eax, byte [0x1400044ba]
movsd xmm1, qword [0x1400044b0]
mov byte [rsp + 0x4a], al
movups xmmword [rsp + 0x30], xmm0
movsd qword [rsp + 0x40], xmm1
nop dword [rax]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
mov eax, 0x4ec4ec4f
imul r8d
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul ecx, edx, 0x1a
sub r8d, ecx
movsxd rax, r8d
movzx ecx, byte [rsp + rax + 0x30]
mov byte [rbp + rbx + 0x4d0], cl
inc rbx
cmp rbx, 6
jl 0x1400012e0
lea rax, [rbp + 0x4d0]
mov byte [rbp + 0x4d6], sil
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r8, str._s_s.dmp
mov edx, 0x104
lea rcx, [rbp + 0x60]
call fcn.140001010
lea rcx, [rbp + 0x60]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
mov qword [rdi + 0x10], rax
cmp qword [rdi], rsi
jne 0x14000140a
movzx eax, word [0x1400044b8]
mov rbx, rsi
movups xmm0, xmmword [0x1400044a0]
mov word [rsp + 0x48], ax
movzx eax, byte [0x1400044ba]
movsd xmm1, qword [0x1400044b0]
mov byte [rsp + 0x4a], al
movups xmmword [rsp + 0x30], xmm0
movsd qword [rsp + 0x40], xmm1
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
mov eax, 0x4ec4ec4f
imul r8d
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul ecx, edx, 0x1a
sub r8d, ecx
movsxd rax, r8d
movzx ecx, byte [rsp + rax + 0x30]
mov byte [rbp + rbx + 0x4e8], cl
inc rbx
cmp rbx, 6
jl 0x140001391
lea rax, [rbp + 0x4e8]
mov byte [rbp + 0x4ee], sil
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r8, str._s_s.exe
mov edx, 0x104
lea rcx, [rbp + 0x170]
call fcn.140001010
lea rcx, [rbp + 0x170]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
mov qword [rdi], rax
mov eax, esi
cmp qword [rdi + 0x18], rax
sete al
mov dword [rdi + 0x20], eax
cmp qword [rdi + 8], rsi
jne 0x1400014dc
movzx eax, word [0x1400044b8]
movups xmm0, xmmword [0x1400044a0]
mov word [rsp + 0x48], ax
movzx eax, byte [0x1400044ba]
movsd xmm1, qword [0x1400044b0]
mov byte [rsp + 0x4a], al
movups xmmword [rsp + 0x30], xmm0
movsd qword [rsp + 0x40], xmm1
nop dword [rax + rax]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
mov eax, 0x4ec4ec4f
imul r8d
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul ecx, edx, 0x1a
sub r8d, ecx
movsxd rax, r8d
movzx ecx, byte [rsp + rax + 0x30]
mov byte [rbp + rsi + 0x4e8], cl
inc rsi
cmp rsi, 6
jl 0x140001460
lea rax, [rbp + 0x4e8]
mov byte [rbp + 0x4ee], 0
lea r9, [rbp + 0x280]
mov qword [rsp + 0x20], rax
lea r8, str._s_s.dat
mov edx, 0x104
lea rcx, [rbp + 0x390]
call fcn.140001010
lea rcx, [rbp + 0x390]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
mov qword [rdi + 8], rax
mov rbx, qword [rsp + 0x5d8]
mov rax, rdi
add rsp, 0x5a0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0xffffffff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3