Function at 0x45fbdc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x2c
push 0
push 0
dec ecx
jne 0x45fbe4
push ecx
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x460047
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 4]
call fcn.0045e258
mov eax, dword [ebp - 4]
call fcn.0040a1f0
lea eax, [ebp - 0x160]
mov edx, dword [0x4bb388]
call fcn.00404dac
mov edx, dword [ebp - 0x160]
lea eax, [ebp - 4]
call fcn.00404e7c
mov eax, dword [ebp - 4]
call fcn.00409dec
test al, al
je 0x45ffdb
lea eax, [ebp - 0x159]
xor ecx, ecx
mov edx, 0x105
call fcn.0040362c
lea eax, [ebp - 0x159]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathA
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x159]
mov ecx, 0x105
call fcn.00404e24
mov eax, dword [ebp - 0x164]
lea edx, [ebp - 0x28]
call fcn.0045f7e8
mov eax, dword [ebp - 0x28]
call fcn.00404e74
mov edx, dword [ebp - 0x28]
cmp byte [edx + eax - 1], 0x5c
jne 0x45fcaf
mov eax, dword [ebp - 0x28]
call fcn.00404e74
mov edx, eax
lea eax, [ebp - 0x28]
mov ecx, 1
call fcn.00405114
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
call fcn.00404c4c
mov eax, dword [ebp - 0x2c]
call fcn.00404e74
mov edx, dword [ebp - 0x2c]
cmp byte [edx + eax - 1], 0x5c
je 0x45fcd9
lea eax, [ebp - 0x2c]
mov edx, 0x460060
call fcn.00404e7c
push dword [ebp - 0x2c]
push 0x46006c
push esi
push 0x46007c
lea eax, [ebp - 0x2c]
mov edx, 4
call fcn.00404f34
mov edx, 2
mov eax, dword [ebp - 0x2c]
call fcn.0045e0b8
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0x28]
call fcn.0045f830
lea edx, [ebp - 0x3c]
mov eax, dword [ebp - 0x2c]
call fcn.0045f830
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x30]
lea edx, [ebp - 0xc]
lea eax, [ebp - 8]
call fcn.0045f874
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x28]
call fcn.00404c4c
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x28]
call fcn.00404c4c
lea eax, [ebp - 0x34]
mov edx, dword [ebp - 0x28]
call fcn.00404c4c
lea eax, [ebp - 0x4c]
mov edx, dword [ebp - 0x28]
call fcn.00404c4c
mov eax, dword [ebp - 0x10]
call fcn.00404e74
mov edx, dword [ebp - 0x10]
cmp byte [edx + eax - 1], 0x5c
je 0x45fd74
lea eax, [ebp - 0x10]
mov edx, 0x460060
call fcn.00404e7c
push dword [ebp - 0x10]
push 0x46006c
push esi
push 0x46008c
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00404f34
mov eax, dword [ebp - 0x14]
call fcn.00404e74
mov edx, dword [ebp - 0x14]
cmp byte [edx + eax - 1], 0x5c
je 0x45fdae
lea eax, [ebp - 0x14]
mov edx, 0x460060
call fcn.00404e7c
push dword [ebp - 0x14]
push 0x46006c
push esi
push 0x4600a0
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.00404f34
mov eax, dword [ebp - 0x34]
call fcn.00404e74
mov edx, dword [ebp - 0x34]
cmp byte [edx + eax - 1], 0x5c
je 0x45fde8
lea eax, [ebp - 0x34]
mov edx, 0x460060
call fcn.00404e7c
push dword [ebp - 0x34]
push 0x46006c
push esi
push 0x4600b0
lea eax, [ebp - 0x34]
mov edx, 4
call fcn.00404f34
mov eax, dword [ebp - 0x4c]
call fcn.00404e74
mov edx, dword [ebp - 0x4c]
cmp byte [edx + eax - 1], 0x5c
je 0x45fe22
lea eax, [ebp - 0x4c]
mov edx, 0x460060
call fcn.00404e7c
push dword [ebp - 0x4c]
push 0x46006c
push esi
push 0x4600c4
lea eax, [ebp - 0x4c]
mov edx, 4
call fcn.00404f34
mov edx, 2
mov eax, dword [ebp - 0x10]
call fcn.0045e0b8
mov edx, 2
mov eax, dword [ebp - 0x14]
call fcn.0045e0b8
mov edx, 2
mov eax, dword [ebp - 0x34]
call fcn.0045e0b8
mov edx, 2
mov eax, dword [ebp - 0x4c]
call fcn.0045e0b8
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0x10]
call fcn.0045f830
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0x14]
call fcn.0045f830
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 0x34]
call fcn.0045f830
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 0x4c]
call fcn.0045f830
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 8]
call fcn.0045f830
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.0045f830
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 0x30]
call fcn.0045f830
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 0x48]
call fcn.0045f830
mov eax, dword [0x4bb388]
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4bb384], eax
cmp dword [0x4bb384], 0
je 0x45ffdb
push 0x4600cc
mov eax, dword [0x4bb384]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4bb37c], eax
push 0x4600dc
mov eax, dword [0x4bb384]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4bb380], eax
mov eax, dword [ebp - 8]
call fcn.00404e74
test eax, eax
jle 0x45ff37
mov eax, dword [ebp - 0x20]
call fcn.00405480
push eax
mov eax, dword [ebp - 0x18]
call fcn.00405480
push eax
call dword [0x4bb380]
add esp, 8
mov eax, dword [ebp - 0xc]
call fcn.00404e74
test eax, eax
jle 0x45ff5e
mov eax, dword [ebp - 0x24]
call fcn.00405480
push eax
mov eax, dword [ebp - 0x1c]
call fcn.00405480
push eax
call dword [0x4bb380]
add esp, 8
mov eax, dword [ebp - 0x28]
call fcn.00404e74
test eax, eax
jle 0x45ff85
mov eax, dword [ebp - 0x3c]
call fcn.00405480
push eax
mov eax, dword [ebp - 0x38]
call fcn.00405480
push eax
call dword [0x4bb380]
add esp, 8
mov eax, dword [ebp - 0x30]
call fcn.00404e74
test eax, eax
jle 0x45ffac
mov eax, dword [ebp - 0x44]
call fcn.00405480
push eax
mov eax, dword [ebp - 0x40]
call fcn.00405480
push eax
call dword [0x4bb380]
add esp, 8
mov eax, dword [ebp - 0x48]
call fcn.00404e74
test eax, eax
jle 0x45ffd3
mov eax, dword [ebp - 0x54]
call fcn.00405480
push eax
mov eax, dword [ebp - 0x50]
call fcn.00405480
push eax
call dword [0x4bb380]
add esp, 8
call dword [0x4bb37c]
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46004e
lea eax, [ebp - 0x164]
mov edx, 2
call fcn.00404bd8
lea eax, [ebp - 0x54]
mov edx, 2
call fcn.00405314
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.00404bd8
lea eax, [ebp - 0x44]
mov edx, 4
call fcn.00405314
lea eax, [ebp - 0x34]
mov edx, 4
call fcn.00404bd8
lea eax, [ebp - 0x24]
mov edx, 4
call fcn.00405314
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.00404bd8
ret