Function at 0x43d190
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, [0x0046b078]
mov qword [0x0046b0a0], rax
lea rcx, [0x0046b078]
call sub.kernel32.dll_InitializeCriticalSection_1
call fcn.0043e490
lea rcx, [0x0043d150]
or edx, 0xffffffff
call sub.kernel32.dll_SetConsoleCtrlHandler
call fcn.004411c0
call fcn.00429100
call fcn.0043d780
lea rcx, [rbp + 0x50]
call fcn.00426b30
lea rcx, [rbp + 0x48]
mov rax, qword [0x0044d508]
mov rdx, qword [rax]
call fcn.0040b5a0
lea rcx, [rbp + 0x58]
mov edx, 3
mov r8, qword [rbp + 0x50]
lea r9, [0x0043d4b4]
mov rax, qword [rbp + 0x48]
mov qword [rsp + 0x20], rax
call fcn.0040b990
mov rcx, qword [rbp + 0x58]
call fcn.0040b520
mov rcx, qword [0x0044d460]
mov rdx, rax
call fcn.00426cf0
mov rcx, qword [0x0044d460]
call fcn.00426cd0
mov rcx, qword [0x0044d460]
mov rdx, qword [0x0044d460]
mov r8d, eax
call fcn.0042dfc0
lea rcx, [0x0046ae24]
xor rdx, rdx
call fcn.0042b800
call fcn.0043e0e0
mov rcx, qword [0x0044d460]
call fcn.0043dae0
mov rbx, rax
cmp word [0x0046ae24], 0x5c
jne 0x43d2f3
cmp word [0x0046ae26], 0x5c
jne 0x43d2f3
cmp byte [0x0044cafa], 0
jne 0x43d2f3
lea rax, [0x0046ae24]
mov qword [rbp + 0x38], rax
mov byte [rbp + 0x40], 0xa
lea rcx, [0x0043d4cc]
mov edx, 1
lea r8, [rbp + 0x38]
xor r9, r9
call fcn.0043ff40
lea rcx, [0x0046ae24]
mov edx, 0x105
call sub.kernel32.dll_GetWindowsDirectoryW
lea rcx, [0x0046ae24]
mov dl, 1
call fcn.0042bd20
call sub.kernel32.dll_GetConsoleOutputCP_1
mov dword [0x0046b044], eax
mov ecx, dword [0x0046b044]
lea rdx, [0x0046b030]
call sub.kernel32.dll_GetCPInfo
call fcn.004272a0
mov ecx, 0x20c
call fcn.00405280
mov qword [0x0046b068], rax
mov ecx, 0x20c
call fcn.00405280
mov qword [0x0046b070], rax
cmp qword [0x0046b068], 0
je 0x43d372
cmp qword [0x0046b070], 0
je 0x43d372
mov rcx, qword [0x0046b070]
mov edx, 0x104
call sub.kernel32.dll_GetConsoleTitleW
mov rcx, qword [0x0046b068]
mov rdx, qword [0x0046b070]
call fcn.00426cf0
cmp byte [0x0044caf9], 0
jne 0x43d3d2
mov ecx, 1
call fcn.0042b770
test eax, eax
je 0x43d3d2
cmp word [0x0044cb18], 0
je 0x43d3bb
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 0x43d3bb
movzx rax, word [rbp + 0x72]
mov word [0x0044cb18], ax
cmp word [0x0044cb18], 0
je 0x43d3d2
movzx rcx, word [0x0044cb18]
call fcn.00432540
test rbx, rbx
jne 0x43d430
lea rcx, [0x0043d5b4]
xor rdx, rdx
lea r8, [rbp + 0x38]
or r9d, 0xffffffff
call fcn.0043fe80
cmp byte [0x0044cb12], 0
je 0x43d410
lea rcx, [0x0043d674]
xor rdx, rdx
lea r8, [rbp + 0x38]
or r9d, 0xffffffff
call fcn.0043fe80
jmp 0x43d430
cmp byte [0x0044cb10], 0
je 0x43d430
lea rcx, [0x0043d6e8]
xor rdx, rdx
lea r8, [rbp + 0x38]
or r9d, 0xffffffff
call fcn.0043fe80
lea rcx, [0x0043d736]
call sub.kernel32.dll_GetModuleHandleW_2
mov rcx, rax
lea rdx, [0x0043d750]
call fcn.004105f0
mov rcx, qword [0x0044d610]
mov qword [rcx], rax
mov qword [rbp + 0x30], rbx
nop
lea rcx, [rbp + 0x48]
mov edx, 3
call fcn.0040a940
mov rax, qword [rbp + 0x30]
lea rsp, [rbp + 0x88]
pop rbx
pop rbp
ret