Function at 0x4288fd
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a857b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x420
push edi
xor eax, eax
mov al, byte [0x623f90]
and eax, 1
test eax, eax
jne 0x428955
mov cl, byte [0x623f90]
or cl, 1
mov byte [0x623f90], cl
push 0x6243c0
mov ecx, 0x623f94
call fcn.00585c2f
push 0x428c77
call fcn.0045b019
add esp, 4
mov ecx, 0x623f94
call fcn.004039e0
test eax, eax
jne 0x428987
push 0x2030
push 0x60cb74
mov ecx, 0x623f94
call fcn.00401260
push eax
push 0
call dword [0x623418]
xor eax, eax
jmp 0x428c68
mov byte [ebp - 0x310], 0
mov ecx, 0x7c
xor eax, eax
lea edi, [ebp - 0x30f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x118], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x117]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x41c], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x41b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
lea edx, [ebp - 0x41c]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [ebp - 0x41c]
push eax
push 0x60cb8c
lea ecx, [ebp - 0x118]
push ecx
call dword [0x62341c]
add esp, 0x10
lea edx, [ebp - 0x118]
push edx
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x60cba0
lea ecx, [ebp - 0x41c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edx, [ebp + eax - 0x41f]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x6243c4
lea ecx, [ebp - 0x318]
call fcn.00585c2f
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
mov ecx, dword [ebp + 8]
mov dword [ecx], 0
mov dword [ebp - 0x314], 1
mov edx, 1
test edx, edx
je 0x428bd4
mov dword [ebp - 0x420], 0
jmp 0x428aae
mov eax, dword [ebp - 0x420]
add eax, 1
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 2
jge 0x428bd4
mov ecx, dword [ebp - 0x420]
xor edx, edx
cmp ecx, dword [0x6243a0]
setne dl
mov eax, dword [ebp - 0x314]
xor eax, edx
test eax, eax
je 0x428bcf
push 0x60cba4
push 0xa
mov ecx, dword [0x624430]
push ecx
mov edx, dword [0x62443c]
push edx
mov eax, dword [0x624438]
push eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.0045ae55
push eax
mov ecx, dword [ebp - 0x420]
mov edx, dword [ecx*4 + 0x60c880]
push edx
push 0x60cbac
lea eax, [ebp - 0x310]
push eax
call dword [0x62341c]
add esp, 0x28
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x310]
push edx
call fcn.00428567
add esp, 0x14
and eax, 0xff
test eax, eax
je 0x428b58
mov dword [ebp - 0x10], 1
jmp 0x428bd4
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x428bcf
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
lea ecx, [ebp - 0x318]
call fcn.00585f9d
push 0x60cbe0
lea ecx, [ebp - 0x318]
call fcn.00585f9d
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0x424], ecx
mov edx, dword [ebp - 0x424]
push edx
call fcn.005861f7
add esp, 4
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov ecx, dword [ebp + 0x10]
cmp dword [ecx], 0
je 0x428bcf
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
mov dword [ebp - 0x428], eax
mov ecx, dword [ebp - 0x428]
push ecx
call fcn.005861f7
add esp, 4
mov edx, dword [ebp + 0x10]
mov dword [edx], 0
jmp 0x428a9f
cmp dword [ebp - 0x10], 0
jne 0x428c47
push 0x60cbe4
lea ecx, [ebp - 0x318]
call fcn.0057df21
test eax, eax
jl 0x428bff
lea ecx, [ebp - 0x318]
push ecx
mov ecx, 0x623f94
call fcn.00585cfa
push 0x6243c8
lea edx, [ebp - 0x318]
push edx
call fcn.00403a00
and eax, 0xff
test eax, eax
je 0x428c29
push 0x60cbec
lea ecx, [ebp - 0x318]
call fcn.00585d4a
push 0x2030
push 0x60cbfc
lea ecx, [ebp - 0x318]
call fcn.00401260
push eax
push 0
call dword [0x623418]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x42c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x318]
call fcn.00585bc1
mov eax, dword [ebp - 0x42c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret