Function at 0x414571
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
push 0x80000301
push 0
push 0x104
push 1
mov ebx, 0x184
call fcn.00449480
add esp, 0x10
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4145d2
push ebx
call fcn.00448677
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
jl 0x4145f7
cmp dword [ebp - 8], 8
jg 0x4145f7
mov eax, 1
jmp 0x4145fc
mov eax, 0
test eax, eax
je 0x4146d3
mov eax, dword [ebp - 8]
cmp eax, 1
jl 0x414611
cmp eax, 9
jl 0x414628
push 0xd9
push 0x4094dd4
push 9
call fcn.00448671
add esp, 0xc
dec eax
call 0x41462e
pop ebx
add ebx, dword [eax*4 + 0x49314b]
jmp ebx
cmp dword [ebp - 8], 9
jne 0x414725
mov dword [ebp - 0x18], esp
push 0x104
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x41470e
push 0x210
push 0x4094dd4
push 6
call fcn.00448671
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
mov eax, 0
setg al
mov dword [ebp - 0x10], eax
jmp 0x4147d3
cmp dword [ebp - 8], 0xa
jne 0x414777
mov dword [ebp - 0x18], esp
push 0x104
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x414760
push 0x29c
push 0x4094dd4
push 6
call fcn.00448671
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
mov eax, 0
setg al
mov dword [ebp - 0x10], eax
jmp 0x4147d3
cmp dword [ebp - 8], 0xb
jne 0x4147c9
mov dword [ebp - 0x18], esp
push dword [ebp - 4]
push 0x104
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x4147b2
push 0x328
push 0x4094dd4
push 6
call fcn.00448671
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
mov eax, 0
setg al
mov dword [ebp - 0x10], eax
jmp 0x4147d3
mov eax, 0x4862fb
jmp 0x414919
push 0x80000301
push 0
push 1
push 0x80000004
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4147f2
mov eax, 0x4862fb
push eax
push 2
mov ebx, 0x138
call fcn.0044a070
add esp, 0x1c
mov dword [ebp - 0x18], eax
push 0x48c28c
push dword [ebp - 0x18]
call fcn.00403aca
add esp, 8
cmp eax, 0
mov eax, 0
setne al
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x414836
push ebx
call fcn.00448677
add esp, 4
cmp dword [ebp - 0x1c], 0
je 0x414870
push 0x48c28c
push dword [ebp - 4]
mov ecx, 2
call fcn.00403bd2
add esp, 8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41486c
push ebx
call fcn.00448677
add esp, 4
pop eax
mov dword [ebp - 4], eax
cmp dword [ebp + 0x10], 0
je 0x414888
cmp dword [ebp + 0xc], 1
je 0x414888
xor eax, eax
jmp 0x41488d
mov eax, 1
test eax, eax
je 0x4148b9
lea eax, [ebp - 4]
push eax
call fcn.00414941
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4148b5
push ebx
call fcn.00448677
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push 0x4862fb
push dword [ebp - 0x14]
call fcn.00403aca
add esp, 8
cmp eax, 0
jne 0x4148f8
mov eax, dword [ebp - 4]
test eax, eax
je 0x4148ee
push eax
mov ebx, eax
call fcn.00403b67
inc eax
push eax
call fcn.0044866b
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x414919
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x414914
push eax
mov ebx, eax
call fcn.00403b67
inc eax
push eax
call fcn.0044866b
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x414919
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41492a
push ebx
call fcn.00448677
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x41493a
push ebx
call fcn.00448677
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc