Function at 0x140001770
Capabilities:
Create process on windows
Get common file path

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xa88]
sub rsp, 0xb60
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14003a138]
xor rax, rsp
mov qword [rbp + 0xa50], rax
mov r14, rcx
call fcn.140001400
xor ebx, ebx
test al, al
je 0x140001921
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], rbx
mov word [rsp + 0x50], bx
lea rsi, [0x14003df40]
cmp word [0x14003df40], bx
jne 0x1400017e9
mov edi, ebx
jmp 0x1400017f9
or rdi, 0xffffffffffffffff
nop dword [rax]
inc rdi
cmp word [rsi + rdi*2], bx
jne 0x1400017f0
mov r8, rdi
mov rdx, rsi
lea rcx, [rsp + 0x50]
call fcn.140002460
lea rax, [rsp + 0x50]
mov qword [rsp + 0x70], rax
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rdx, qword [rsp + 0x50]
lea r8, [rbp + 0x430]
call fcn.140003840
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x10]
call fcn.140009000
xor r9d, r9d
lea r8d, [r9 + 0x25]
lea rdx, [rbp + 0x10]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea r8, str._rundll32.exe
mov edx, 0x104
lea rcx, [rbp + 0x10]
call fcn.1400066e8
xor edx, edx
lea r8d, [rdx + 0x68]
lea rcx, [rbp - 0x80]
call fcn.140009000
mov dword [rbp - 0x80], 0x68
xor eax, eax
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rax
mov qword [rbp], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x430]
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1400018e0
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor r8d, r8d
lea rdx, [0x140034a40]
lea rcx, [0x140034a70]
call fcn.140017040
nop
cmp qword [rsp + 0x68], 8
jb 0x140001909
mov rcx, qword [rsp + 0x50]
call fcn.140005770
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x10]
mov rcx, r14
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x140001c2d
mov dword [0x14003df20], ebx
mov byte [0x14003df24], bl
mov edx, 0x3ec
mov rcx, r14
call qword [sym.imp.USER32.dll_GetDlgItem]
xor r9d, r9d
mov edx, 0xf1
lea r8d, [r9 + 1]
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov edx, 0x3f2
mov rcx, r14
call qword [sym.imp.USER32.dll_GetDlgItem]
mov r15, rax
mov edx, 0x3ed
mov rcx, r14
call qword [sym.imp.USER32.dll_GetDlgItem]
mov r12, rax
mov edx, 0x3ef
mov rcx, r14
call qword [sym.imp.USER32.dll_GetDlgItem]
mov r13, rax
lea rsi, [0x14003df40]
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], rbx
mov word [rsp + 0x50], bx
or rdi, 0xffffffffffffffff
cmp word [rax], bx
jne 0x1400019b4
mov r8, rbx
jmp 0x1400019ca
mov r8, rdi
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], bx
jne 0x1400019c0
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140002460
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x10]
call fcn.1400012c0
cmp qword [rax + 0x18], 8
jb 0x1400019ef
mov rax, qword [rax]
mov rdx, rax
mov rcx, r15
call qword [sym.imp.USER32.dll_SetWindowTextW]
cmp qword [rbp + 8], 8
jb 0x140001a0b
mov rcx, qword [rbp - 0x10]
call fcn.140005770
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], rbx
mov word [rsp + 0x50], bx
cmp word [rax], bx
jne 0x140001a31
mov r8, rbx
jmp 0x140001a3e
mov r8, rdi
inc r8
cmp word [rax + r8*2], bx
jne 0x140001a34
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140002460
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x10]
call fcn.1400012c0
cmp qword [rax + 0x18], 8
jb 0x140001a63
mov rax, qword [rax]
mov r9, rax
mov r8d, 0x104
lea rdx, [rbp + 0x220]
mov ecx, 0x3f5
call fcn.140001240
cmp qword [rbp + 8], 8
jb 0x140001a8d
mov rcx, qword [rbp - 0x10]
call fcn.140005770
lea rdx, [rbp + 0x220]
mov rcx, r12
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], rbx
mov word [rsp + 0x50], bx
cmp word [rax], bx
je 0x140001acb
mov rbx, rdi
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140001ac1
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140002460
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x10]
call fcn.1400012c0
cmp qword [rax + 0x18], 8
jb 0x140001af3
mov rax, qword [rax]
mov r9, rax
mov r8d, 0x104
lea rdx, [rbp + 0x220]
mov ecx, 0x3f6
call fcn.140001240
cmp qword [rbp + 8], 8
jb 0x140001b1d
mov rcx, qword [rbp - 0x10]
call fcn.140005770
lea rdx, [rbp + 0x220]
mov rcx, r13
call qword [sym.imp.USER32.dll_SetWindowTextW]
lea rcx, str.WzDlg64.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x14003e150], rax
test rax, rax
je 0x140001c2d
lea rdx, str.CreateWzCustomControl
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x140001c01
mov edx, 0x3ec
mov rcx, r14
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov edx, 5
call rbx
mov qword [0x14003df38], rax
mov edx, 0x3ed
mov rcx, r14
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov edx, 5
call rbx
mov qword [0x14003df28], rax
mov edx, 0x3ee
mov rcx, r14
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov edx, 5
call rbx
mov qword [0x14003df10], rax
mov edx, 0x3ef
mov rcx, r14
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov edx, 6
call rbx
mov qword [0x14003e148], rax
mov edx, 0x3f0
mov rcx, r14
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov edx, 1
call rbx
mov qword [0x14003df30], rax
lea rdx, str.GetUIColor
mov rcx, qword [0x14003e150]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140001c2d
xor ecx, ecx
call rax
mov ecx, eax
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
mov qword [0x14003df18], rax
xor eax, eax
mov rcx, qword [rbp + 0xa50]
xor rcx, rsp
call fcn.140004db0
lea r11, [rsp + 0xb60]
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