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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x96c
mov eax, dword [0x1099a38]
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x964], eax
mov dword [ebp - 0x94c], ebx
xor eax, eax
lea edi, [ebp - 0x948]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor esi, esi
push edx
inc esi
push ecx
mov dword [ebp - 0x968], ecx
mov dword [ebp - 0x960], edx
mov dword [ebp - 0x92c], esi
stosd dword es:[edi], eax
mov dword [ebp - 0x934], ebx
mov dword [ebp - 0x93c], ebx
mov dword [ebp - 0x954], ebx
mov dword [ebp - 0x938], esi
mov dword [ebp - 0x958], ebx
mov dword [ebp - 0x950], ebx
call dword [sym.imp.UPDSPAPI.dll_UpdSpGetLineCountA]
cmp eax, ebx
mov dword [ebp - 0x96c], eax
ja 0x107f067
mov dword [ebp - 0x92c], esi
jmp 0x107f410
cmp eax, ebx
mov dword [ebp - 0x930], ebx
jbe 0x107f410
mov edi, dword [sym.imp.UPDSPAPI.dll_UpdSpGetStringFieldA]
mov esi, 0x104
lea eax, [ebp - 0x94c]
push eax
push dword [ebp - 0x930]
push dword [ebp - 0x960]
push dword [ebp - 0x968]
call dword [sym.imp.UPDSPAPI.dll_UpdSpGetLineByIndexA]
test eax, eax
je 0x107f40a
lea eax, [ebp - 0x94c]
push eax
call dword [sym.imp.UPDSPAPI.dll_UpdSpGetFieldCount]
cmp eax, 3
jae 0x107f0e1
push dword [ebp - 0x930]
push dword [ebp - 0x960]
push 0x1028b58
push 0x24f
push 0x1028b2c
call fcn.01071aff
add esp, 0x14
jmp 0x107f3f0
push ebx
push esi
lea eax, [ebp - 0x108]
push eax
push ebx
lea eax, [ebp - 0x94c]
push eax
mov byte [ebp - 0x108], bl
call edi
test eax, eax
je 0x107f3f0
lea eax, [ebp - 0x934]
push eax
push 1
lea eax, [ebp - 0x94c]
push eax
mov dword [ebp - 0x934], ebx
call dword [sym.imp.UPDSPAPI.dll_UpdSpGetIntField]
test eax, eax
jne 0x107f13a
lea eax, [ebp - 0x108]
push eax
push 0x1028b58
push 0x25d
push 0x1028af4
jmp 0x107f188
push ebx
push esi
lea eax, [ebp - 0x20c]
push eax
push 2
lea eax, [ebp - 0x94c]
push eax
mov byte [ebp - 0x20c], bl
call edi
push ebx
push esi
lea eax, [ebp - 0x720]
push eax
push 3
lea eax, [ebp - 0x94c]
push eax
mov byte [ebp - 0x720], bl
call edi
test eax, eax
jne 0x107f195
lea eax, [ebp - 0x108]
push eax
push 0x1028b58
push 0x268
push 0x1028ab8
call fcn.01071aff
add esp, 0x10
jmp 0x107f3f0
push ebx
push esi
lea eax, [ebp - 0x518]
push eax
push 4
lea eax, [ebp - 0x94c]
push eax
mov byte [ebp - 0x518], bl
call edi
lea eax, [ebp - 0x93c]
push eax
push 5
lea eax, [ebp - 0x94c]
push eax
mov dword [ebp - 0x93c], ebx
call dword [sym.imp.UPDSPAPI.dll_UpdSpGetIntField]
push ebx
push esi
lea eax, [ebp - 0x824]
push eax
push 6
lea eax, [ebp - 0x94c]
push eax
mov byte [ebp - 0x824], bl
call edi
lea eax, [ebp - 0x954]
push eax
push 7
lea eax, [ebp - 0x94c]
push eax
mov dword [ebp - 0x954], ebx
call dword [sym.imp.UPDSPAPI.dll_UpdSpGetIntField]
lea eax, [ebp - 0x938]
push eax
push 8
lea eax, [ebp - 0x94c]
push eax
mov dword [ebp - 0x938], 1
call dword [sym.imp.UPDSPAPI.dll_UpdSpGetIntField]
push ebx
push esi
lea eax, [ebp - 0x61c]
push eax
push 9
lea eax, [ebp - 0x94c]
push eax
mov byte [ebp - 0x61c], bl
call edi
push ebx
push esi
lea eax, [ebp - 0x414]
push eax
push 0xa
lea eax, [ebp - 0x94c]
push eax
mov byte [ebp - 0x414], bl
call edi
lea eax, [ebp - 0x958]
push eax
push 0xb
lea eax, [ebp - 0x94c]
push eax
mov dword [ebp - 0x958], ebx
call dword [sym.imp.UPDSPAPI.dll_UpdSpGetIntField]
push ebx
push dword [ebp - 0x934]
lea eax, [ebp - 0x928]
push eax
push dword [ebp - 0x964]
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
cmp eax, ebx
mov dword [ebp - 0x95c], eax
je 0x107f310
push 0x1000
push 0x10f5820
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x928]
push eax
mov byte [0x10f5820], bl
call fcn.01070fc9
push esi
lea eax, [ebp - 0x310]
push eax
push 0x1028ab0
push 0x10f5820
call fcn.01070fc9
push ebx
lea eax, [ebp - 0x310]
push eax
call fcn.01073f21
test eax, eax
je 0x107f2ec
mov dword [ebp - 0x950], 1
jmp 0x107f310
lea eax, [ebp - 0x310]
push eax
push 0x1028b58
push 0x299
push 0x1028a7c
call fcn.01071b3e
add esp, 0x10
mov dword [ebp - 0x950], ebx
push dword [ebp - 0x958]
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x61c]
push eax
push dword [ebp - 0x938]
lea eax, [ebp - 0x824]
push dword [ebp - 0x954]
push eax
push dword [ebp - 0x93c]
lea eax, [ebp - 0x518]
push eax
lea eax, [ebp - 0x720]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x934]
call fcn.0107e660
test eax, eax
jge 0x107f38c
lea eax, [ebp - 0x108]
push eax
push 0x1028b58
push 0x2a4
push 0x1028a50
mov dword [ebp - 0x95c], ebx
call fcn.01071aea
add esp, 0x10
cmp dword [ebp - 0x950], ebx
jne 0x107f3e4
push ebx
lea eax, [ebp - 0x310]
push eax
call fcn.01073f21
test eax, eax
je 0x107f3e4
push ebx
push 0x102838c
push 0x1028a4c
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x934]
call fcn.0107ed19
test eax, eax
jge 0x107f3e4
lea eax, [ebp - 0x310]
push eax
push 0x1028b58
push 0x2ac
push 0x1028a18
call fcn.01071b3e
add esp, 0x10
mov eax, dword [ebp - 0x95c]
and dword [ebp - 0x92c], eax
inc dword [ebp - 0x930]
mov eax, dword [ebp - 0x930]
cmp eax, dword [ebp - 0x96c]
jb 0x107f080
jmp 0x107f410
mov dword [ebp - 0x92c], ebx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x92c]
pop edi
pop esi
pop ebx
call fcn.0106bc50
leave
ret 0xc