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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10041e62
mov eax, dword fs:[0]
push eax
sub esp, 0x2ac
mov eax, dword [0x1005a690]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x298], ebx
cmp byte [ebx + 0xc], 0
mov dword [ebp - 0x29c], ebx
jne 0x10002823
lea ecx, [ebx + 0x10]
mov dword [ebp - 4], 0
call fcn.1000e5d0
call fcn.10029aa0
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
lea eax, [ebp - 0x22c]
push eax
mov byte [ebp - 4], 1
call fcn.10007af0
call fcn.10029aa0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x22c]
push eax
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.10008170
lea eax, [ebp - 0x22c]
lea edi, [ebx + 0xa0]
cmp edi, eax
mov eax, dword [ebp - 0x22c]
je 0x100024e9
mov esi, dword [edi]
mov dword [edi], eax
mov ecx, dword [edi + 4]
mov eax, dword [ebp - 0x228]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x290], ecx
mov dword [ebp - 0x228], ecx
mov ecx, dword [edi + 8]
mov dword [ebp - 0x288], esi
mov dword [ebp - 0x22c], esi
mov dword [edi + 8], eax
mov dword [ebp - 0x224], ecx
jmp 0x100024fb
mov ecx, dword [ebp - 0x228]
mov dword [ebp - 0x290], ecx
mov dword [ebp - 0x288], eax
lea eax, [ebp - 0x238]
lea edx, [ebx + 0x94]
cmp edx, eax
mov eax, dword [ebp - 0x238]
je 0x1000254d
mov ebx, dword [edx]
mov dword [edx], eax
mov ecx, dword [edx + 4]
mov eax, dword [ebp - 0x234]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x294], ecx
mov dword [ebp - 0x234], ecx
mov ecx, dword [edx + 8]
mov dword [ebp - 0x28c], ebx
mov dword [ebp - 0x238], ebx
mov dword [edx + 8], eax
mov dword [ebp - 0x230], ecx
jmp 0x1000255f
mov ecx, dword [ebp - 0x234]
mov dword [ebp - 0x294], ecx
mov dword [ebp - 0x28c], eax
push 0x208
lea eax, [ebp - 0x220]
push 0
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x220]
push 0
push 0x1c
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov dword [ebp - 0x23c], 7
mov dword [ebp - 0x240], 0
mov word [ebp - 0x250], ax
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 5
call fcn.1001b3e0
mov esi, dword [edi]
mov edi, dword [edi + 4]
mov ebx, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
nop
cmp esi, edi
je 0x10002737
xor eax, eax
push 0xffffffffffffffff
push eax
push esi
lea ecx, [ebp - 0x268]
mov dword [ebp - 0x254], 7
mov dword [ebp - 0x258], 0
mov word [ebp - 0x268], ax
call fcn.1000a9a0
mov byte [ebp - 4], 6
xor eax, eax
mov dword [ebp - 0x26c], 7
mov dword [ebp - 0x270], 0
mov word [ebp - 0x280], ax
cmp word [ebp - 0x220], ax
jne 0x10002622
xor ecx, ecx
jmp 0x1000263f
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
jmp 0x10002630
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10002630
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x280]
call fcn.1000aac0
mov byte [ebp - 4], 7
cmp dword [ebp - 0x23c], 8
push dword [ebp - 0x240]
lea eax, [ebp - 0x250]
cmovae eax, dword [ebp - 0x250]
push eax
push dword [ebp - 0x258]
lea ecx, [ebp - 0x268]
push 0
call fcn.1000c780
test eax, eax
je 0x100026a3
lea eax, [ebp - 0x268]
push eax
lea edx, [ebp - 0x250]
lea ecx, [ebp - 0x280]
call fcn.100141f0
add esp, 4
push 0xd
xor eax, eax
push str.__i_Updater.
lea ecx, [ebp - 0x2b4]
mov dword [ebp - 0x2a0], 7
mov dword [ebp - 0x2a4], 0
mov word [ebp - 0x2b4], ax
call fcn.1000aac0
mov ecx, dword [ebp - 0x298]
lea eax, [ebp - 0x2b4]
push eax
lea eax, [ebp - 0x280]
push eax
mov byte [ebp - 4], 8
call fcn.10009690
cmp dword [ebp - 0x2a0], 8
jb 0x10002703
push dword [ebp - 0x2b4]
call ebx
add esp, 4
cmp dword [ebp - 0x26c], 8
jb 0x10002717
push dword [ebp - 0x280]
call ebx
add esp, 4
mov byte [ebp - 4], 5
cmp dword [ebp - 0x254], 8
jb 0x1000272f
push dword [ebp - 0x268]
call ebx
add esp, 4
add esi, 0x18
jmp 0x100025c0
call fcn.10029aa0
mov eax, dword [ebp - 0x298]
mov byte [eax + 0xc], 1
mov eax, dword [eax + 8]
test eax, eax
je 0x10002754
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
cmp dword [ebp - 0x23c], 8
jb 0x10002768
push dword [ebp - 0x250]
call ebx
add esp, 4
xor eax, eax
mov word [ebp - 0x250], ax
mov eax, dword [ebp - 0x28c]
mov dword [ebp - 0x23c], 7
mov dword [ebp - 0x240], 0
test eax, eax
je 0x100027d3
mov edi, dword [ebp - 0x294]
mov esi, eax
cmp eax, edi
je 0x100027cd
jmp 0x100027a0
cmp dword [esi + 0x14], 8
jb 0x100027ad
push dword [esi]
call ebx
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
add esi, 0x18
cmp esi, edi
jne 0x100027a0
mov eax, dword [ebp - 0x28c]
push eax
call ebx
add esp, 4
mov eax, dword [ebp - 0x288]
test eax, eax
je 0x10002823
mov edi, dword [ebp - 0x290]
mov esi, eax
cmp eax, edi
je 0x1000281d
lea esp, [esp]
cmp dword [esi + 0x14], 8
jb 0x100027fd
push dword [esi]
call ebx
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
add esi, 0x18
cmp esi, edi
jne 0x100027f0
mov eax, dword [ebp - 0x288]
push eax
call ebx
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1003e328
mov esp, ebp
pop ebp
ret