Function at 0x1002b6f5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10077365
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x7c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1002b740
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push 0
call fcn.10031407
add esp, 0xc
jmp 0x1002b934
mov dword [ebp - 0x20], 0x6b0f
mov dword [ebp - 0x34], 0x10007d54
cmp dword [ebp - 0x20], 0x6ec9
jle 0x1002b7d2
push 0x495
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
and dword [ebp - 0x18], 0
jmp 0x1002b771
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x29b6
jge 0x1002b7d2
and dword [ebp - 0x1c], 0
jmp 0x1002b787
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x6328
jge 0x1002b7d0
mov eax, dword [ebp - 0x18]
imul eax, dword [ebp - 0x1c]
cdq
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], edx
push dword [ebp - 0x70]
push dword [ebp - 0x74]
lea ecx, [ebp - 0x8c]
call fcn.1000a883
pop ecx
pop ecx
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
call fcn.10020d7c
push eax
call fcn.1005fa61
pop ecx
lea ecx, [ebp - 0x8c]
call fcn.10020d4d
jmp 0x1002b780
jmp 0x1002b76a
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x3c], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x20], 0x6a56
jge 0x1002b7ee
push dword [ebp - 0x34]
call fcn.1005fa61
pop ecx
jmp 0x1002b80a
or dword [ebp - 4], 0xffffffff
jmp 0x1002b814
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x44], eax
lea eax, [ebp + 0x28]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax]
test eax, eax
je 0x1002b855
push 0
push 0
push 0xd1c
push 0x1ef3
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x1002b934
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x1002b8a7
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
jg 0x1002b934
push 0x6c13
push 0x3ac7
push dword [ebp - 0x24]
push 0x4d64
push dword [ebp - 0x64]
push 0x4aa
push dword [ebp - 0x14]
push 0xde6
push dword [ebp - 0x68]
push dword [ebp - 0x6c]
push 1
push 0x68ac
push 0x5cc0
push 0
push 0x7d23
push 0
push 0x22fb
push 0x7b0b
push 0x1293
push 0x1147
push 0x63d8
push 0x6b88
push 0x4631
call fcn.1003ed03
add esp, 0x5c
push 1
mov ecx, dword [ebp - 0x24]
call fcn.10021541
cmp dword [eax], 0
je 0x1002b92f
jmp 0x1002b89c
jmp 0x1002b89c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret