Function at 0x41e510
Capabilities:
Check if file exists
Get common file path
Get file attributes
Get startup folder

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46944e
mov eax, dword fs:[0]
push eax
sub esp, 0x2ac
mov eax, dword [0x4a5590]
xor eax, esp
mov dword [esp + 0x2a4], eax
push esi
push edi
mov eax, dword [0x4a5590]
xor eax, esp
push eax
lea eax, [esp + 0x2b8]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [esp + 0xa4]
push eax
push 0
push 0
push 0x23
push 0
mov dword [esp + 0x24], 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor eax, eax
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
cmp word [esp + 0xa4], ax
jne 0x41e595
xor ecx, ecx
jmp 0x41e5af
lea ecx, [esp + 0xa4]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41e5a0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0xa8]
push eax
lea ecx, [esp + 0x1c]
call fcn.0040a110
lea edx, [esp + 0x14]
lea ecx, [esp + 0x44]
mov dword [esp + 0x2c0], 0
call fcn.0042e220
push 0x47bfc8
mov edx, eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x2c4], 1
call fcn.00412310
add esp, 4
cmp dword [esp + 0x58], 8
jb 0x41e607
push dword [esp + 0x44]
call fcn.0044d639
add esp, 4
xor eax, eax
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], 0
mov word [esp + 0x44], ax
mov byte [esp + 0x2c0], 4
cmp dword [esp + 0x28], 8
jb 0x41e639
push dword [esp + 0x14]
call fcn.0044d639
add esp, 4
mov ecx, dword [esp + 0x2c]
xor eax, eax
cmp dword [esp + 0x40], 8
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
jae 0x41e65f
lea ecx, [esp + 0x2c]
xor edx, edx
call fcn.0042fd80
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x5c]
call fcn.0042e220
mov esi, eax
lea eax, [esp + 0x2c]
cmp eax, esi
je 0x41e6b1
cmp dword [esp + 0x40], 8
jb 0x41e690
push dword [esp + 0x2c]
call fcn.0044d639
add esp, 4
xor eax, eax
push esi
lea ecx, [esp + 0x30]
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], 0
mov word [esp + 0x30], ax
call fcn.00409c20
cmp dword [esp + 0x70], 8
jb 0x41e6c4
push dword [esp + 0x5c]
call fcn.0044d639
add esp, 4
cmp dword [esp + 0x40], 8
mov eax, dword [esp + 0x2c]
jae 0x41e6d3
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41e6e6
shr eax, 4
and al, 1
jne 0x41e740
lea ecx, [esp + 0x5c]
call fcn.0042ee30
mov esi, eax
lea eax, [esp + 0x2c]
cmp eax, esi
je 0x41e72d
cmp dword [esp + 0x40], 8
jb 0x41e70c
push dword [esp + 0x2c]
call fcn.0044d639
add esp, 4
xor eax, eax
push esi
lea ecx, [esp + 0x30]
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], 0
mov word [esp + 0x30], ax
call fcn.00409c20
cmp dword [esp + 0x70], 8
jb 0x41e740
push dword [esp + 0x5c]
call fcn.0044d639
add esp, 4
lea ecx, [esp + 0x74]
call fcn.0042f4f0
mov byte [esp + 0x2c0], 5
push 1
xor eax, eax
push 0x47bdec
lea ecx, [esp + 0x4c]
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], 0
mov word [esp + 0x4c], ax
call fcn.0040a110
mov byte [esp + 0x2c0], 6
push 1
xor eax, eax
push 0x47b7bc
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
call fcn.0040a110
lea eax, [esp + 0x44]
push eax
lea edx, [esp + 0x18]
lea ecx, [esp + 0x78]
mov byte [esp + 0x2c4], 7
call fcn.0042edd0
add esp, 4
cmp dword [esp + 0x28], 8
jb 0x41e7d7
push dword [esp + 0x14]
call fcn.0044d639
add esp, 4
xor eax, eax
mov byte [esp + 0x2c0], 5
cmp dword [esp + 0x58], 8
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
jb 0x41e809
push dword [esp + 0x44]
call fcn.0044d639
add esp, 4
push 1
xor eax, eax
push str._0_:
lea ecx, [esp + 0x4c]
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], 0
mov word [esp + 0x4c], ax
call fcn.0040a110
mov byte [esp + 0x2c0], 8
push 1
xor eax, eax
push 0x47b7c0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
call fcn.0040a110
lea eax, [esp + 0x44]
push eax
lea edx, [esp + 0x18]
lea ecx, [esp + 0x78]
mov byte [esp + 0x2c4], 9
call fcn.0042edd0
add esp, 4
cmp dword [esp + 0x28], 8
jb 0x41e88f
push dword [esp + 0x14]
call fcn.0044d639
add esp, 4
xor eax, eax
mov byte [esp + 0x2c0], 5
cmp dword [esp + 0x58], 8
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
jb 0x41e8c1
push dword [esp + 0x44]
call fcn.0044d639
add esp, 4
push str.TUInstallLog_
lea edx, [esp + 0x30]
lea ecx, [esp + 0x60]
call fcn.0040b640
add esp, 4
lea ecx, [esp + 0x74]
push ecx
mov edx, eax
lea ecx, [esp + 0x90]
mov byte [esp + 0x2c4], 0xa
call fcn.00409ad0
add esp, 4
push str..log
mov edx, eax
mov ecx, edi
mov byte [esp + 0x2c4], 0xb
call fcn.00412310
add esp, 4
cmp dword [esp + 0xa0], 8
jb 0x41e926
push dword [esp + 0x8c]
call fcn.0044d639
add esp, 4
xor eax, eax
cmp dword [esp + 0x70], 8
mov dword [esp + 0xa0], 7
mov dword [esp + 0x9c], 0
mov word [esp + 0x8c], ax
jb 0x41e959
push dword [esp + 0x5c]
call fcn.0044d639
add esp, 4
xor eax, eax
cmp dword [esp + 0x88], 8
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], 0
mov word [esp + 0x5c], ax
jb 0x41e986
push dword [esp + 0x74]
call fcn.0044d639
add esp, 4
xor eax, eax
cmp dword [esp + 0x40], 8
mov dword [esp + 0x88], 7
mov dword [esp + 0x84], 0
mov word [esp + 0x74], ax
jb 0x41e9b6
push dword [esp + 0x2c]
call fcn.0044d639
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x2b8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x2a4]
xor ecx, esp
call fcn.0044c32d
mov esp, ebp
pop ebp
ret 4