Function at 0x1002e2dc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10085684
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x12c
push esi
jmp 0x1002e317
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
add eax, 4
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
add eax, 4
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
cmp dword [eax], 0
je 0x1002ea42
mov dword [ebp - 0x28], 0x5a9576c3
mov dword [ebp - 0x70], 0xfffffffe
mov dword [ebp - 0x18], 0xf9986e3
mov dword [ebp - 0x50], 0xcc91
mov dword [ebp - 0x64], 6
mov dword [ebp - 0x48], 0xb0cadfb1
mov dword [ebp - 0xe4], 0xffffffff
mov dword [ebp - 0xd4], 0xa26cdee9
cmp dword [ebp - 0x18], 0
jne 0x1002e378
cmp dword [ebp - 0x18], 0
jne 0x1002e378
and dword [ebp - 0x9c], 0
jmp 0x1002e382
mov dword [ebp - 0x9c], 1
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x9c], eax
jge 0x1002e3ab
mov dword [ebp - 0xa8], 1
jmp 0x1002e3b2
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0xd66de6b9
jae 0x1002e3d6
mov dword [ebp - 0xb0], 1
jmp 0x1002e3dd
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0xb0], eax
jne 0x1002e3f4
mov dword [ebp - 0x94], 1
jmp 0x1002e3fb
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x94]
jg 0x1002e412
mov dword [ebp - 0xbc], 1
jmp 0x1002e419
and dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x48]
add eax, 0xf0a4
cmp dword [ebp - 0x70], eax
jg 0x1002e447
cmp dword [ebp - 0x18], 0
je 0x1002e447
mov dword [ebp - 0x90], 1
jmp 0x1002e44e
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x50]
cmp dword [ebp - 0x90], eax
je 0x1002e462
mov dword [ebp - 0x78], 1
jmp 0x1002e466
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x78], eax
jle 0x1002e47a
mov dword [ebp - 0xa4], 1
jmp 0x1002e481
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0x50]
imul eax, dword [ebp - 0xa4]
add eax, dword [ebp - 0xe4]
mov dword [ebp - 0xd4], eax
mov byte [ebp - 0xe], 0
movzx eax, byte [ebp - 0xe]
test eax, eax
je 0x1002e4b0
push 0
push 0x722
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov eax, dword [eax]
and eax, 0x80000000
je 0x1002e74f
mov dword [ebp - 0x44], 0xbf5c
mov dword [ebp - 0x20], 0xfffffff7
mov dword [ebp - 0x24], 0x3e2f7c62
mov dword [ebp - 0x110], 0x4c6a
mov dword [ebp - 0x10c], 0x4c6a
mov dword [ebp - 0x108], 0x4c6a
mov dword [ebp - 0x104], 0x4c6a
lea ecx, [ebp - 0x3d]
call fcn.100091a3
push eax
lea eax, [ebp - 0x100]
push eax
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x138]
call fcn.10016bac
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x12c]
call fcn.10016b72
and dword [ebp - 4], 0
push 3
lea ecx, [ebp - 0xfc]
call fcn.10016b30
mov byte [ebp - 4], 1
mov dword [ebp - 0x38], 0
jmp 0x1002e556
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 3
jge 0x1002e572
push dword [ebp - 0x38]
lea ecx, [ebp - 0xfc]
call fcn.10016b9d
mov dword [eax], 0xfd89d684
jmp 0x1002e54f
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x44]
imul eax, dword [ebp - 0x20]
test eax, eax
je 0x1002e598
cmp dword [ebp - 0x20], 0
je 0x1002e598
mov dword [ebp - 0xc4], 1
jmp 0x1002e59f
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x11c], eax
mov eax, 0x45acee61
cmp eax, 6
jg 0x1002e5bb
mov dword [ebp - 0x80], 1
jmp 0x1002e5bf
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x80]
jl 0x1002e5cd
cmp dword [ebp - 0x20], 0
jne 0x1002e5d9
cmp dword [ebp - 0x44], 0
jne 0x1002e5d9
and dword [ebp - 0x58], 0
jmp 0x1002e5e0
mov dword [ebp - 0x58], 1
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x24], 3
jmp 0x1002e5f6
mov eax, dword [ebp - 0x24]
dec eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jl 0x1002e703
mov dword [ebp - 0x1c], 0xf067
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x54], 0xaf2c67a9
mov dword [ebp - 0xcc], 0xcb4f5fdf
push 2
lea ecx, [ebp - 0xfc]
call fcn.10016b9d
mov dword [eax], 1
xor esi, esi
inc esi
neg esi
push 2
lea ecx, [ebp - 0x12c]
call fcn.10016b9d
cmp esi, dword [eax]
je 0x1002e654
mov dword [ebp - 0x88], 1
jmp 0x1002e65b
and dword [ebp - 0x88], 0
imul eax, dword [ebp - 0x1c], 0x87c5
sub eax, dword [ebp - 0x88]
cmp eax, dword [ebp - 0x1c]
jle 0x1002e679
mov dword [ebp - 0xac], 1
jmp 0x1002e680
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0xac], eax
jg 0x1002e694
mov dword [ebp - 0x68], 1
jmp 0x1002e698
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0xfffffffe
ja 0x1002e6ad
mov dword [ebp - 0x6c], 1
jmp 0x1002e6b1
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x6c]
cmp eax, 0x3cc9d6c8
jle 0x1002e6c2
cmp dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x54], eax
or eax, 0xffffffff
jne 0x1002e6dc
cmp dword [ebp - 0x54], 0
jne 0x1002e6dc
and dword [ebp - 0x74], 0
jmp 0x1002e6e3
mov dword [ebp - 0x74], 1
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0xcc], eax
mov esi, dword [ebp - 0x54]
push 1
lea ecx, [ebp - 0xfc]
call fcn.10016b9d
mov dword [eax], esi
jmp 0x1002e5ef
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xfc]
call fcn.10016b98
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x12c]
call fcn.10016b98
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov eax, dword [eax]
and eax, 0xffff
push eax
mov eax, dword [ebp + 8]
push dword [eax]
push 0x4394
push 0x3c14
call fcn.1002626d
pop ecx
pop ecx
call eax
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ecx]
mov dword [ecx], eax
jmp 0x1002e787
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp + 0xc]
add ecx, dword [eax]
mov dword [ebp - 0xd0], ecx
mov eax, dword [ebp - 0xd0]
inc eax
inc eax
push eax
mov eax, dword [ebp + 8]
push dword [eax]
push 0x4394
push 0x3c14
call fcn.1002626d
pop ecx
pop ecx
call eax
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ecx]
mov dword [ecx], eax
mov dword [ebp - 0x30], 0
jmp 0x1002e797
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 3
jge 0x1002e7ad
mov eax, dword [ebp - 0x30]
mov dword [ebp + eax*4 - 0xf0], 1
jmp 0x1002e790
push 4
pop eax
shl eax, 1
mov dword [ebp + eax - 0xf0], 0
jmp 0x1002e7d8
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0xf0]
inc eax
push 4
pop ecx
shl ecx, 1
mov dword [ebp + ecx - 0xf0], eax
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0xf0], 0x1a
je 0x1002e81e
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x34], 0xfffffff7
jmp 0x1002e7fe
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 1
jle 0x1002e81c
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x1002e81a
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
jmp 0x1002e7f7
jmp 0x1002e7bf
mov byte [ebp - 0x10], 0
movzx eax, byte [ebp - 0x10]
test eax, eax
je 0x1002e840
push 0x2263
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
cmp dword [eax], 0
jne 0x1002ea3d
push 2
lea ecx, [ebp - 0xe0]
call fcn.10016b30
mov dword [ebp - 4], 2
mov dword [ebp - 0x7c], 0xd8af871
mov dword [ebp - 0xc8], 0x47d228d5
mov dword [ebp - 0xa0], 0x58efa97
mov dword [ebp - 0x5c], 1
mov dword [ebp - 0xc0], 0xfffffffd
mov dword [ebp - 0x3c], 0
jmp 0x1002e89e
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 2
jge 0x1002e8ba
push dword [ebp - 0x3c]
lea ecx, [ebp - 0xe0]
call fcn.10016b9d
mov dword [eax], 1
jmp 0x1002e897
push 0
lea ecx, [ebp - 0xe0]
call fcn.10016b9d
cmp dword [eax], 0
je 0x1002e8d9
push 1
lea ecx, [ebp - 0xe0]
call fcn.10016b9d
mov dword [ebp - 0x7c], 1
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0x5c]
cmp dword [ebp - 0xa0], eax
jge 0x1002e900
mov dword [ebp - 0x84], 1
jmp 0x1002e907
and dword [ebp - 0x84], 0
push 0
lea ecx, [ebp - 0xe0]
call fcn.10016b9d
mov ecx, dword [ebp - 0x84]
cmp ecx, dword [eax]
je 0x1002e92a
mov dword [ebp - 0x8c], 1
jmp 0x1002e931
and dword [ebp - 0x8c], 0
cmp dword [ebp - 0x8c], 0x5641
jg 0x1002e949
mov dword [ebp - 0x98], 1
jmp 0x1002e950
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x98]
sub eax, dword [ebp - 0xa0]
imul eax, eax, 0x169f
cmp eax, dword [ebp - 0x5c]
jle 0x1002e970
mov dword [ebp - 0x60], 1
jmp 0x1002e974
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0xc0], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe0]
call fcn.10016b98
mov eax, dword [ebp + 0x18]
and dword [eax], 0
mov dword [ebp - 0x2c], 0
jmp 0x1002e9a2
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 2
jge 0x1002e9b8
mov eax, dword [ebp - 0x2c]
mov dword [ebp + eax*4 - 0xb8], 0xcff0ea75
jmp 0x1002e99b
mov byte [ebp - 0xf], 0
movzx eax, byte [ebp - 0xf]
test eax, eax
je 0x1002e9e1
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
push 0
push 0x120c
call dword [sym.imp.GDI32.dll_SetWinMetaFileBits]
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0xb8], 8
jmp 0x1002ea0f
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xb8]
dec eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0xb8], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0xb8], 0xffffffeb
jge 0x1002ea3b
mov byte [ebp - 0xd], 0
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x1002ea39
push 0
push 0
push 1
push 0
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
jmp 0x1002e9f4
jmp 0x1002ea42
jmp 0x1002e2fd
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret