Function at 0x1002b827
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007e179
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xfc
push esi
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1002bec1
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x90], eax
lea eax, [ebp + 8]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x90]
mov eax, dword [eax + 4]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0xbc], 0xffffffff
mov dword [ebp - 0x38], 0
jmp 0x1002b88a
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 1
jge 0x1002b89d
mov eax, dword [ebp - 0x38]
mov dword [ebp + eax*4 - 0x20], 0x4a8c6a53
jmp 0x1002b883
mov byte [ebp - 0x19], 0
movzx eax, byte [ebp - 0x19]
test eax, eax
je 0x1002b8bd
push 0x145f
push 1
push 0x4f07
call fcn.1002b63a
add esp, 0xc
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x20], 0xfffffff3
jmp 0x1002b8e2
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x20]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x20], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x20], 0xfffffffc
jl 0x1002b9e6
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 0x3c], 0
jmp 0x1002b90a
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 2
jge 0x1002b920
mov eax, dword [ebp - 0x3c]
mov dword [ebp + eax*4 - 0xf0], 1
jmp 0x1002b903
cmp dword [ebp - 0x28], 0
je 0x1002b938
cmp dword [ebp - 0x28], 0
jne 0x1002b938
mov dword [ebp - 0xa8], 1
jmp 0x1002b93f
and dword [ebp - 0xa8], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x20]
mov dword [ebp - 0x104], eax
cmp dword [ebp - 0x28], 0
je 0x1002b96e
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x20], 0
je 0x1002b96e
mov dword [ebp - 0xac], 1
jmp 0x1002b975
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0xa8]
cmp eax, dword [ebp - 0xac]
jl 0x1002b98c
mov dword [ebp - 0x54], 1
jmp 0x1002b990
and dword [ebp - 0x54], 0
cmp dword [ebp - 0x54], 0xaa61fc2d
jbe 0x1002b9a2
mov dword [ebp - 0x80], 1
jmp 0x1002b9a6
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x80], eax
jle 0x1002b9b7
mov dword [ebp - 0x5c], 1
jmp 0x1002b9bb
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x5c]
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0xf0], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xf0]
mov dword [ebp - 0xbc], eax
jmp 0x1002b8cd
mov eax, dword [ebp - 0x90]
mov eax, dword [eax]
push 8
pop ecx
imul ecx, ecx, 5
lea eax, [eax + ecx + 0x78]
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x10], 0x94a1888
mov dword [ebp - 0x18], 0x23d1bca9
push 1
lea ecx, [ebp - 0x8c]
call fcn.10017fd3
and dword [ebp - 4], 0
mov dword [ebp - 0x2c], 0
jmp 0x1002ba2d
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 1
jge 0x1002ba49
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x8c]
call fcn.10018040
mov dword [eax], 0x6dc99220
jmp 0x1002ba26
cmp dword [ebp - 0x10], 0
je 0x1002bb2a
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x10], eax
jle 0x1002bb12
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x10], eax
je 0x1002ba7f
mov dword [ebp - 0x64], 1
jmp 0x1002ba83
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x64], eax
jge 0x1002ba97
mov dword [ebp - 0x98], 1
jmp 0x1002ba9e
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
dec eax
jmp 0x1002bab6
and dword [ebp - 0x6c], 0
cmp dword [ebp - 0x6c], 0xae28de63
je 0x1002bacf
mov dword [ebp - 0xa0], 1
jmp 0x1002bad6
and dword [ebp - 0xa0], 0
cmp dword [ebp - 0xa0], 0x510afbd1
jg 0x1002baeb
mov dword [ebp - 0x74], 1
jmp 0x1002baef
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x74], eax
jl 0x1002bb00
mov dword [ebp - 0x48], 1
jmp 0x1002bb04
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x48], eax
je 0x1002bb12
and dword [ebp - 0x7c], 0
jmp 0x1002bb19
mov dword [ebp - 0x7c], 1
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x7c], eax
jl 0x1002bb2a
mov dword [ebp - 0x40], 1
jmp 0x1002bb2e
and dword [ebp - 0x40], 0
push 0
lea ecx, [ebp - 0x8c]
call fcn.10018040
mov ecx, dword [ebp - 0x40]
mov dword [eax], ecx
cmp dword [ebp - 0x40], 0
je 0x1002bc08
mov dword [ebp - 0xb8], 1
push 0
lea ecx, [ebp - 0x8c]
call fcn.10018040
cmp dword [eax], 0xd55fd0a3
je 0x1002bb75
mov dword [ebp - 0xa4], 1
jmp 0x1002bb7c
and dword [ebp - 0xa4], 0
cmp dword [ebp - 0x18], 0x458a
jg 0x1002bb91
mov dword [ebp - 0xb0], 1
jmp 0x1002bb98
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0xb8]
cmp dword [ebp - 0xb0], eax
jne 0x1002bbb2
mov dword [ebp - 0x94], 1
jmp 0x1002bbb9
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0xb8]
sub eax, dword [ebp - 0xa4]
cmp eax, dword [ebp - 0x94]
jl 0x1002bbd9
mov dword [ebp - 0xb4], 1
jmp 0x1002bbe0
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x18], eax
push 0
lea ecx, [ebp - 0x8c]
call fcn.10018040
push 0
lea ecx, [ebp - 0x8c]
call fcn.10018040
and dword [eax], 0
jmp 0x1002bc28
push 0
lea ecx, [ebp - 0x8c]
call fcn.10018040
mov esi, eax
push 0
lea ecx, [ebp - 0x8c]
call fcn.10018040
mov ecx, dword [esi]
mov dword [eax], ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8c]
call fcn.1001803b
mov eax, dword [ebp - 0x9c]
cmp dword [eax + 4], 0
jbe 0x1002bebf
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0x78]
add ecx, dword [eax]
mov dword [ebp - 0x70], ecx
push 2
lea ecx, [ebp - 0xe8]
call fcn.10017fd3
mov dword [ebp - 4], 1
mov dword [ebp - 0x44], 0
mov dword [ebp - 0xdc], 0x1f14
mov dword [ebp - 0xd8], 0x1f14
mov dword [ebp - 0xd4], 0x1f14
mov dword [ebp - 0xd0], 0x1f14
mov dword [ebp - 0xc8], 0xffffffff
push 0xd5
push 0x5e4d
push 0
lea eax, [ebp - 0x100]
push eax
lea eax, [ebp - 0xe8]
push eax
push 0xc0c
call fcn.1002f281
add esp, 0x18
call fcn.1002b69e
or eax, 0xffffffff
je 0x1002bd43
push 0
lea ecx, [ebp - 0xe8]
call fcn.10018040
mov esi, eax
push 0
lea ecx, [ebp - 0xe8]
call fcn.10018040
mov ecx, dword [esi]
sub ecx, dword [eax]
cmp ecx, 1
jle 0x1002bd01
mov dword [ebp - 0x4c], 1
jmp 0x1002bd05
and dword [ebp - 0x4c], 0
cmp dword [ebp - 0x4c], 0xfffffff7
jle 0x1002bd14
mov dword [ebp - 0x50], 1
jmp 0x1002bd18
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jne 0x1002bd3a
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xdc], 0
jne 0x1002bd3a
cmp dword [ebp - 0x44], 0
je 0x1002bd43
mov dword [ebp - 0x58], 1
jmp 0x1002bd47
and dword [ebp - 0x58], 0
imul eax, dword [ebp - 0x58], 0
cmp eax, 0xb51dba33
ja 0x1002bd5b
mov dword [ebp - 0x60], 1
jmp 0x1002bd5f
and dword [ebp - 0x60], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xdc]
cmp dword [ebp - 0x60], eax
je 0x1002bd7a
mov dword [ebp - 0x68], 1
jmp 0x1002bd7e
and dword [ebp - 0x68], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xdc]
add eax, dword [ebp - 0x68]
mov dword [ebp - 0xc8], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe8]
call fcn.1001803b
mov eax, dword [ebp - 0x70]
cmp dword [eax], 0
jbe 0x1002bebf
mov dword [ebp - 0x24], 0xd5e48d32
push 3
lea ecx, [ebp - 0xfc]
call fcn.10017fd3
mov dword [ebp - 4], 2
mov dword [ebp - 0x30], 0
jmp 0x1002bdda
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 3
jge 0x1002bdf6
push dword [ebp - 0x30]
lea ecx, [ebp - 0xfc]
call fcn.10018040
mov dword [eax], 0xac12265e
jmp 0x1002bdd3
mov dword [ebp - 0x24], 0
jmp 0x1002be06
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 6
jl 0x1002be64
mov dword [ebp - 0x34], 0x665683c8
mov dword [ebp - 0x34], 0
jmp 0x1002be23
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xa
jl 0x1002be62
mov dword [ebp - 0xcc], 0xf5f49900
mov dword [ebp - 0xc0], 0xfffffffa
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0xfc]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xcc]
push eax
push 0
call fcn.1002e663
add esp, 0x14
jmp 0x1002be1c
jmp 0x1002bdff
mov byte [ebp - 0x12], 0
movzx eax, byte [ebp - 0x12]
test eax, eax
je 0x1002be8e
push 0x6829
push 1
push 0x1a7c
push 0x638b
push 0x2a27
call fcn.1002b6bd
add esp, 0x14
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xfc]
call fcn.1001803b
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0xc4]
push 1
lea eax, [ebp - 0x78]
push eax
push 0x3401
call fcn.1002b7a7
add esp, 0x14
jmp 0x1002bda3
jmp 0x1002beda
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x1002beda
push 0x1330
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret