Function at 0x1002f3d6
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd0
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1002f42e
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x78], eax
push 0x6dbc
mov eax, dword [ebp - 0x78]
push dword [eax]
mov eax, dword [ebp - 0x6c]
push dword [eax]
push 0x4f4
push 0
call fcn.1002f3d6
add esp, 0x14
jmp 0x1002f8dd
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x9c], eax
mov dword [ebp - 4], 0x289a
mov dword [ebp - 0x28], 0xfffffff7
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x40], 0xaf16de6e
mov dword [ebp - 0x14], 6
mov dword [ebp - 0x20], 0
jmp 0x1002f470
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 2
jge 0x1002f486
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0xd0], 1
jmp 0x1002f469
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc0], eax
imul eax, dword [ebp - 4], 0x2632
test eax, eax
je 0x1002f4a3
mov eax, 0x641b44ad
test eax, eax
jne 0x1002f4af
cmp dword [ebp - 4], 0
jne 0x1002f4af
cmp dword [ebp - 4], 0
je 0x1002f4c1
mov eax, 0xde283bc1
test eax, eax
je 0x1002f4c1
mov dword [ebp - 0x50], 1
jmp 0x1002f4c5
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x28], eax
jne 0x1002f4dc
mov dword [ebp - 0x34], 1
jmp 0x1002f4e0
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x34]
je 0x1002f4f1
mov dword [ebp - 0x5c], 1
jmp 0x1002f4f5
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x5c], eax
jl 0x1002f506
mov dword [ebp - 0x80], 1
jmp 0x1002f50a
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x28], eax
jg 0x1002f524
mov dword [ebp - 0x3c], 1
jmp 0x1002f528
and dword [ebp - 0x3c], 0
cmp dword [ebp - 0x3c], 1
jge 0x1002f537
mov dword [ebp - 0x54], 1
jmp 0x1002f53b
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x54]
jl 0x1002f54c
mov dword [ebp - 0x44], 1
jmp 0x1002f550
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x44]
add eax, 0xefe0
cmp eax, 0x196a
jg 0x1002f56e
cmp dword [ebp - 4], 0
je 0x1002f56e
mov dword [ebp - 0x64], 1
jmp 0x1002f572
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x4c], eax
jne 0x1002f589
mov dword [ebp - 0x30], 1
jmp 0x1002f58d
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x30], eax
jle 0x1002f59e
mov dword [ebp - 0x38], 1
jmp 0x1002f5a2
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0x3ae5
jle 0x1002f5ba
mov dword [ebp - 0x48], 1
jmp 0x1002f5be
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x14], 1
jmp 0x1002f5d4
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x1002f618
push 0x6299
push 0x3e7d
push 0x5fda
push 0x75d2
push 0x4312
push 0x23f7
push 0x3dad
push 0x28dc
push 0x3896
push 0
push 0x5d96
call fcn.1002d127
add esp, 0x2c
jmp 0x1002f5cd
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
push 8
pop ecx
imul ecx, ecx, 5
lea eax, [eax + ecx + 0x78]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0xb0], 0x34e6d4f2
mov dword [ebp - 0x24], 0
jmp 0x1002f64d
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 1
jge 0x1002f660
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0x18], 2
jmp 0x1002f646
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x18], 0xfffffffb
jmp 0x1002f685
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x18]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x18], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x18], 0x15
jg 0x1002f6af
mov byte [ebp - 0xd], 0
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x1002f6ad
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x1002f670
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x18], 2
mov dword [ebp - 0xb0], 2
mov eax, dword [ebp - 0x58]
cmp dword [eax + 4], 0
jbe 0x1002f8dd
mov dword [ebp - 0x1c], 0x13dd33a4
mov dword [ebp - 0x90], 6
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0x1c], 0xb
jmp 0x1002f6ff
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffe5
je 0x1002f78f
mov dword [ebp - 0x70], 0
mov dword [ebp - 0xac], 0xe7ccce1c
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x84], 0xfff6
mov dword [ebp - 0x7c], 0xffffffff
mov dword [ebp - 0x74], 0xa3018177
mov dword [ebp - 0x88], 0xbf567d7
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x7c]
push eax
push 1
lea eax, [ebp - 0x84]
push eax
call fcn.1002d127
add esp, 0x2c
jmp 0x1002f6f8
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x60]
add ecx, dword [eax]
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x94], 0xfffffffd
mov dword [ebp - 0x8c], 0x69bd697e
mov byte [ebp - 0xb], 0
movzx eax, byte [ebp - 0xb]
test eax, eax
je 0x1002f7c2
push 0
call fcn.1002d546
pop ecx
push 0x45b0
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x94]
push eax
push 1
call fcn.1002d36e
add esp, 0x10
mov eax, dword [ebp - 0x68]
cmp dword [eax], 0
jbe 0x1002f8dd
mov dword [ebp - 8], 0
jmp 0x1002f7fb
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
jge 0x1002f811
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0xc8], 0xaf1124f0
jmp 0x1002f7f4
mov dword [ebp - 8], 0
jmp 0x1002f821
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 3
jge 0x1002f837
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0xbc], 1
jmp 0x1002f81a
push 4
pop eax
shl eax, 1
mov dword [ebp + eax - 0xbc], 0
jmp 0x1002f862
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0xbc]
inc eax
push 4
pop ecx
shl ecx, 1
mov dword [ebp + ecx - 0xbc], eax
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0xbc], 0
jg 0x1002f8a0
mov byte [ebp - 0xa], 0
movzx eax, byte [ebp - 0xa]
test eax, eax
je 0x1002f885
push 1
call fcn.1002d43c
pop ecx
mov byte [ebp - 0xc], 0
movzx eax, byte [ebp - 0xc]
test eax, eax
je 0x1002f89e
push 0x4d8
push 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
jmp 0x1002f849
mov byte [ebp - 9], 0
movzx eax, byte [ebp - 9]
test eax, eax
je 0x1002f8b6
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegUnLoadKeyW]
lea eax, [ebp - 0x60]
push eax
push 1
lea eax, [ebp - 0x68]
push eax
push 0x49cc
push dword [ebp - 0x9c]
push 0x7ca6
call fcn.1002d479
add esp, 0x18
jmp 0x1002f7df
mov esp, ebp
pop ebp
ret