Function at 0x41fa60
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x469952
mov eax, dword fs:[0]
push eax
sub esp, 0x2a8
mov eax, dword [0x4a5590]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x41fd3e
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], eax
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
jne 0x41face
xor ecx, ecx
jmp 0x41fae6
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41fad7
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.0040a100
lea edx, [ebp - 0x230]
lea ecx, [ebp - 0x278]
mov dword [ebp - 4], 0
call fcn.0042e1e0
push str.AVGAWL2015
mov edx, eax
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 1
call fcn.004122e0
add esp, 4
mov edx, eax
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 2
call fcn.0042e1e0
cmp dword [ebp - 0x24c], 8
jb 0x41fb52
push dword [ebp - 0x260]
call fcn.0044d5f9
add esp, 4
xor eax, eax
mov dword [ebp - 0x24c], 7
mov dword [ebp - 0x250], 0
mov word [ebp - 0x260], ax
cmp dword [ebp - 0x264], 8
jb 0x41fb86
push dword [ebp - 0x278]
call fcn.0044d5f9
add esp, 4
xor eax, eax
mov dword [ebp - 0x264], 7
mov dword [ebp - 0x268], 0
mov word [ebp - 0x278], ax
mov byte [ebp - 4], 6
cmp dword [ebp - 0x21c], 8
jb 0x41fbbe
push dword [ebp - 0x230]
call fcn.0044d5f9
add esp, 4
xor eax, eax
push 7
push str.TU.log
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], eax
mov word [ebp - 0x248], ax
call fcn.0040a100
lea eax, [ebp - 0x248]
push eax
lea edx, [ebp - 0x290]
lea ecx, [ebp - 0x2b0]
mov byte [ebp - 4], 7
call fcn.0042e780
add esp, 4
mov byte [ebp - 4], 9
cmp dword [ebp - 0x234], 8
jb 0x41fc3e
push dword [ebp - 0x248]
call fcn.0044d5f9
add esp, 4
xor eax, eax
mov word [ebp - 0x248], ax
mov eax, dword [ebp - 0x2b0]
mov dword [ebp - 0x234], 7
mov esi, dword [eax]
mov dword [ebp - 0x238], 0
cmp esi, eax
je 0x41fd00
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esi + 0x10]
push eax
lea edx, [ebp - 0x290]
lea ecx, [ebp - 0x2a8]
call fcn.0042aab0
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x41fc91
mov eax, dword [eax]
push eax
call edi
cmp dword [ebp - 0x294], 8
jb 0x41fcab
push dword [ebp - 0x2a8]
call fcn.0044d5f9
add esp, 4
cmp byte [esi + 0xd], 0
jne 0x41fcf2
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x41fcd0
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x41fcf2
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x41fcc4
jmp 0x41fcf2
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x41fcf0
lea esp, [esp]
cmp esi, dword [eax + 8]
jne 0x41fcf0
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x41fce0
mov esi, eax
mov eax, dword [ebp - 0x2b0]
cmp esi, eax
jne 0x41fc71
push eax
mov byte [ebp - 4], 6
push dword [eax]
lea eax, [ebp - 0x2b4]
push eax
lea ecx, [ebp - 0x2b0]
call fcn.00412d30
push dword [ebp - 0x2b0]
call fcn.0044d5f9
add esp, 4
cmp dword [ebp - 0x27c], 8
jb 0x41fd3e
push dword [ebp - 0x290]
call fcn.0044d5f9
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044c2ed
mov esp, ebp
pop ebp
ret