Function at 0x1002b080
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015542e
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x101a4494]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, dword [ebp + 8]
push 0x1016184c
push str.action
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 0
push eax
call fcn.10021df0
cmp dword [ebp - 0x220], 0
mov byte [ebp - 4], 1
jne 0x1002b118
mov edx, dword [ebp - 0x21c]
cmp edx, 0x10
jb 0x1002b324
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002b111
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002b375
push edx
push ecx
jmp 0x1002b31c
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebx + 0x110]
call fcn.10011400
mov edi, dword [ebp - 0x21c]
lea eax, [ebp - 0x230]
mov esi, dword [ebp - 0x230]
cmp edi, 0x10
push 0x12
push str.watch_window_event
push dword [ebp - 0x220]
cmovae eax, esi
push eax
call fcn.10020820
add esp, 0x10
test al, al
je 0x1002b181
push 0
push 0
push 0
push 0x100247c0
push 0
push 0x800c
push 0x800c
call dword [sym.imp.USER32.dll_SetWinEventHook]
mov dword [ebx + 0x10c], eax
jmp 0x1002b2ee
push 0x16
push str.watch_deskico_deletion
push dword [ebp - 0x220]
cmp edi, 0x10
lea eax, [ebp - 0x230]
cmovae eax, esi
push eax
call fcn.10020820
add esp, 0x10
test al, al
je 0x1002b2fa
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1012e610
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x218]
add esp, 0xc
push 0
push 0
push eax
push 0
call esi
xor eax, eax
mov dword [ebp - 0x238], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002b200
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x248]
call fcn.1000bc10
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
push 0
cmovae eax, dword [ebp - 0x248]
push ecx
mov ecx, esp
mov byte [ebp - 4], 2
push eax
call fcn.100148a0
lea ecx, [ebx + 4]
call fcn.1000fdd0
push 0
push 0x19
lea eax, [ebp - 0x218]
push eax
push 0
call esi
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002b265
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x248]
call fcn.1000bc10
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
push 0
cmovae eax, dword [ebp - 0x248]
push ecx
mov ecx, esp
push eax
call fcn.100148a0
lea ecx, [ebx + 4]
call fcn.1000fdd0
mov edx, dword [ebp - 0x234]
cmp edx, 8
jb 0x1002b2ee
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002b2e4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002b37a
push edx
push ecx
call fcn.100f4a6f
add esp, 8
mov edi, dword [ebp - 0x21c]
mov esi, dword [ebp - 0x230]
cmp edi, 0x10
jb 0x1002b324
inc edi
mov eax, esi
cmp edi, 0x1000
jb 0x1002b31a
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002b37f
push edi
push esi
call fcn.100f4a6f
add esp, 8
mov ecx, dword [ebp + 0x30]
mov byte [ebp - 0x230], 0
mov dword [ebp - 0x21c], 0xf
mov dword [ebp - 0x220], 0
test ecx, ecx
je 0x1002b357
mov edx, dword [ecx]
lea eax, [ebp + 0xc]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100f4dc3
mov esp, ebp
pop ebp
ret 0x2c
call fcn.10131c3f
call fcn.10131c3f
call fcn.10131c3f
int3