Function at 0x43d240
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, [0x0046b258]
mov qword [0x0046b280], rax
lea rcx, [0x0046b258]
call sub.kernel32.dll_InitializeCriticalSection_1
call fcn.0043e530
lea rcx, [0x0043d200]
or edx, 0xffffffff
call sub.kernel32.dll_SetConsoleCtrlHandler
call fcn.00441420
call fcn.00429190
call fcn.0043d820
lea rcx, [rbp + 0x50]
call fcn.00426b70
lea rcx, [rbp + 0x48]
mov rax, qword [0x0044d3e0]
mov rdx, qword [rax]
call fcn.0040ab70
lea rcx, [rbp + 0x58]
mov edx, 3
mov r8, qword [rbp + 0x50]
lea r9, [0x0043d564]
mov rax, qword [rbp + 0x48]
mov qword [rsp + 0x20], rax
call fcn.0040af60
mov rcx, qword [rbp + 0x58]
call fcn.0040aaf0
mov rcx, qword [0x0044d340]
mov rdx, rax
call fcn.00426d30
mov rcx, qword [0x0044d340]
call fcn.00426d10
mov rcx, qword [0x0044d340]
mov rdx, qword [0x0044d340]
mov r8d, eax
call fcn.0042e080
lea rcx, [0x0046b004]
xor rdx, rdx
call fcn.0042b8a0
call fcn.0043e180
mov rcx, qword [0x0044d340]
call fcn.0043db80
mov rbx, rax
cmp word [0x0046b004], 0x5c
jne 0x43d3a3
cmp word [0x0046b006], 0x5c
jne 0x43d3a3
cmp byte [0x0044caa2], 0
jne 0x43d3a3
lea rax, [0x0046b004]
mov qword [rbp + 0x38], rax
mov byte [rbp + 0x40], 0xa
lea rcx, [0x0043d57c]
mov edx, 1
lea r8, [rbp + 0x38]
xor r9, r9
call fcn.00440100
lea rcx, [0x0046b004]
mov edx, 0x105
call sub.kernel32.dll_GetWindowsDirectoryW
lea rcx, [0x0046b004]
mov dl, 1
call fcn.0042bdb0
call sub.kernel32.dll_GetConsoleOutputCP_1
mov dword [0x0046b224], eax
mov ecx, dword [0x0046b224]
lea rdx, [0x0046b210]
call sub.kernel32.dll_GetCPInfo
call fcn.00427330
mov ecx, 0x20c
call fcn.004051c0
mov qword [0x0046b248], rax
mov ecx, 0x20c
call fcn.004051c0
mov qword [0x0046b250], rax
cmp qword [0x0046b248], 0
je 0x43d422
cmp qword [0x0046b250], 0
je 0x43d422
mov rcx, qword [0x0046b250]
mov edx, 0x104
call sub.kernel32.dll_GetConsoleTitleW
mov rcx, qword [0x0046b248]
mov rdx, qword [0x0046b250]
call fcn.00426d30
cmp byte [0x0044caa1], 0
jne 0x43d482
mov ecx, 1
call fcn.0042b810
test eax, eax
je 0x43d482
cmp word [0x0044cac0], 0
je 0x43d46b
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 0x43d46b
movzx rax, word [rbp + 0x72]
mov word [0x0044cac0], ax
cmp word [0x0044cac0], 0
je 0x43d482
movzx rcx, word [0x0044cac0]
call fcn.00432620
test rbx, rbx
jne 0x43d4e0
lea rcx, [0x0043d664]
xor rdx, rdx
lea r8, [rbp + 0x38]
or r9d, 0xffffffff
call fcn.00440010
cmp byte [0x0044caba], 0
je 0x43d4c0
lea rcx, [0x0043d718]
xor rdx, rdx
lea r8, [rbp + 0x38]
or r9d, 0xffffffff
call fcn.00440010
jmp 0x43d4e0
cmp byte [0x0044cab8], 0
je 0x43d4e0
lea rcx, [0x0043d78c]
xor rdx, rdx
lea r8, [rbp + 0x38]
or r9d, 0xffffffff
call fcn.00440010
lea rcx, [0x0043d7da]
call sub.kernel32.dll_GetModuleHandleW_2
mov rcx, rax
lea rdx, [0x0043d7f4]
call fcn.0040fc60
mov rcx, qword [0x0044d4e8]
mov qword [rcx], rax
mov qword [rbp + 0x30], rbx
nop
lea rcx, [rbp + 0x48]
mov edx, 3
call fcn.00409f10
mov rax, qword [rbp + 0x30]
lea rsp, [rbp + 0x88]
pop rbx
pop rbp
ret