Function at 0x1002bef9
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10059399
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xbc
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x38]
test eax, eax
je 0x1002c111
mov eax, dword [ebp + 8]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x50], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
movzx eax, byte [eax]
test eax, eax
je 0x1002c0fe
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x38], 0x1f69
mov dword [ebp - 0xb4], str.lvjnwnpb_abj_nafgrylh_byuxel_edwicgy_vktqscn_suibzrx_gth_gjgu_suj_vizla_gusez_amofzu_gukncaca
cmp dword [ebp - 0x38], 0x211d
jle 0x1002c089
push 0
push 0
push 0x2360
push 0
push 0
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamA]
and dword [ebp - 0x24], 0
jmp 0x1002bfd9
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xd82
jge 0x1002c089
and dword [ebp - 0x20], 0
jmp 0x1002bff3
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x553d
jge 0x1002c084
and dword [ebp - 0x18], 0
jmp 0x1002c00d
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x1348
jge 0x1002c07f
and dword [ebp - 0x1c], 0
jmp 0x1002c023
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x679f
jge 0x1002c07d
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x18]
and eax, dword [ebp - 0x1c]
xor eax, dword [ebp - 0x24]
cdq
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], edx
push dword [ebp - 0xac]
push dword [ebp - 0xb0]
lea ecx, [ebp - 0xcc]
call fcn.10001331
pop ecx
pop ecx
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
call fcn.100013a2
push eax
call fcn.10040c20
pop ecx
lea ecx, [ebp - 0xcc]
call fcn.10001398
jmp 0x1002c01c
jmp 0x1002c006
jmp 0x1002bfec
jmp 0x1002bfd2
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x1002c0a2
mov ecx, dword [ebp - 0x28]
call fcn.100359b2
movzx eax, al
test eax, eax
jne 0x1002c0bd
push dword [ebp - 0x90]
mov ecx, dword [ebp - 0x28]
call fcn.10035974
mov ecx, dword [ebp - 0x70]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x30]
mov byte [eax], 1
and dword [ebp - 4], 0
cmp dword [ebp - 0x38], 0x1c78
jge 0x1002c0d6
push dword [ebp - 0xb4]
call fcn.10040c20
pop ecx
jmp 0x1002c0f2
or dword [ebp - 4], 0xffffffff
jmp 0x1002c0fc
jmp 0x1002c10c
push 0
push 0x45
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
jmp 0x1002c21f
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x44], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
movzx eax, byte [eax]
test eax, eax
je 0x1002c1bc
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x34]
cmp dword [eax], 0
je 0x1002c1ba
mov eax, dword [ebp - 0x3c]
movzx eax, byte [eax]
test eax, eax
je 0x1002c1a2
mov ecx, dword [ebp - 0x2c]
call fcn.100359b2
movzx eax, al
test eax, eax
jne 0x1002c1ba
push dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x2c]
call fcn.10035974
mov ecx, dword [ebp - 0x34]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x3c]
mov byte [eax], 1
jmp 0x1002c21f
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x1002c1ff
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], 3
jge 0x1002c21f
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0xa4]
call fcn.10001426
mov dword [eax], 0xe1dfe009
jmp 0x1002c1f4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret