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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45b072
mov eax, dword fs:[0]
push eax
sub esp, 0x2a8
mov eax, dword [0x486850]
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 0x4186ae
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], eax
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
jne 0x41843e
xor ecx, ecx
jmp 0x418456
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418447
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00402900
lea edx, [ebp - 0x230]
lea ecx, [ebp - 0x278]
mov dword [ebp - 4], 0
call fcn.0042beb0
push str.AVGAWL2014
mov edx, eax
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 1
call fcn.0040a580
add esp, 4
mov edx, eax
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 2
call fcn.0042beb0
cmp dword [ebp - 0x24c], 8
jb 0x4184c2
push dword [ebp - 0x260]
call fcn.0043d3af
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 0x4184f6
push dword [ebp - 0x278]
call fcn.0043d3af
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 0x41852e
push dword [ebp - 0x230]
call fcn.0043d3af
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.00402900
lea eax, [ebp - 0x248]
push eax
lea edx, [ebp - 0x290]
lea ecx, [ebp - 0x2b0]
mov byte [ebp - 4], 7
call fcn.0042c460
add esp, 4
mov byte [ebp - 4], 9
cmp dword [ebp - 0x234], 8
jb 0x4185ae
push dword [ebp - 0x248]
call fcn.0043d3af
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 0x418670
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esi + 0x10]
push eax
lea edx, [ebp - 0x290]
lea ecx, [ebp - 0x2a8]
call fcn.00422650
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x418601
mov eax, dword [eax]
push eax
call edi
cmp dword [ebp - 0x294], 8
jb 0x41861b
push dword [ebp - 0x2a8]
call fcn.0043d3af
add esp, 4
cmp byte [esi + 0xd], 0
jne 0x418662
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x418640
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x418662
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x418634
jmp 0x418662
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x418660
lea esp, [esp]
cmp esi, dword [eax + 8]
jne 0x418660
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x418650
mov esi, eax
mov eax, dword [ebp - 0x2b0]
cmp esi, eax
jne 0x4185e1
push eax
mov byte [ebp - 4], 6
push dword [eax]
lea eax, [ebp - 0x2b4]
push eax
lea ecx, [ebp - 0x2b0]
call fcn.0040b340
push dword [ebp - 0x2b0]
call fcn.0043d3af
add esp, 4
cmp dword [ebp - 0x27c], 8
jb 0x4186ae
push dword [ebp - 0x290]
call fcn.0043d3af
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.0043d3b4
mov esp, ebp
pop ebp
ret