Function at 0x100254e1
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
push esi
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1002551b
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
movzx eax, byte [eax]
test eax, eax
je 0x10025516
push 0x816
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
jmp 0x1002578d
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 8]
mov dword [eax], 3
jmp 0x10025579
mov eax, dword [ebp - 8]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jl 0x1002578d
mov dword [ebp - 0x2c], 0xffffffff
mov dword [ebp - 0x1c], 0x468a07c6
mov dword [ebp - 0x64], 0xffffffff
mov dword [ebp - 0x14], 0x9843c6bc
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 4]
call fcn.10018883
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 4]
call fcn.10018883
mov esi, eax
push 0
mov ecx, dword [ebp - 4]
call fcn.10018883
mov ecx, dword [esi]
cmp ecx, dword [eax]
jg 0x100255dc
mov dword [ebp - 0x3c], 1
jmp 0x100255e0
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x80], eax
push 3
mov ecx, dword [ebp - 4]
call fcn.10018883
push 3
mov ecx, dword [ebp - 4]
call fcn.10018883
cmp dword [eax], 1
jge 0x1002560e
mov dword [ebp - 0x10], 1
jmp 0x10025612
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
cmp dword [ebp - 0x10], 0x89d221e9
jbe 0x1002562c
mov dword [ebp - 0x28], 1
jmp 0x10025630
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp dword [ebp - 0x28], eax
jg 0x10025643
mov dword [ebp - 0x18], 1
jmp 0x10025647
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
cmp dword [ebp - 0x18], 0x89f7a9d2
je 0x10025661
mov dword [ebp - 0x5c], 1
jmp 0x10025665
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 4]
call fcn.10018883
mov esi, eax
push 0
mov ecx, dword [ebp - 4]
call fcn.10018883
mov ecx, dword [esi]
cmp ecx, dword [eax]
jg 0x10025696
mov eax, 0x35b6
test eax, eax
je 0x10025696
mov dword [ebp - 0x48], 1
jmp 0x1002569a
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x48]
mov dword [eax], ecx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 4]
call fcn.10018883
cmp dword [eax], 0
je 0x10025706
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x100256d0
mov dword [ebp - 0x40], 1
jmp 0x100256d4
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
cmp dword [ebp - 0x40], eax
jg 0x100256e7
mov dword [ebp - 0x38], 1
jmp 0x100256eb
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x14]
dec edx
mov dword [ebp - 0x14], edx
cmp eax, ecx
jge 0x10025706
xor eax, eax
je 0x10025706
mov eax, dword [ebp - 0x24]
cmp dword [eax], 0
mov esi, dword [ebp - 0x64]
imul esi, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 4]
call fcn.10018883
cmp esi, dword [eax]
je 0x10025727
mov dword [ebp - 0x34], 1
jmp 0x1002572b
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x34]
sub ecx, dword [eax]
je 0x10025745
push 3
pop eax
test eax, eax
je 0x10025745
mov dword [ebp - 0x20], 1
jmp 0x10025749
and dword [ebp - 0x20], 0
push 2
mov ecx, dword [ebp - 4]
call fcn.10018883
mov ecx, dword [ebp - 0x20]
add ecx, dword [eax]
mov eax, dword [ebp - 0x6c]
cmp ecx, dword [eax]
je 0x10025768
mov dword [ebp - 0x44], 1
jmp 0x1002576c
and dword [ebp - 0x44], 0
cmp dword [ebp - 0x44], 0x1e745c5b
jne 0x1002577e
mov dword [ebp - 0x4c], 1
jmp 0x10025782
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x1c], eax
jmp 0x1002556e
pop esi
mov esp, ebp
pop ebp
ret