Function at 0x43dcb0
Capabilities:
Get common file path

Disassembly:
push rbp
push rbx
sub rsp, 0x88
mov rbp, rsp
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x48], 0
nop
lea rax, [0x0046c258]
mov qword [0x0046c280], rax
lea rcx, [0x0046c258]
call sub.kernel32.dll_InitializeCriticalSection_1
call fcn.0043efa0
lea rcx, [0x0043dc70]
or edx, 0xffffffff
call sub.kernel32.dll_SetConsoleCtrlHandler
call fcn.00441e90
call fcn.00429c00
call fcn.0043e290
lea rcx, [rbp + 0x50]
call fcn.004275e0
lea rcx, [rbp + 0x48]
mov rax, qword [0x0044e528]
mov rdx, qword [rax]
call fcn.0040b3e0
lea rcx, [rbp + 0x58]
mov edx, 3
mov r8, qword [rbp + 0x50]
lea r9, [0x0043dfd4]
mov rax, qword [rbp + 0x48]
mov qword [rsp + 0x20], rax
call fcn.0040b7d0
mov rcx, qword [rbp + 0x58]
call fcn.0040b360
mov rcx, qword [0x0044e480]
mov rdx, rax
call fcn.004277a0
mov rcx, qword [0x0044e480]
call fcn.00427780
mov rcx, qword [0x0044e480]
mov rdx, qword [0x0044e480]
mov r8d, eax
call fcn.0042eaf0
lea rcx, [0x0046c004]
xor rdx, rdx
call fcn.0042c310
call fcn.0043ebf0
mov rcx, qword [0x0044e480]
call fcn.0043e5f0
mov rbx, rax
cmp word [0x0046c004], 0x5c
jne 0x43de13
cmp word [0x0046c006], 0x5c
jne 0x43de13
cmp byte [0x0044db7a], 0
jne 0x43de13
lea rax, [0x0046c004]
mov qword [rbp + 0x38], rax
mov byte [rbp + 0x40], 0xa
lea rcx, [0x0043dfec]
mov edx, 1
lea r8, [rbp + 0x38]
xor r9, r9
call fcn.00440b70
lea rcx, [0x0046c004]
mov edx, 0x105
call sub.kernel32.dll_GetWindowsDirectoryW
lea rcx, [0x0046c004]
mov dl, 1
call fcn.0042c820
call sub.kernel32.dll_GetConsoleOutputCP_1
mov dword [0x0046c224], eax
mov ecx, dword [0x0046c224]
lea rdx, [0x0046c210]
call sub.kernel32.dll_GetCPInfo
call fcn.00427da0
mov ecx, 0x20c
call fcn.004051c0
mov qword [0x0046c248], rax
mov ecx, 0x20c
call fcn.004051c0
mov qword [0x0046c250], rax
cmp qword [0x0046c248], 0
je 0x43de92
cmp qword [0x0046c250], 0
je 0x43de92
mov rcx, qword [0x0046c250]
mov edx, 0x104
call sub.kernel32.dll_GetConsoleTitleW
mov rcx, qword [0x0046c248]
mov rdx, qword [0x0046c250]
call fcn.004277a0
cmp byte [0x0044db79], 0
jne 0x43def2
mov ecx, 1
call fcn.0042c280
test eax, eax
je 0x43def2
cmp word [0x0044db98], 0
je 0x43dedb
mov ecx, 0xfffffff5
call sub.kernel32.dll_GetStdHandle_1
mov rcx, rax
lea rdx, [rbp + 0x6a]
call sub.kernel32.dll_GetConsoleScreenBufferInfo
test eax, eax
je 0x43dedb
movzx rax, word [rbp + 0x72]
mov word [0x0044db98], ax
cmp word [0x0044db98], 0
je 0x43def2
movzx rcx, word [0x0044db98]
call fcn.00433090
test rbx, rbx
jne 0x43df50
lea rcx, [0x0043e0d4]
xor rdx, rdx
lea r8, [rbp + 0x38]
or r9d, 0xffffffff
call fcn.00440a80
cmp byte [0x0044db92], 0
je 0x43df30
lea rcx, [0x0043e188]
xor rdx, rdx
lea r8, [rbp + 0x38]
or r9d, 0xffffffff
call fcn.00440a80
jmp 0x43df50
cmp byte [0x0044db90], 0
je 0x43df50
lea rcx, [0x0043e1fc]
xor rdx, rdx
lea r8, [rbp + 0x38]
or r9d, 0xffffffff
call fcn.00440a80
lea rcx, [0x0043e24a]
call sub.kernel32.dll_GetModuleHandleW_2
mov rcx, rax
lea rdx, [0x0043e264]
call fcn.004106d0
mov rcx, qword [0x0044e630]
mov qword [rcx], rax
mov qword [rbp + 0x30], rbx
nop
lea rcx, [rbp + 0x48]
mov edx, 3
call fcn.0040a780
mov rax, qword [rbp + 0x30]
lea rsp, [rbp + 0x88]
pop rbx
pop rbp
ret