Function at 0x44d23c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor eax, eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x44d4f9
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [0x472cd4], 0x472cbc
push 0x472cbc
call sub.kernel32.dll_InitializeCriticalSection_1
call fcn.0044e394
push 0xffffffffffffffff
push 0x44d20c
call sub.kernel32.dll_SetConsoleCtrlHandler
call fcn.0042c724
call fcn.004229f8
call fcn.0044d560
lea eax, [ebp - 0x20]
call fcn.0041c1e4
push dword [ebp - 0x20]
push 0x44d514
lea eax, [ebp - 0x24]
mov edx, dword [0x459894]
mov edx, dword [edx]
call fcn.00407570
push dword [ebp - 0x24]
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00407778
mov eax, dword [ebp - 0x1c]
call fcn.00407508
mov edx, eax
mov eax, dword [0x459814]
call fcn.0041c328
mov eax, dword [0x459814]
test eax, eax
je 0x44d2f0
call fcn.00406ea8
jmp 0x44d2f2
xor eax, eax
mov edx, dword [0x459814]
mov ecx, dword [0x459814]
xchg ecx, eax
call fcn.00421310
mov eax, 0x472a78
xor edx, edx
call fcn.004247b0
call fcn.0044e0a0
mov eax, dword [0x459814]
call fcn.0044d820
mov ebx, eax
cmp word [0x472a78], 0x5c
jne 0x44d383
cmp word [0x472a7a], 0x5c
jne 0x44d383
cmp byte [0x45956e], 0
jne 0x44d383
push 0
lea edx, [ebp - 0x28]
mov eax, dword [0x459a70]
call fcn.00409d44
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], 0x472a78
mov byte [ebp - 0x2c], 0xa
lea ecx, [ebp - 0x30]
mov edx, 1
call fcn.0042b774
push 0x105
push 0x472a78
call sub.kernel32.dll_GetWindowsDirectoryW
mov eax, 0x472a78
mov dl, 1
call fcn.0042496c
call sub.kernel32.dll_GetConsoleOutputCP_1
mov dword [0x472c98], eax
push 0x472c84
mov eax, dword [0x472c98]
push eax
call sub.kernel32.dll_GetCPInfo
call fcn.0041e3a4
mov eax, 0x20c
call fcn.00403e9c
mov dword [0x472cb4], eax
mov eax, 0x20c
call fcn.00403e9c
mov dword [0x472cb8], eax
cmp dword [0x472cb4], 0
je 0x44d3f2
cmp dword [0x472cb8], 0
je 0x44d3f2
push 0x104
mov eax, dword [0x472cb8]
push eax
call sub.kernel32.dll_GetConsoleTitleW
mov edx, dword [0x472cb8]
mov eax, dword [0x472cb4]
call fcn.0041c328
cmp byte [0x45956d], 0
jne 0x44d448
mov eax, 1
call fcn.0042474c
test eax, eax
je 0x44d448
cmp word [0x45958c], 0
je 0x44d432
lea eax, [ebp - 0x16]
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_GetConsoleScreenBufferInfo
test eax, eax
je 0x44d432
movzx eax, word [ebp - 0xe]
mov word [0x45958c], ax
cmp word [0x45958c], 0
je 0x44d448
movzx eax, word [0x45958c]
call fcn.0042b1c4
test ebx, ebx
jne 0x44d4b4
push 0xffffffffffffffff
lea edx, [ebp - 0x34]
mov eax, dword [0x459668]
call fcn.00409d44
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x34]
xor edx, edx
call fcn.0042b6fc
cmp byte [0x459586], 0
je 0x44d48f
push 0xffffffffffffffff
lea edx, [ebp - 0x38]
mov eax, dword [0x459820]
call fcn.00409d44
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x34]
xor edx, edx
call fcn.0042b6fc
jmp 0x44d4b4
cmp byte [0x459584], 0
je 0x44d4b4
push 0xffffffffffffffff
lea edx, [ebp - 0x3c]
mov eax, dword [0x45966c]
call fcn.00409d44
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x34]
xor edx, edx
call fcn.0042b6fc
push 0x44d520
push 0x44d544
call sub.kernel32.dll_GetModuleHandleW_2
push eax
call fcn.0040a820
mov edx, dword [0x459960]
mov dword [edx], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44d500
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.00406a1c
lea eax, [ebp - 0x28]
mov edx, 4
call fcn.00406a1c
ret