Function at 0x44cec8
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 0x44d185
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [0x471cd4], 0x471cbc
push 0x471cbc
call sub.kernel32.dll_InitializeCriticalSection_1
call fcn.0044e020
push 0xffffffffffffffff
push 0x44ce98
call sub.kernel32.dll_SetConsoleCtrlHandler
call fcn.0042c3b0
call fcn.00422a24
call fcn.0044d1ec
lea eax, [ebp - 0x20]
call fcn.0041c1f4
push dword [ebp - 0x20]
push 0x44d1a0
lea eax, [ebp - 0x24]
mov edx, dword [0x458894]
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 [0x458814]
call fcn.0041c338
mov eax, dword [0x458814]
test eax, eax
je 0x44cf7c
call fcn.00406ea8
jmp 0x44cf7e
xor eax, eax
mov edx, dword [0x458814]
mov ecx, dword [0x458814]
xchg ecx, eax
call fcn.0042133c
mov eax, 0x471a78
xor edx, edx
call fcn.004247dc
call fcn.0044dd2c
mov eax, dword [0x458814]
call fcn.0044d4ac
mov ebx, eax
cmp word [0x471a78], 0x5c
jne 0x44d00f
cmp word [0x471a7a], 0x5c
jne 0x44d00f
cmp byte [0x45856e], 0
jne 0x44d00f
push 0
lea edx, [ebp - 0x28]
mov eax, dword [0x458a70]
call fcn.00409d44
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], 0x471a78
mov byte [ebp - 0x2c], 0xa
lea ecx, [ebp - 0x30]
mov edx, 1
call fcn.0042b400
push 0x105
push 0x471a78
call sub.kernel32.dll_GetWindowsDirectoryW
mov eax, 0x471a78
mov dl, 1
call fcn.00424c58
call sub.kernel32.dll_GetConsoleOutputCP_1
mov dword [0x471c98], eax
push 0x471c84
mov eax, dword [0x471c98]
push eax
call sub.kernel32.dll_GetCPInfo
call fcn.0041e3b4
mov eax, 0x20c
call fcn.00403e9c
mov dword [0x471cb4], eax
mov eax, 0x20c
call fcn.00403e9c
mov dword [0x471cb8], eax
cmp dword [0x471cb4], 0
je 0x44d07e
cmp dword [0x471cb8], 0
je 0x44d07e
push 0x104
mov eax, dword [0x471cb8]
push eax
call sub.kernel32.dll_GetConsoleTitleW
mov edx, dword [0x471cb8]
mov eax, dword [0x471cb4]
call fcn.0041c338
cmp byte [0x45856d], 0
jne 0x44d0d4
mov eax, 1
call fcn.00424778
test eax, eax
je 0x44d0d4
cmp word [0x45858c], 0
je 0x44d0be
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 0x44d0be
movzx eax, word [ebp - 0xe]
mov word [0x45858c], ax
cmp word [0x45858c], 0
je 0x44d0d4
movzx eax, word [0x45858c]
call fcn.0042ae50
test ebx, ebx
jne 0x44d140
push 0xffffffffffffffff
lea edx, [ebp - 0x34]
mov eax, dword [0x458668]
call fcn.00409d44
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x34]
xor edx, edx
call fcn.0042b388
cmp byte [0x458586], 0
je 0x44d11b
push 0xffffffffffffffff
lea edx, [ebp - 0x38]
mov eax, dword [0x458820]
call fcn.00409d44
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x34]
xor edx, edx
call fcn.0042b388
jmp 0x44d140
cmp byte [0x458584], 0
je 0x44d140
push 0xffffffffffffffff
lea edx, [ebp - 0x3c]
mov eax, dword [0x45866c]
call fcn.00409d44
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x34]
xor edx, edx
call fcn.0042b388
push 0x44d1ac
push 0x44d1d0
call sub.kernel32.dll_GetModuleHandleW_2
push eax
call fcn.0040a828
mov edx, dword [0x458960]
mov dword [edx], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44d18c
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.00406a1c
lea eax, [ebp - 0x28]
mov edx, 4
call fcn.00406a1c
ret