Function at 0x41e4d0
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 0x46940e
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 0x41e555
xor ecx, ecx
jmp 0x41e56f
lea ecx, [esp + 0xa4]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41e560
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0xa8]
push eax
lea ecx, [esp + 0x1c]
call fcn.0040a100
lea edx, [esp + 0x14]
lea ecx, [esp + 0x44]
mov dword [esp + 0x2c0], 0
call fcn.0042e1e0
push str.AVGAWL2015
mov edx, eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x2c4], 1
call fcn.004122e0
add esp, 4
cmp dword [esp + 0x58], 8
jb 0x41e5c7
push dword [esp + 0x44]
call fcn.0044d5f9
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 0x41e5f9
push dword [esp + 0x14]
call fcn.0044d5f9
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 0x41e61f
lea ecx, [esp + 0x2c]
xor edx, edx
call fcn.0042fd40
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x5c]
call fcn.0042e1e0
mov esi, eax
lea eax, [esp + 0x2c]
cmp eax, esi
je 0x41e671
cmp dword [esp + 0x40], 8
jb 0x41e650
push dword [esp + 0x2c]
call fcn.0044d5f9
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.00409c10
cmp dword [esp + 0x70], 8
jb 0x41e684
push dword [esp + 0x5c]
call fcn.0044d5f9
add esp, 4
cmp dword [esp + 0x40], 8
mov eax, dword [esp + 0x2c]
jae 0x41e693
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41e6a6
shr eax, 4
and al, 1
jne 0x41e700
lea ecx, [esp + 0x5c]
call fcn.0042edf0
mov esi, eax
lea eax, [esp + 0x2c]
cmp eax, esi
je 0x41e6ed
cmp dword [esp + 0x40], 8
jb 0x41e6cc
push dword [esp + 0x2c]
call fcn.0044d5f9
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.00409c10
cmp dword [esp + 0x70], 8
jb 0x41e700
push dword [esp + 0x5c]
call fcn.0044d5f9
add esp, 4
lea ecx, [esp + 0x74]
call fcn.0042f4b0
mov byte [esp + 0x2c0], 5
push 1
xor eax, eax
push 0x47bf3c
lea ecx, [esp + 0x4c]
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], 0
mov word [esp + 0x4c], ax
call fcn.0040a100
mov byte [esp + 0x2c0], 6
push 1
xor eax, eax
push 0x47b7f4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
call fcn.0040a100
lea eax, [esp + 0x44]
push eax
lea edx, [esp + 0x18]
lea ecx, [esp + 0x78]
mov byte [esp + 0x2c4], 7
call fcn.0042ed90
add esp, 4
cmp dword [esp + 0x28], 8
jb 0x41e797
push dword [esp + 0x14]
call fcn.0044d5f9
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 0x41e7c9
push dword [esp + 0x44]
call fcn.0044d5f9
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.0040a100
mov byte [esp + 0x2c0], 8
push 1
xor eax, eax
push 0x47b7f8
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
call fcn.0040a100
lea eax, [esp + 0x44]
push eax
lea edx, [esp + 0x18]
lea ecx, [esp + 0x78]
mov byte [esp + 0x2c4], 9
call fcn.0042ed90
add esp, 4
cmp dword [esp + 0x28], 8
jb 0x41e84f
push dword [esp + 0x14]
call fcn.0044d5f9
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 0x41e881
push dword [esp + 0x44]
call fcn.0044d5f9
add esp, 4
push str.TUInstallLog_
lea edx, [esp + 0x30]
lea ecx, [esp + 0x60]
call fcn.0040b610
add esp, 4
lea ecx, [esp + 0x74]
push ecx
mov edx, eax
lea ecx, [esp + 0x90]
mov byte [esp + 0x2c4], 0xa
call fcn.00409ac0
add esp, 4
push str..log
mov edx, eax
mov ecx, edi
mov byte [esp + 0x2c4], 0xb
call fcn.004122e0
add esp, 4
cmp dword [esp + 0xa0], 8
jb 0x41e8e6
push dword [esp + 0x8c]
call fcn.0044d5f9
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 0x41e919
push dword [esp + 0x5c]
call fcn.0044d5f9
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 0x41e946
push dword [esp + 0x74]
call fcn.0044d5f9
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 0x41e976
push dword [esp + 0x2c]
call fcn.0044d5f9
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.0044c2ed
mov esp, ebp
pop ebp
ret 4