Function at 0x453ddc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee4
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x11c], eax
mov dword [ebp - 4], eax
lea ebx, [ebp - 8]
xor eax, eax
push ebp
push 0x454036
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x55ac98], 0
jne 0x453e2d
push 0x454044
push 0x454060
call sub.kernel32.dll_GetModuleHandleA_2
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x55ac98], eax
cmp dword [0x55ac9c], 0
jne 0x453e50
push 0x45406c
push 0x454084
call sub.kernel32.dll_LoadLibraryA
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x55ac9c], eax
xor eax, eax
mov dword [ebx], eax
push ebx
push 0
push 0
push 5
call dword [0x55ac98]
xor esi, esi
cmp dword [ebx], 0
jne 0x453ea2
mov dword [ebx], 0x10000
mov eax, dword [ebx]
add eax, eax
mov dword [ebx], eax
push esi
call sub.kernel32.dll_LocalFree
mov eax, dword [ebx]
push eax
push 0x40
call sub.kernel32.dll_LocalAlloc_1
mov esi, eax
push 0
mov eax, dword [ebx]
push eax
push esi
push 5
call dword [0x55ac98]
test eax, eax
je 0x453ec2
cmp dword [ebx], 0x400000
jne 0x453e6e
jmp 0x453ec2
mov eax, dword [ebx]
add eax, eax
mov dword [ebx], eax
mov eax, dword [ebx]
push eax
push 0x40
call sub.kernel32.dll_LocalAlloc_1
mov esi, eax
push 0
mov eax, dword [ebx]
push eax
push esi
push 5
call dword [0x55ac98]
test eax, eax
jne 0x45400a
mov ebx, esi
cmp dword [ebx + 0x3c], 0
je 0x453fe8
lea eax, [ebp - 4]
mov edx, dword [ebx + 0x3c]
call fcn.00405548
cmp dword [0x55ac9c], 0
je 0x453fd3
mov eax, dword [ebx + 0x44]
push eax
push 0
push 0x410
call sub.kernel32.dll_OpenProcess
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x453fd3
push 0x104
lea eax, [ebp - 0x111]
push eax
push 0
mov eax, dword [ebp - 0xc]
push eax
call dword [0x55ac9c]
test eax, eax
jbe 0x453fca
lea eax, [ebp - 4]
lea edx, [ebp - 0x111]
mov ecx, 0x105
call fcn.00405590
mov edx, dword [ebp - 4]
mov eax, 0x454098
call fcn.00411ab4
test al, al
je 0x453fa7
push 0x104
lea eax, [ebp - 0x111]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
lea eax, [ebp - 0x118]
push eax
mov ecx, 0x7fffffff
mov edx, 0x15
mov eax, dword [ebp - 4]
call fcn.00405818
mov eax, dword [ebp - 0x118]
push eax
lea eax, [ebp - 0x11c]
lea edx, [ebp - 0x111]
mov ecx, 0x105
call fcn.00405590
mov edx, dword [ebp - 0x11c]
lea eax, [ebp - 4]
pop ecx
call fcn.00405638
jmp 0x453fca
mov edx, dword [ebp - 4]
mov eax, 0x4540b8
call fcn.00411a30
test al, al
je 0x453fca
lea eax, [ebp - 4]
mov ecx, 4
mov edx, 1
call fcn.00405858
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebx + 0x50]
mov edx, dword [ebx + 0x44]
mov eax, dword [ebp - 4]
call fcn.00453b04
pop ecx
jmp 0x453ffd
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebx + 0x50]
mov edx, dword [ebx + 0x44]
mov eax, 0x4540c8
call fcn.00453b04
pop ecx
mov edi, dword [ebx]
test edi, edi
je 0x45400a
add ebx, edi
jmp 0x453ecc
push esi
call sub.kernel32.dll_LocalFree
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45403d
lea eax, [ebp - 0x11c]
mov edx, 2
call fcn.00405344
lea eax, [ebp - 4]
call fcn.00405320
ret