Function at 0x140066350
Capabilities:
Accept command line arguments
Enumerate gui resources
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0xa08]
sub rsp, 0xaf0
mov rax, qword [0x1401e7e78]
xor rax, rsp
mov qword [rbp + 0x9e0], rax
mov rdi, rcx
mov r14b, 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xor r15d, r15d
cmp dword [rcx], r15d
jne 0x1400663a0
xor eax, eax
jmp 0x140066701
mov rcx, qword [rcx + 0x230]
test rcx, rcx
je 0x1400663ff
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1400663cb
cmp dword [rdi], 3
jne 0x14006669b
mov qword [rdi + 0xd10], r15
jmp 0x14006669b
cmp dword [rdi], 3
jne 0x1400663ee
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.Specified_window_not_found
call fcn.14011f550
jmp 0x140066691
mov qword [rdi + 0xd10], r15
xor edx, edx
mov rcx, rdi
call fcn.140067180
xor edx, edx
mov r8d, 0x238
lea rcx, [rbp - 0x60]
call fcn.14013b230
cmp dword [rdi + 0x22c], r15d
je 0x14006644c
mov ebx, dword [rdi + 0x22c]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp ebx, eax
je 0x140066440
lea rdx, [rbp - 0x60]
mov ecx, ebx
call fcn.140129db4
test al, al
je 0x140066440
mov ebx, dword [rdi + 0x22c]
jmp 0x140066470
lea rcx, str.Invalid_parent_process_specified
jmp 0x14006667c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
lea rdx, [rbp - 0x60]
call fcn.140129db4
test al, al
je 0x140066675
mov ebx, dword [rbp - 0x40]
test ebx, ebx
je 0x140066675
mov dword [rsp + 0x60], ebx
lea rdx, [rsp + 0x60]
lea rcx, [0x140065f80]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rcx, qword [rsp + 0x68]
test rcx, rcx
jne 0x1400664cd
mov byte [rsp + 0x20], r14b
lea rcx, str.Cant_find_appropriate_parent_window__n_nContinue_in_normal_mode_
or rbx, 0xffffffffffffffff
mov edx, 0x114
xor r8d, r8d
mov r9, rbx
call fcn.14002b0f8
mov rcx, rdi
cmp eax, 6
je 0x1400664c5
mov rdx, rbx
call fcn.140067180
jmp 0x1400666fa
mov dword [rdi], r15d
jmp 0x140066694
mov qword [rdi + 0xd08], rcx
mov dword [rdi + 0x22c], ebx
call fcn.1400662b0
mov rsi, rax
test rax, rax
je 0x1400665f9
mov rcx, qword [0x14021c748]
mov dword [rcx + 0x11b48], r15d
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rbx, rax
lea rcx, [rsp + 0x70]
call fcn.1401286a8
nop
jmp 0x140066596
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
xor r9d, r9d
lea r8, [0x140176e70]
lea rdx, str._runlist
lea rcx, [rsp + 0x70]
call fcn.1401288cc
test al, al
jne 0x1400665bf
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
xor r9d, r9d
lea r8, [0x140171fa8]
lea rdx, [0x140171fb8]
lea rcx, [rsp + 0x70]
call fcn.1401288cc
test al, al
jne 0x1400665b4
xor r8d, r8d
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.14012571c
test rax, rax
mov rbx, rax
jne 0x140066512
jmp 0x1400665bf
test rbx, rbx
je 0x1400665bf
cmp word [rbx], r15w
jne 0x1400665c2
mov rbx, r15
mov r8, rbx
mov rdx, rsi
mov rcx, qword [0x14021c5d8]
call fcn.140021a70
or rdx, 0xffffffffffffffff
mov rcx, rdi
call fcn.140067180
mov rbx, qword [rdi + 0x230]
lea rcx, [rsp + 0x70]
call fcn.1401286cc
mov rax, rbx
jmp 0x140066701
mov rdx, qword [rsp + 0x68]
mov rcx, rdi
call fcn.140066730
mov rax, qword [rdi + 0x230]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x140066624
cmp qword [rdi + 0xd10], r15
jne 0x14006669b
cmp dword [rdi], 2
jne 0x14006669b
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp - 0x60]
call fcn.14013b230
test r14b, r14b
je 0x14006664d
mov r14b, r15b
lea rdx, [rbp - 0x60]
mov rcx, rdi
call fcn.1400672c4
test al, al
jne 0x140066606
lea r8, [rbp - 0x60]
lea rdx, str._sCant_find_appropriate_shell_window__nUnrecognized_layout_of_the_Explorer._n_nContinue_in_normal_mode_
lea rcx, [rbp + 0x1e0]
call fcn.140004a58
mov byte [rsp + 0x20], 1
lea rcx, [rbp + 0x1e0]
jmp 0x14006649c
lea rcx, str.GetProcessInfo_GetCurrentProcessId____failed
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call fcn.14011f550
mov dword [rdi], r15d
mov rcx, rdi
xor edx, edx
call fcn.140067180
mov rcx, qword [rdi + 0x230]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400666f7
lea rdx, [rdi + 0x22c]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
lea rbx, [rdi + 0xd4a]
mov rdx, rbx
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 3
jle 0x1400666fa
dec eax
movsxd rcx, eax
cmp word [rdi + rcx*2 + 0xd4a], 0x5c
jne 0x1400666fa
mov word [rdi + rcx*2 + 0xd4a], r15w
jmp 0x1400666fa
mov dword [rdi], r15d
mov rax, qword [rdi + 0x230]
mov rcx, qword [rbp + 0x9e0]
xor rcx, rsp
call fcn.140139b10
lea r11, [rsp + 0xaf0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret