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

Disassembly:
push 0xffffffffffffffff
push 0x100dfd5c
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x1010bb90]
xor eax, esp
mov dword [esp + 0x268], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1010bb90]
xor eax, esp
push eax
lea eax, [esp + 0x284]
mov dword fs:[0], eax
mov eax, dword [esp + 0x294]
xor ebx, ebx
mov dword [esp + 0x18], eax
mov ebp, 0x10
cmp dword [0x1019ec4c], ebx
jne 0x100a8515
xor ecx, ecx
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], cx
lea edx, [esp + 0x74]
push edx
push ebx
push ebx
push 0x1a
push ebx
mov dword [esp + 0x2a0], ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x100a8402
push 0x100f57d8
lea eax, [esp + 0x78]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [esp + 0x74]
push ecx
lea ecx, [esp + 0x20]
call fcn.100083f0
push ebx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x40]
push eax
mov byte [esp + 0x298], 1
call fcn.100ac070
mov eax, dword [eax]
add esp, 0xc
cmp eax, ebx
je 0x100a8374
cmp eax, 1
je 0x100a8374
lea eax, [ebp - 0xf]
jmp 0x100a8376
xor eax, eax
test al, al
sete bl
mov byte [esp + 0x28c], 0
cmp dword [esp + 0x34], 8
jb 0x100a8397
mov ecx, dword [esp + 0x20]
push ecx
call fcn.100c14d4
add esp, 4
test bl, bl
je 0x100a83d1
lea edx, [esp + 0x74]
push edx
lea ecx, [esp + 0x20]
call fcn.100083f0
lea eax, [esp + 0x1c]
push 0
push eax
mov byte [esp + 0x294], 2
call fcn.100ac320
add esp, 8
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28c], 0
call fcn.10002e10
lea eax, [esp + 0x74]
lea edx, [eax + 2]
jmp 0x100a83e0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100a83e0
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x78]
push ecx
lea ecx, [esp + 0x60]
call fcn.1000c5b0
xor ebx, ebx
jmp 0x100a8412
push 1
push 0x100f5800
lea ecx, [esp + 0x60]
call fcn.1000c5b0
push 0x104
push ebx
push 0x1019de90
call fcn.100c44c0
lea edx, [esp + 0x48]
push edx
lea ecx, [esp + 0x68]
call fcn.100a81d0
mov edi, eax
push ebx
push 0x20
push 0x1f
push 0x1e
push 0x1d
push 0x1c
push 0x1b
push 0x1a
push 0x19
push 0x18
push 0x17
push 0x16
push 0x15
push 0x14
push 0x13
push 0x12
push 0x11
push ebp
push 0xf
push 0xe
push 0xd
push 0xffffffffffffff80
push 0xffffffffffffff83
push 0x7e
push 0x37
push 0x77
push 0x70
push 0x6a
push 0x7a
push 0x65
push 0x5f
push 0x75
push 0x26
lea esi, [esp + 0xb0]
mov byte [esp + 0x320], 3
call fcn.10070600
add esp, 0x94
cmp dword [edi + 0x18], ebp
jb 0x100a8496
mov edi, dword [edi + 4]
jmp 0x100a8499
add edi, 4
cmp dword [eax + 0x18], ebp
jb 0x100a84a3
mov eax, dword [eax + 4]
jmp 0x100a84a6
add eax, 4
push edi
push eax
push 0x1019de90
call fcn.100c029c
add esp, 0xc
cmp dword [esp + 0x34], ebp
jb 0x100a84c8
mov eax, dword [esp + 0x20]
push eax
call fcn.100c14d4
add esp, 4
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], 0
cmp dword [esp + 0x54], ebp
jb 0x100a84ec
mov ecx, dword [esp + 0x40]
push ecx
call fcn.100c14d4
add esp, 4
mov dword [esp + 0x28c], 0xffffffff
cmp dword [esp + 0x70], 8
mov dword [0x1019ec4c], 1
jb 0x100a8515
mov edx, dword [esp + 0x5c]
push edx
call fcn.100c14d4
add esp, 4
push 0x100f411c
push 0x1019de90
call fcn.100c1120
mov edi, eax
add esp, 8
cmp edi, ebx
je 0x100a85d9
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push ebx
push 0x20
push 0x1f
push 0x1e
push 0x1d
push 0x1c
push 0x1b
push 0x1a
push 0x19
push 0x18
push 0x17
push 0x16
push 0x15
push 0x1e
push 0xffffffffffffff86
push 0x37
push 0x31
push 0x6d
push 0x73
push 0x40
push 0x3d
push 0x31
push 0x45
push 0x6e
push 0x3b
push 0x38
push 0x2c
push 0x40
push 0x69
push 0x36
push 0x33
push 0x27
push 0x5c
lea esi, [esp + 0xc0]
call fcn.10070600
add esp, 0x84
cmp dword [eax + 0x18], ebp
jb 0x100a8599
mov eax, dword [eax + 4]
jmp 0x100a859c
add eax, 4
movzx edx, word [esp + 0x64]
mov ecx, dword [esp + 0x18]
push ecx
movzx ecx, word [esp + 0x66]
push edx
movzx edx, word [esp + 0x68]
push ecx
push edx
push eax
push edi
call fcn.100c1c57
add esp, 0x18
cmp dword [esp + 0x54], ebp
jb 0x100a85d0
mov eax, dword [esp + 0x40]
push eax
call fcn.100c14d4
add esp, 4
push edi
call fcn.100c190c
add esp, 4
mov ecx, dword [esp + 0x284]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x268]
xor ecx, esp
call fcn.100bfcbc
add esp, 0x27c
ret