Function at 0x42c100
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 0x42c3bd
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [0x44bbe8], 0x44bbd0
push 0x44bbd0
call sub.kernel32.dll_InitializeCriticalSection_1
call fcn.0042d258
push 0xffffffffffffffff
push 0x42c0d0
call sub.kernel32.dll_SetConsoleCtrlHandler
call fcn.00427db0
call fcn.0041e084
call fcn.0042c424
lea eax, [ebp - 0x20]
call fcn.004178a0
push dword [ebp - 0x20]
push 0x42c3d8
lea eax, [ebp - 0x24]
mov edx, dword [0x432ca4]
mov edx, dword [edx]
call fcn.00406b6c
push dword [ebp - 0x24]
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00406d60
mov eax, dword [ebp - 0x1c]
call fcn.00406b14
mov edx, eax
mov eax, dword [0x432c38]
call fcn.004179e4
mov eax, dword [0x432c38]
test eax, eax
je 0x42c1b4
call fcn.0040685c
jmp 0x42c1b6
xor eax, eax
mov edx, dword [0x432c38]
mov ecx, dword [0x432c38]
xchg ecx, eax
call fcn.0041c99c
mov eax, 0x44b98c
xor edx, edx
call fcn.0041fe3c
call fcn.0042cf64
mov eax, dword [0x432c38]
call fcn.0042c6e4
mov ebx, eax
cmp word [0x44b98c], 0x5c
jne 0x42c247
cmp word [0x44b98e], 0x5c
jne 0x42c247
cmp byte [0x4329ce], 0
jne 0x42c247
push 0
lea edx, [ebp - 0x28]
mov eax, dword [0x432e40]
call fcn.00408e50
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], 0x44b98c
mov byte [ebp - 0x2c], 0xa
lea ecx, [ebp - 0x30]
mov edx, 1
call fcn.00426e00
push 0x105
push 0x44b98c
call sub.kernel32.dll_GetWindowsDirectoryW
mov eax, 0x44b98c
mov dl, 1
call fcn.0041fff8
call sub.kernel32.dll_GetConsoleOutputCP_1
mov dword [0x44bbac], eax
push 0x44bb98
mov eax, dword [0x44bbac]
push eax
call sub.kernel32.dll_GetCPInfo
call fcn.00419a30
mov eax, 0x20c
call fcn.00403980
mov dword [0x44bbc8], eax
mov eax, 0x20c
call fcn.00403980
mov dword [0x44bbcc], eax
cmp dword [0x44bbc8], 0
je 0x42c2b6
cmp dword [0x44bbcc], 0
je 0x42c2b6
push 0x104
mov eax, dword [0x44bbcc]
push eax
call sub.kernel32.dll_GetConsoleTitleW
mov edx, dword [0x44bbcc]
mov eax, dword [0x44bbc8]
call fcn.004179e4
cmp byte [0x4329cd], 0
jne 0x42c30c
mov eax, 1
call fcn.0041fdd8
test eax, eax
je 0x42c30c
cmp word [0x4329ec], 0
je 0x42c2f6
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 0x42c2f6
movzx eax, word [ebp - 0xe]
mov word [0x4329ec], ax
cmp word [0x4329ec], 0
je 0x42c30c
movzx eax, word [0x4329ec]
call fcn.00426850
test ebx, ebx
jne 0x42c378
push 0xffffffffffffffff
lea edx, [ebp - 0x34]
mov eax, dword [0x432ab0]
call fcn.00408e50
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x34]
xor edx, edx
call fcn.00426d88
cmp byte [0x4329e6], 0
je 0x42c353
push 0xffffffffffffffff
lea edx, [ebp - 0x38]
mov eax, dword [0x432c40]
call fcn.00408e50
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x34]
xor edx, edx
call fcn.00426d88
jmp 0x42c378
cmp byte [0x4329e4], 0
je 0x42c378
push 0xffffffffffffffff
lea edx, [ebp - 0x3c]
mov eax, dword [0x432ab4]
call fcn.00408e50
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x34]
xor edx, edx
call fcn.00426d88
push 0x42c3e4
push 0x42c408
call sub.kernel32.dll_GetModuleHandleW_2
push eax
call fcn.00409904
mov edx, dword [0x432d64]
mov dword [edx], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42c3c4
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.00406474
lea eax, [ebp - 0x28]
mov edx, 4
call fcn.00406474
ret