Function at 0x140001050
Capabilities:
Accept command line arguments
Create process on windows
Get common file path

Disassembly:
push rbp
push rbx
push rdi
push r12
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov rax, qword [0x14002c240]
xor rax, rsp
mov qword [rbp + 0x68], rax
mov rdi, qword [0x14002ce00]
lea rax, str.5_32_104_2_si_48_4_4_argc_64_8_3_len_80_8_7_windows_96_24_2_pi
mov qword [rsp + 0x50], 0x41b58ab3
lea rbx, [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov edx, 0xd
lea rax, [fcn.140001050]
shr rbx, 3
add rbx, rdi
mov qword [rsp + 0x60], rax
lea rcx, [rbx + 4]
mov dword [rbx], 0xf1f1f1f1
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_set_shadow_00
mov byte [rbx + 0x11], 0xf2
lea rcx, [rbp]
mov dword [rbx + 0x12], 0xf2f2f2f2
mov rax, rcx
mov dword [rbx + 0x16], 0xf2f8f204
mov dword [rbx + 0x1a], 0xf200
shr rax, 3
mov dword [rbx + 0x1e], 0xf3f3f300
mov byte [rbx + 0x22], 0xf3
movzx edx, byte [rax + rdi]
test dl, dl
je 0x140001101
movzx eax, cl
and al, 7
add al, 3
cmp al, dl
jl 0x140001101
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_store4
mov qword [rsp + 0x1a0], rsi
xor r15d, r15d
mov qword [rsp + 0x1a8], r13
mov qword [rsp + 0x1b0], r14
mov dword [rbp], r15d
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rbp]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov r12, rax
test rax, rax
je 0x14000127f
lea rcx, [rbp]
mov r14d, r15d
mov rdx, rcx
shr rdx, 3
movzx r8d, byte [rdx + rdi]
test r8b, r8b
je 0x140001168
movzx eax, cl
and al, 7
add al, 3
cmp al, r8b
jl 0x140001168
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_load4
mov r15d, dword [rbp]
test r15d, r15d
jle 0x14000127c
mov rsi, r12
xor r13d, r13d
nop dword [rax + rax]
lea rax, [rbp + 0x10]
shr rax, 3
mov byte [rax + rdi], r13b
mov rax, rsi
shr rax, 3
movzx ecx, byte [rax + rdi]
test cl, cl
je 0x1400011af
movzx eax, sil
and al, 7
add al, 7
cmp al, cl
jl 0x1400011af
mov rcx, rsi
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_load8
mov rbx, qword [rsi]
mov qword [rbp + 0x10], r13
test rbx, rbx
je 0x140001249
lea r8, [rbp + 0x10]
mov edx, 0x104
mov rcx, rbx
call fcn.140001740
test eax, eax
js 0x140001249
cmp qword [rbp + 0x10], 2
jb 0x140001249
mov rax, rbx
shr rax, 3
movzx ecx, byte [rax + rdi]
test cl, cl
je 0x1400011fd
movzx eax, bl
and al, 7
inc al
cmp al, cl
jl 0x1400011fd
mov rcx, rbx
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_load2
movzx eax, word [rbx]
mov ecx, 0xfffd
sub ax, 0x2d
test cx, ax
jne 0x140001249
add rbx, 2
mov rax, rbx
shr rax, 3
movzx ecx, byte [rax + rdi]
test cl, cl
je 0x140001234
movzx eax, bl
and al, 7
inc al
cmp al, cl
jl 0x140001234
mov rcx, rbx
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_load2
movzx eax, word [rbx]
mov ecx, 0xffdf
sub ax, 0x53
test cx, ax
je 0x1400015d9
lea rcx, [rbp]
inc r14d
mov rax, rcx
add rsi, 8
shr rax, 3
movzx edx, byte [rax + rdi]
test dl, dl
je 0x140001273
movzx eax, cl
and al, 7
add al, 3
cmp al, dl
jl 0x140001273
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_load4
cmp r14d, r15d
jl 0x140001180
xor r15d, r15d
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, 0x10000
call fcn.1400025a0
lea rcx, [rbp + 0x20]
mov r13, rax
mov rdx, rcx
shr rdx, 3
movzx r8d, byte [rdx + rdi]
test r8b, r8b
je 0x1400012bd
movzx edx, cl
and dl, 7
add dl, 7
cmp dl, r8b
jl 0x1400012bd
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_store8
lea r9, [rbp + 0x20]
mov qword [rbp + 0x20], r15
xor r8d, r8d
lea rcx, [0x14001ed60]
xor edx, edx
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
je 0x1400012fc
mov r9d, 0x30
lea r8, str.JPEG_Saver_helper_launcher_error
lea rdx, str.Unable_to_find_Windows_folder.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x140001585
lea rcx, [rbp + 0x20]
mov rax, rcx
shr rax, 3
movzx edx, byte [rax + rdi]
test dl, dl
je 0x14000131f
movzx eax, cl
and al, 7
add al, 7
cmp al, dl
jl 0x14000131f
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_load8
mov r9, qword [rbp + 0x20]
mov r14d, 0x8000
mov edx, r14d
mov rcx, r13
call fcn.140001640
mov esi, r14d
mov rbx, r13
nop word [rax + rax]
mov rax, rbx
shr rax, 3
movzx ecx, byte [rax + rdi]
test cl, cl
je 0x140001362
movzx eax, bl
and al, 7
inc al
cmp al, cl
jl 0x140001362
mov rcx, rbx
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_load2
cmp word [rbx], 0
je 0x140001372
add rbx, 2
sub rsi, 1
jne 0x140001340
mov rax, r14
sub rax, rsi
test rsi, rsi
cmove rax, r15
je 0x14000143b
lea rbx, [r13 + rax*2]
sub r14, rax
je 0x140001409
lea r12, str.JPEGSavr.scr__b
mov r15d, 0x7ffffffe
sub r12, rbx
nop
test r15, r15
je 0x140001406
lea rsi, [rbx + r12]
mov rax, rsi
shr rax, 3
movzx ecx, byte [rax + rdi]
test cl, cl
je 0x1400013cc
movzx eax, sil
and al, 7
inc al
cmp al, cl
jl 0x1400013cc
mov rcx, rsi
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_load2
movzx esi, word [rsi]
test si, si
je 0x140001406
mov rax, rbx
shr rax, 3
movzx ecx, byte [rax + rdi]
test cl, cl
je 0x1400013f6
movzx eax, bl
and al, 7
inc al
cmp al, cl
jl 0x1400013f6
mov rcx, rbx
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_store2
mov word [rbx], si
dec r15
add rbx, 2
sub r14, 1
jne 0x1400013a0
xor r15d, r15d
test r14, r14
lea rsi, [rbx - 2]
cmovne rsi, rbx
mov rax, rsi
shr rax, 3
movzx ecx, byte [rax + rdi]
test cl, cl
je 0x140001437
movzx eax, sil
and al, 7
inc al
cmp al, cl
jl 0x140001437
mov rcx, rsi
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_store2
mov word [rsi], r15w
lea rcx, [rbp + 0x20]
mov rax, rcx
shr rax, 3
movzx edx, byte [rax + rdi]
test dl, dl
je 0x14000145e
movzx eax, cl
and al, 7
add al, 7
cmp al, dl
jl 0x14000145e
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_load8
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
xor edx, edx
lea rcx, [rsp + 0x70]
mov r9d, 4
mov r8d, 0x68
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_memset
xor edx, edx
lea rcx, [rbp + 0x30]
mov r9d, 4
mov r8d, 0x18
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_memset
lea rcx, [rsp + 0x70]
mov rax, rcx
shr rax, 3
movzx edx, byte [rax + rdi]
test dl, dl
je 0x1400014bb
movzx eax, cl
and al, 7
add al, 3
cmp al, dl
jl 0x1400014bb
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_store4
lea rax, [rbp + 0x30]
mov dword [rsp + 0x70], 0x68
mov qword [rsp + 0x48], rax
xor r9d, r9d
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
mov rdx, r13
mov qword [rsp + 0x38], r15
xor ecx, ecx
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x208
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x140001561
lea rcx, [rbp + 0x30]
mov rax, rcx
shr rax, 3
movzx edx, byte [rax + rdi]
test dl, dl
je 0x140001528
movzx eax, cl
and al, 7
add al, 7
cmp al, dl
jl 0x140001528
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_load8
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp + 0x38]
mov rax, rcx
shr rax, 3
movzx edx, byte [rax + rdi]
test dl, dl
je 0x140001555
movzx eax, cl
and al, 7
add al, 7
cmp al, dl
jl 0x140001555
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_load8
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000157d
mov r9d, 0x30
lea r8, str.JPEG_Saver_helper_launcher_error
lea rdx, str.Unable_to_start_Helper.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rcx, r13
call fcn.140002650
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x50], 0x45e0360e
shr rcx, 3
mov edx, 0x23
add rcx, rdi
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_set_shadow_00
mov r14, qword [rsp + 0x1b0]
xor eax, eax
mov r13, qword [rsp + 0x1a8]
mov rsi, qword [rsp + 0x1a0]
mov rcx, qword [rbp + 0x68]
xor rcx, rsp
call fcn.140002910
add rsp, 0x170
pop r15
pop r12
pop rdi
pop rbx
pop rbp
ret
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LocalFree]
call fcn.1400015f0
int3