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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x96c
mov eax, dword [0x102c22c]
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 0x1024cd3
mov dword [ebp - 0x92c], esi
jmp 0x102507c
cmp eax, ebx
mov dword [ebp - 0x930], ebx
jbe 0x102507c
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 0x1025076
lea eax, [ebp - 0x94c]
push eax
call dword [sym.imp.UPDSPAPI.dll_UpdSpGetFieldCount]
cmp eax, 3
jae 0x1024d4d
push dword [ebp - 0x930]
push dword [ebp - 0x960]
push 0x100a100
push 0x24f
push 0x100a0d4
call fcn.01015ca8
add esp, 0x14
jmp 0x102505c
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 0x102505c
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 0x1024da6
lea eax, [ebp - 0x108]
push eax
push 0x100a100
push 0x25d
push 0x100a09c
jmp 0x1024df4
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 0x1024e01
lea eax, [ebp - 0x108]
push eax
push 0x100a100
push 0x268
push 0x100a060
call fcn.01015ca8
add esp, 0x10
jmp 0x102505c
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 0x1024f7c
push 0x1000
push 0x106e760
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x928]
push eax
mov byte [0x106e760], bl
call fcn.01015121
push esi
lea eax, [ebp - 0x310]
push eax
push 0x100a058
push 0x106e760
call fcn.01015121
push ebx
lea eax, [ebp - 0x310]
push eax
call fcn.01017367
test eax, eax
je 0x1024f58
mov dword [ebp - 0x950], 1
jmp 0x1024f7c
lea eax, [ebp - 0x310]
push eax
push 0x100a100
push 0x299
push 0x100a024
call fcn.01015cf6
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.010242c2
test eax, eax
jge 0x1024ff8
lea eax, [ebp - 0x108]
push eax
push 0x100a100
push 0x2a4
push 0x1009ff8
mov dword [ebp - 0x95c], ebx
call fcn.01015c8e
add esp, 0x10
cmp dword [ebp - 0x950], ebx
jne 0x1025050
push ebx
lea eax, [ebp - 0x310]
push eax
call fcn.01017367
test eax, eax
je 0x1025050
push ebx
push 0x1009934
push 0x1009ff4
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x934]
call fcn.01024980
test eax, eax
jge 0x1025050
lea eax, [ebp - 0x310]
push eax
push 0x100a100
push 0x2ac
push 0x1009fc0
call fcn.01015cf6
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 0x1024cec
jmp 0x102507c
mov dword [ebp - 0x92c], ebx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x92c]
pop edi
pop esi
pop ebx
call fcn.0101439a
leave
ret 0xc