Function at 0x140013d39
Capabilities:
Create process on windows
Get common file path
Set current directory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x62f0
call fcn.140031fcd
sub rsp, rax
mov rax, qword [0x1401279c0]
xor rax, rsp
mov qword [rsp + 0x62e0], rax
xor r13d, r13d
mov sil, r8b
mov rdi, rdx
mov r12, rcx
mov r15d, 0x1770
lea r14d, [r13 + 1]
mov byte [0x140136720], r13b
cmp rdx, r13
je 0x1400142a9
mov rax, qword [rdx + 0x20]
sub rax, qword [rdx + 0x18]
sar rax, 3
cmp rax, r14
jbe 0x140013ec9
mov rcx, qword [rdx + 0x18]
lea rdx, str._create_i4j_log
mov rcx, qword [rcx + 8]
call fcn.140015ea6
cmp eax, r13d
je 0x140013e6d
mov rax, qword [rdi + 0x20]
sub rax, qword [rdi + 0x18]
sar rax, 3
cmp rax, r14
ja 0x140013de2
call fcn.140015cdc
mov rcx, qword [rdi + 0x18]
lea rdx, str._create_e4j_log
mov rcx, qword [rcx + 8]
call fcn.140015ea6
cmp eax, r13d
je 0x140013e6d
mov rax, qword [rdi + 0x20]
sub rax, qword [rdi + 0x18]
sar rax, 3
cmp rax, r14
ja 0x140013e19
call fcn.140015cdc
mov rcx, qword [rdi + 0x18]
lea rdx, [0x140040ea8]
mov rcx, qword [rcx + 8]
call fcn.140015ea6
cmp eax, r13d
je 0x140013e6d
mov rax, qword [rdi + 0x20]
sub rax, qword [rdi + 0x18]
sar rax, 3
cmp rax, r14
ja 0x140013e50
call fcn.140015cdc
mov rcx, qword [rdi + 0x18]
lea rdx, [0x140040e88]
mov rcx, qword [rcx + 8]
call fcn.140015ea6
cmp eax, r13d
jne 0x140013ec9
mov rbx, qword [rdi + 0x18]
cmp rbx, qword [rdi + 0x20]
jbe 0x140013e80
call fcn.140015cdc
mov rax, qword [rdi]
mov qword [rsp + 0x68], rbx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x60], rax
mov rdx, r14
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
call fcn.14000905f
lea r8, [rsp + 0x60]
movaps xmm5, xmmword [rsp + 0x60]
lea rdx, [rsp + 0x70]
mov rcx, rdi
movdqa xmmword [rsp + 0x60], xmm5
call fcn.140013ca9
mov byte [0x140137eb3], r14b
cmp sil, r13b
je 0x1400142a9
mov rcx, qword [rdi + 0x20]
mov esi, r13d
mov rbx, r13
sub rcx, qword [rdi + 0x18]
sar rcx, 3
cmp rcx, r13
jbe 0x1400142a9
cmp rbx, rcx
jb 0x140013efb
call fcn.140015cdc
mov rcx, qword [rdi + 0x18]
lea rdx, str._temp
mov rcx, qword [rcx + rbx*8]
call fcn.140015ea6
cmp eax, r13d
je 0x140013f72
mov rax, qword [rdi + 0x20]
sub rax, qword [rdi + 0x18]
sar rax, 3
cmp rbx, rax
jb 0x140013f32
call fcn.140015cdc
mov rcx, qword [rdi + 0x18]
lea rdx, [0x140040e68]
mov rcx, qword [rcx + rbx*8]
call fcn.140015ea6
cmp eax, r13d
je 0x140013f72
mov rcx, qword [rdi + 0x20]
add esi, r14d
add rbx, r14
sub rcx, qword [rdi + 0x18]
movsxd rax, esi
sar rcx, 3
cmp rax, rcx
jb 0x140013eed
jmp 0x1400142a9
mov rcx, qword [rdi + 0x20]
movsxd rbp, esi
sub rcx, qword [rdi + 0x18]
sar rcx, 3
lea rax, [rcx - 1]
cmp rbp, rax
jae 0x140014254
lea eax, [rsi + 1]
movsxd rbx, eax
cmp rbx, rcx
jb 0x140013fa2
call fcn.140015cdc
mov rcx, qword [rdi + 0x18]
mov rcx, qword [rcx + rbx*8]
call fcn.140015e86
cmp rax, r13
jbe 0x140014254
mov rax, qword [rdi + 0x20]
sub rax, qword [rdi + 0x18]
sar rax, 3
cmp rbx, rax
jb 0x140013fd2
call fcn.140015cdc
mov rcx, qword [rdi + 0x18]
mov rcx, qword [rcx + rbx*8]
call fcn.140015e86
mov rcx, 0xffffffffffffffff
lea r11, [r14 + rax]
mov eax, 2
mul r11
cmovo rax, rcx
mov rcx, rax
call fcn.140015112
mov qword [0x140136678], rax
mov rcx, qword [rdi + 0x20]
sub rcx, qword [rdi + 0x18]
sar rcx, 3
cmp rbx, rcx
jb 0x140014026
call fcn.140015cdc
mov rax, qword [0x140136678]
mov rdx, qword [rdi + 0x18]
mov rcx, rax
mov rdx, qword [rdx + rbx*8]
call fcn.140016628
mov rcx, qword [0x140136678]
mov r8b, r14b
xor edx, edx
call fcn.1400062bc
cmp al, r13b
je 0x140014195
mov rcx, r15
mov dword [rsp + 0x50], r13d
call fcn.140015112
mov rcx, qword [0x140136678]
mov qword [0x140136680], rax
call fcn.140015e86
lea ebx, [r14 + rax]
call qword [sym.imp.KERNEL32.dll_AreFileApisANSI]
mov rdx, qword [0x140136680]
mov r8, qword [0x140136678]
cmp eax, r13d
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov ecx, r13d
sete cl
lea rsi, [0x14003d3d4]
mov r9d, ebx
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rdx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp dword [rsp + 0x50], r13d
jne 0x1400140e1
mov rcx, qword [0x140136680]
mov r8b, r14b
xor edx, edx
call fcn.140006201
cmp al, r13b
jne 0x140014176
mov rcx, qword [0x140136678]
lea rdx, [rsp + 0x520]
mov r8d, r15d
call qword [sym.imp.KERNEL32.dll_GetShortPathNameW]
lea rcx, [rsp + 0x520]
mov dword [rsp + 0x50], r13d
call fcn.140015e86
lea ebx, [r14 + rax]
call qword [sym.imp.KERNEL32.dll_AreFileApisANSI]
mov rdx, qword [0x140136680]
cmp eax, r13d
lea rax, [rsp + 0x50]
mov ecx, r13d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
sete cl
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rdx
lea r8, [rsp + 0x520]
xor edx, edx
mov r9d, ebx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp dword [rsp + 0x50], r13d
jne 0x140014195
mov rcx, qword [0x140136680]
mov r8b, r14b
xor edx, edx
call fcn.140006201
cmp al, r13b
je 0x140014195
mov r8, qword [0x140136680]
mov rdx, qword [0x140136678]
lea rcx, str.Using_manual_temp_dir__s___S_
call fcn.140011192
jmp 0x1400142a9
mov r8, qword [0x140136680]
mov rdx, qword [0x140136678]
lea rcx, str.Manual_temp_dir_not_usable__s___S_
call fcn.140011192
mov rcx, qword [0x140136678]
cmp rcx, r13
je 0x1400141cb
call fcn.140015678
mov qword [0x140136678], r13
mov rcx, qword [0x140136680]
cmp rcx, r13
je 0x1400141e7
call fcn.140015678
mov qword [0x140136680], r13
mov rbx, qword [rdi + 0x18]
cmp rbx, qword [rdi + 0x20]
jbe 0x1400141fa
call fcn.140015cdc
mov rax, qword [rdi]
mov qword [rsp + 0x68], rbx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x60], rax
mov rdx, rbp
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
call fcn.14000905f
lea rcx, [rsp + 0x60]
movaps xmm5, xmmword [rsp + 0x60]
mov rdx, r14
movdqa xmmword [rsp + 0x60], xmm5
call fcn.14000905f
lea r8, [rsp + 0x60]
movaps xmm5, xmmword [rsp + 0x60]
lea rdx, [rsp + 0x70]
mov rcx, rdi
movdqa xmmword [rsp + 0x60], xmm5
call fcn.140013ca9
mov rbx, qword [rdi + 0x18]
cmp rbx, qword [rdi + 0x20]
jbe 0x140014267
call fcn.140015cdc
mov rax, qword [rdi]
mov qword [rsp + 0x68], rbx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x60], rax
mov rdx, rbp
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
call fcn.14000905f
lea r8, [rsp + 0x60]
movaps xmm5, xmmword [rsp + 0x60]
lea rdx, [rsp + 0x70]
mov rcx, rdi
movdqa xmmword [rsp + 0x60], xmm5
call fcn.140013ca9
mov rcx, rdi
call fcn.140004ab1
lea rdx, [rsp + 0x50]
mov r8d, 2
mov ecx, 0x7d1
mov qword [0x140137ea8], r12
call fcn.1400048ef
movzx r11d, word [rsp + 0x50]
mov byte [0x140137e90], r11b
cmp r11b, 0x65
jne 0x1400142fe
lea rax, str.exe4j
mov qword [0x140137ea0], rax
lea rax, [0x140040a58]
jmp 0x140014313
lea rax, str.install4j
mov qword [0x140137ea0], rax
lea rax, [0x140040a30]
mov qword [0x140137e98], rax
cmp byte [0x140137eb0], r13b
je 0x140014334
cmp byte [0x140137eb1], r13b
je 0x1400143b6
lea rdx, [rsp + 0x520]
mov r8d, r15d
mov ecx, 0x92
call fcn.140004894
cmp word [rsp + 0x520], r13w
je 0x1400143aa
lea rcx, [rsp + 0x520]
mov dl, r14b
call fcn.140008919
lea rdx, [rsp + 0x520]
lea rcx, [rsp + 0x3400]
mov r9b, r14b
mov r8b, r14b
call fcn.140006e0d
lea rcx, [rsp + 0x3400]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea rdx, [rsp + 0x3400]
lea rcx, str.change_working_directory_to__s
call fcn.140011192
jmp 0x1400143b6
lea rcx, str.working_directory_unchanged
call fcn.140011192
cmp byte [0x140137eb3], r13b
je 0x1400144fa
call fcn.1400110ea
lea rdx, str.The_following_log_file_will_be_created:_n_n_s_n_nDo_you_want_to_open_an_Explorer_window_
lea rcx, [rsp + 0x520]
mov r8, rax
call fcn.140016648
mov r8, qword [0x140137e98]
lea rdx, [rsp + 0x520]
mov r9d, 4
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x1400144fa
call fcn.1400110ea
mov ebx, 0x104
lea rdx, [rsp + 0x310]
mov rcx, rax
mov r8d, ebx
call qword [sym.imp.KERNEL32.dll_GetShortPathNameW]
lea rcx, [rsp + 0x100]
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea r9, [rsp + 0x310]
lea r8, [rsp + 0x100]
lea rdx, str._sexplorer.exe__select__s
lea rcx, [rsp + 0x520]
call fcn.140016648
lea rdx, [rsp + 0x520]
lea rcx, str.calling__s
call fcn.140011192
xor edx, edx
lea rcx, [rsp + 0x70]
lea r8d, [rdx + 0x18]
call fcn.140018ff4
mov ebx, 0x68
lea rcx, [rsp + 0x90]
mov r8, rbx
xor edx, edx
call fcn.140018ff4
lea rax, [rsp + 0x70]
lea rdx, [rsp + 0x520]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x90]
xor r9d, r9d
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
xor r8d, r8d
xor ecx, ecx
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], r14d
mov dword [rsp + 0x90], ebx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, r13d
jne 0x1400144fa
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.could_not_open_explorer_window__d
mov edx, eax
call fcn.140011192
mov rcx, qword [rsp + 0x62e0]
xor rcx, rsp
call fcn.140015ae6
lea r11, [rsp + 0x62f0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret