Function at 0x1400bb700
Capabilities:
Get common file path
Get file version info

Disassembly:
mov byte [rsp + 0x20], r9b
mov qword [rsp + 0x18], r8
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
sub rsp, 0x398
mov byte [rsp + 0x48], 0x65
movabs rax, 0xe791db4666f2ea7b
mov qword [rsp + 0x40], rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
mov rax, qword [rsp + 0x3b0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x3b0]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
cmp rax, qword [rsp + 0x3a0]
jl 0x1400bb961
movzx eax, byte [section..data]
mov byte [rsp + 0x90], al
cmp byte [rsp + 0x90], 0x6a
je 0x1400bb78d
jmp 0x1400bb91b
movabs rax, 0x282ebdc1ad983077
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x60], rax
mov eax, 0x576
mov word [rsp + 0x38], ax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xa0], rax
movabs rax, 0xa713142bcdc1f111
cmp qword [rsp + 0xa0], rax
je 0x1400bb909
movabs rax, 0xbf631d84b95aba04
cmp qword [rsp + 0xa0], rax
je 0x1400bb7f9
jmp 0x1400bb919
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xa8], rax
movabs rax, 0xe6050ca7a7c545ba
cmp qword [rsp + 0xa8], rax
je 0x1400bb837
movabs rax, 0xf547e99dbf887547
cmp qword [rsp + 0xa8], rax
je 0x1400bb8e6
jmp 0x1400bb907
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x3b0], rax
movzx eax, byte [rsp + 0x3a8]
mov byte [rsp + 0x20], al
movzx r9d, byte [rsp + 0x3c0]
mov r8, qword [rsp + 0x50]
movzx edx, byte [rsp + 0x3a8]
mov rcx, qword [rsp + 0x50]
call fcn.1400bb700
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0xf8]
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x3b0]
mov rcx, qword [rsp + 0x60]
and rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
movzx eax, byte [rsp + 0x3b8]
mov byte [rsp + 0x20], al
movzx r9d, byte [rsp + 0x3c0]
mov r8, qword [rsp + 0x50]
movzx edx, byte [rsp + 0x3a8]
mov rcx, qword [rsp + 0x50]
call fcn.1400bb700
movabs rax, 0x608c213bd6981424
mov rcx, qword [rsp + 0x40]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x1400bb907
lea r9, [rsp + 0x40]
mov r8d, 0x68
mov edx, 0xd9
mov rcx, qword [rsp + 0xd8]
call sub.VERSION.dll_GetFileVersionInfoA
mov dword [rsp + 0x78], eax
jmp 0x1400bb919
mov rax, qword [rsp + 0x3a0]
mov qword [rsp + 0x3b0], rax
jmp 0x1400bb961
movzx eax, byte [rsp + 0x3a8]
mov byte [rsp + 0x20], al
movzx r9d, byte [rsp + 0x3c0]
mov r8, qword [rsp + 0x50]
movzx edx, byte [rsp + 0x3c0]
mov rcx, qword [rsp + 0x60]
call fcn.1400bb700
movabs rax, 0x76b654ebadf80423
mov rcx, qword [rsp + 0x40]
or rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x70], 0
je 0x1400bb983
cmp dword [rsp + 0x70], 0x339f896d
je 0x1400bbdcf
jmp 0x1400bbe17
movzx eax, byte [section..data]
mov byte [rsp + 0x30], al
mov dword [rsp + 0x3c], 0x5d834dc1
movzx eax, word [rsp + 0x38]
cmp eax, 0x45d
jg 0x1400bb9af
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x3b0], rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
nop
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xc8], rax
cmp qword [rsp + 0xc8], 0
je 0x1400bb9d7
jmp 0x1400bbac2
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xd0], rax
movabs rax, 0xbf631d84b95aba04
cmp qword [rsp + 0xd0], rax
je 0x1400bb9fd
jmp 0x1400bbab3
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
nop
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x6c], al
cmp byte [rsp + 0x6c], 0x45
je 0x1400bba73
cmp byte [rsp + 0x6c], 0x6a
je 0x1400bba24
jmp 0x1400bbab1
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x94], al
cmp byte [rsp + 0x94], 0x14
je 0x1400bba3c
jmp 0x1400bba67
lea r8, [rsp + 0x40]
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0x100]
call qword [sym.imp.USERENV.dll_GetUserProfileDirectoryA]
mov dword [rsp + 0x7c], eax
mov eax, dword [rsp + 0x3c]
shl eax, 1
mov dword [rsp + 0x3c], eax
jmp 0x1400bba71
mov eax, 0x2e0a
mov word [rsp + 0x34], ax
jmp 0x1400bbab1
movzx eax, byte [rsp + 0x3b8]
mov byte [rsp + 0x20], al
movzx r9d, byte [rsp + 0x3b8]
mov r8, qword [rsp + 0x60]
movzx edx, byte [rsp + 0x3a8]
mov rcx, qword [rsp + 0x50]
call fcn.1400bb700
lea rcx, [rsp + 0x190]
call qword [sym.imp.COMDLG32.dll_ChooseFontA]
mov dword [rsp + 0x7c], eax
jmp 0x1400bbac0
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x3b0], rax
jmp 0x1400bbafe
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x9c], al
cmp byte [rsp + 0x9c], 0x26
je 0x1400bbada
jmp 0x1400bbaf4
movzx r8d, byte [rsp + 0x3b8]
movzx edx, word [rsp + 0x34]
mov ecx, dword [rsp + 0x58]
call fcn.1400bc550
nop
jmp 0x1400bbafe
call qword [sym.imp.COMDLG32.dll_CommDlgExtendedError]
mov dword [rsp + 0x68], eax
call qword [sym.imp.KERNEL32.dll_ConvertFiberToThread]
nop
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x74], al
cmp byte [rsp + 0x74], 0x29
je 0x1400bbb25
cmp byte [rsp + 0x74], 0x6a
je 0x1400bbbb2
jmp 0x1400bbc5f
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x3b0], rax
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x98], eax
cmp dword [rsp + 0x98], 0x1c553bc
je 0x1400bbb4c
jmp 0x1400bbb66
movzx r8d, byte [rsp + 0x3b8]
movzx edx, word [rsp + 0x34]
mov ecx, dword [rsp + 0x68]
call fcn.1400bc550
nop
jmp 0x1400bbb9d
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x3b0]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x270]
call qword [sym.imp.COMDLG32.dll_PageSetupDlgA]
mov dword [rsp + 0x78], eax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x3b0], rax
mov rax, qword [rsp + 0x3a0]
mov qword [rsp + 0x3b0], rax
jmp 0x1400bbc5f
movabs rax, 0xcabd1c5bc31b0c40
cmp qword [rsp + 0x40], rax
jbe 0x1400bbc42
lea rcx, [rsp + 0x200]
call qword [sym.imp.COMDLG32.dll_ChooseFontA]
mov dword [rsp + 0xb8], eax
movsx eax, byte [section..data]
add eax, 0x17
mov byte [rsp + 0x30], al
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xe0], rax
movabs rax, 0x9e1e8df752290a6f
cmp qword [rsp + 0xe0], rax
je 0x1400bbc09
jmp 0x1400bbc35
lea rcx, [rsp + 0x140]
call qword [sym.imp.COMDLG32.dll_ChooseColorA]
mov dword [rsp + 0x78], eax
movzx r8d, byte [rsp + 0x3c0]
movzx edx, word [rsp + 0x34]
mov ecx, dword [rsp + 0x68]
call fcn.1400bc550
nop
jmp 0x1400bbc42
mov eax, dword [rsp + 0x3c]
and eax, 0x1ddd1aca
mov dword [rsp + 0x3c], eax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
movzx eax, word [rax]
mov word [rsp + 0x5c], ax
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_PrepareTape]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_InitAtomTable]
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0xc0], eax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xb0], rax
movabs rax, 0x3de0fb2396635cf
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
cmp rax, qword [rsp + 0xb0]
jae 0x1400bbd1f
mov rax, qword [rsp + 0x80]
movsx eax, word [rax]
movsx ecx, word [rsp + 0x5c]
sub eax, ecx
movsx ecx, word [rsp + 0x34]
cmp eax, ecx
jle 0x1400bbcf5
lea rcx, [rsp + 0x2f0]
call qword [sym.imp.COMDLG32.dll_GetOpenFileNameA]
mov dword [rsp + 0x7c], eax
mov rax, qword [rsp + 0x80]
movsx eax, word [rax]
movsx ecx, word [rsp + 0x5c]
sub eax, ecx
mov rcx, qword [rsp + 0x80]
mov word [rcx], ax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x58], eax
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x20], al
mov r9d, dword [rsp + 0x3c]
movzx r8d, word [rsp + 0x38]
mov edx, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x58]
call fcn.1400bcc50
nop
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
movsx eax, byte [rsp + 0x30]
movsx ecx, byte [section..data]
add eax, ecx
mov byte [rsp + 0x48], al
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
movzx eax, byte [rsp + 0x3c0]
mov byte [rsp + 0x49], al
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetProcessPriorityBoost]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FreeResource]
movzx eax, word [rsp + 0x38]
mov word [rsp + 0x8c], ax
movzx eax, word [rsp + 0x34]
mov word [rsp + 0x88], ax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LocalCompact]
lea rax, [rsp + 0x49]
mov qword [rsp + 0x108], rax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x110], rax
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x3a0]
mov qword [rsp + 0x120], rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
nop
jmp 0x1400bbe17
mov rax, qword [rsp + 0x50]
movzx ecx, al
mov rax, qword [rsp + 0x3a0]
sar rax, cl
mov qword [rsp + 0x60], rax
lea r8, [rsp + 0xe8]
mov rdx, qword [rsp + 0x128]
mov rcx, qword [rsp + 0xe8]
call qword [sym.imp.USERENV.dll_GetUserProfileDirectoryA]
mov dword [rsp + 0xbc], eax
mov rcx, qword [rsp + 0x40]
call fcn.1400bbe90
nop
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xf0], rax
movabs rax, 0xc7c1b7750bc0277
cmp qword [rsp + 0xf0], rax
je 0x1400bbe3a
jmp 0x1400bbe48
call qword [sym.imp.USER32.dll_GetClipboardOwner]
mov qword [rsp + 0x130], rax
movzx eax, byte [section..data]
mov byte [rsp + 0x20], al
mov r9d, 0x61
movzx r8d, word [rsp + 0x38]
mov edx, 0x5b
mov ecx, dword [rsp + 0x58]
call fcn.1400bcc50
movsx eax, byte [section..data]
add rsp, 0x398
ret