Function at 0x43c740
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, [0x0046a078]
mov qword [0x0046a0a0], rax
lea rcx, [0x0046a078]
call sub.kernel32.dll_InitializeCriticalSection_1
call fcn.0043da30
lea rcx, [0x0043c700]
or edx, 0xffffffff
call sub.kernel32.dll_SetConsoleCtrlHandler
call fcn.00440860
call fcn.004286b0
call fcn.0043cd20
lea rcx, [rbp + 0x50]
call fcn.004260e0
lea rcx, [rbp + 0x48]
mov rax, qword [0x0044c3c0]
mov rdx, qword [rax]
call fcn.0040ad30
lea rcx, [rbp + 0x58]
mov edx, 3
mov r8, qword [rbp + 0x50]
lea r9, [0x0043ca64]
mov rax, qword [rbp + 0x48]
mov qword [rsp + 0x20], rax
call fcn.0040b120
mov rcx, qword [rbp + 0x58]
call fcn.0040acb0
mov rcx, qword [0x0044c320]
mov rdx, rax
call fcn.004262a0
mov rcx, qword [0x0044c320]
call fcn.00426280
mov rcx, qword [0x0044c320]
mov rdx, qword [0x0044c320]
mov r8d, eax
call fcn.0042d570
lea rcx, [0x00469e24]
xor rdx, rdx
call fcn.0042adb0
call fcn.0043d680
mov rcx, qword [0x0044c320]
call fcn.0043d080
mov rbx, rax
cmp word [0x00469e24], 0x5c
jne 0x43c8a3
cmp word [0x00469e26], 0x5c
jne 0x43c8a3
cmp byte [0x0044ba22], 0
jne 0x43c8a3
lea rax, [0x00469e24]
mov qword [rbp + 0x38], rax
mov byte [rbp + 0x40], 0xa
lea rcx, [0x0043ca7c]
mov edx, 1
lea r8, [rbp + 0x38]
xor r9, r9
call fcn.0043f5e0
lea rcx, [0x00469e24]
mov edx, 0x105
call sub.kernel32.dll_GetWindowsDirectoryW
lea rcx, [0x00469e24]
mov dl, 1
call fcn.0042b2d0
call sub.kernel32.dll_GetConsoleOutputCP_1
mov dword [0x0046a044], eax
mov ecx, dword [0x0046a044]
lea rdx, [0x0046a030]
call sub.kernel32.dll_GetCPInfo
call fcn.00426850
mov ecx, 0x20c
call fcn.00405280
mov qword [0x0046a068], rax
mov ecx, 0x20c
call fcn.00405280
mov qword [0x0046a070], rax
cmp qword [0x0046a068], 0
je 0x43c922
cmp qword [0x0046a070], 0
je 0x43c922
mov rcx, qword [0x0046a070]
mov edx, 0x104
call sub.kernel32.dll_GetConsoleTitleW
mov rcx, qword [0x0046a068]
mov rdx, qword [0x0046a070]
call fcn.004262a0
cmp byte [0x0044ba21], 0
jne 0x43c982
mov ecx, 1
call fcn.0042ad20
test eax, eax
je 0x43c982
cmp word [0x0044ba40], 0
je 0x43c96b
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 0x43c96b
movzx rax, word [rbp + 0x72]
mov word [0x0044ba40], ax
cmp word [0x0044ba40], 0
je 0x43c982
movzx rcx, word [0x0044ba40]
call fcn.00431af0
test rbx, rbx
jne 0x43c9e0
lea rcx, [0x0043cb64]
xor rdx, rdx
lea r8, [rbp + 0x38]
or r9d, 0xffffffff
call fcn.0043f520
cmp byte [0x0044ba3a], 0
je 0x43c9c0
lea rcx, [0x0043cc18]
xor rdx, rdx
lea r8, [rbp + 0x38]
or r9d, 0xffffffff
call fcn.0043f520
jmp 0x43c9e0
cmp byte [0x0044ba38], 0
je 0x43c9e0
lea rcx, [0x0043cc8c]
xor rdx, rdx
lea r8, [rbp + 0x38]
or r9d, 0xffffffff
call fcn.0043f520
lea rcx, [0x0043ccda]
call sub.kernel32.dll_GetModuleHandleW_2
mov rcx, rax
lea rdx, [0x0043ccf4]
call fcn.0040fba0
mov rcx, qword [0x0044c4c8]
mov qword [rcx], rax
mov qword [rbp + 0x30], rbx
nop
lea rcx, [rbp + 0x48]
mov edx, 3
call fcn.0040a0d0
mov rax, qword [rbp + 0x30]
lea rsp, [rbp + 0x88]
pop rbx
pop rbp
ret