Function at 0x1002b327
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1002b543
lea eax, [ebp + 8]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x40]
movzx eax, byte [eax]
test eax, eax
je 0x1002b521
mov dword [ebp - 4], 0xe76f5020
mov dword [ebp - 0x1c], 0x40ee1d45
mov dword [ebp - 0x44], 0x4333
mov dword [ebp - 0x38], 0xfffffff6
mov dword [ebp - 0x60], 0xc3da550
mov dword [ebp - 0x10], 0
jmp 0x1002b386
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jge 0x1002b399
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0xc], 0xc85f
jmp 0x1002b37f
mov dword [ebp - 4], 0
jmp 0x1002b3a9
mov eax, dword [ebp - 4]
dec eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x1002b51f
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0xc]
mov dword [ebp + ecx*4 - 0xc], eax
mov dword [ebp - 8], 0
jmp 0x1002b3d8
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jg 0x1002b51a
mov dword [ebp - 0x3c], 0xffffffff
push 0x1827
push 0x7d13
push 0xfcd
push 0x5142
push 0x222e
lea eax, [ebp - 0x3c]
push eax
push 0x470
push 0x218
push 0x6fe2
push 0x45f8
push 0x432a
push 1
push 0
push 0x6922
push 0x4d21
call fcn.100450f2
add esp, 0x3c
mov eax, dword [ebp - 8]
cmp dword [ebp + eax*4 - 0xc], 0x8b78
jne 0x1002b44b
mov dword [ebp - 0x20], 1
jmp 0x1002b44f
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 4]
cmp dword [ebp + eax*4 - 0xc], 0
je 0x1002b46b
mov eax, 0xf0442e11
test eax, eax
je 0x1002b46b
mov dword [ebp - 0x14], 1
jmp 0x1002b46f
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x14], eax
jl 0x1002b480
mov dword [ebp - 0x18], 1
jmp 0x1002b484
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x1002b49f
mov eax, 0xe60d
test eax, eax
jne 0x1002b49f
and dword [ebp - 0x24], 0
jmp 0x1002b4a6
mov dword [ebp - 0x24], 1
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x44]
jl 0x1002b4ba
mov dword [ebp - 0x28], 1
jmp 0x1002b4be
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x28], eax
jle 0x1002b4cf
mov dword [ebp - 0x2c], 1
jmp 0x1002b4d3
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x2c], eax
jge 0x1002b4e4
mov dword [ebp - 0x30], 1
jmp 0x1002b4e8
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x30], eax
jl 0x1002b4f9
mov dword [ebp - 0x34], 1
jmp 0x1002b4fd
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0xc]
mov ecx, dword [ebp - 0x34]
sub ecx, dword [ebp - 4]
add eax, ecx
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
jmp 0x1002b3d1
jmp 0x1002b3a2
jmp 0x1002b541
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
movzx eax, byte [eax]
test eax, eax
je 0x1002b541
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
jmp 0x1002b56d
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x54], eax
push dword [ebp - 0x54]
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
mov edx, 0x22f6
mov cl, 1
call fcn.100238ef
add esp, 0xc
mov esp, ebp
pop ebp
ret