Function at 0x40bfa0
Capabilities:
Delete file
Enumerate gui resources
Get common file path
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x431953
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x248
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x3c]
push 0x104
mov edi, ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov ecx, dword [0x441b8c]
mov dword [esp + 0x14], ecx
lea edx, [esp + 0x1c]
push str.XFxkcml2ZXJzXFxldGNcXEhPU1RT
push edx
mov dword [esp + 0x268], 0
call fcn.0040a2c0
add esp, 8
mov eax, dword [eax]
lea ecx, [esp + 0x3c]
push eax
push ecx
lea edx, [esp + 0x1c]
push str._s_s
push edx
mov byte [esp + 0x270], 1
call fcn.0042438b
add esp, 0x10
lea ecx, [esp + 0x1c]
mov byte [esp + 0x260], 0
call fcn.004289b9
mov eax, dword [0x441b8c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x140]
push eax
push ecx
mov byte [esp + 0x268], 3
mov byte [esp + 0x1b], 0
call fcn.0042941d
or ebp, 0xffffffff
cmp eax, 1
jne 0x40c13f
mov edx, dword [esp + 0x14]
push 0
push edx
lea ecx, [esp + 0x30]
call fcn.00428d99
lea eax, [esp + 0x18]
mov bl, 4
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x264], bl
call fcn.00429058
test eax, eax
je 0x40c0ec
lea ecx, [esp + 0x18]
call fcn.00428d35
lea ecx, [esp + 0x1c]
push str.c2h1YWxlaS5jb20
push ecx
call fcn.0040a2c0
add esp, 8
mov eax, dword [eax]
lea ecx, [esp + 0x18]
push eax
mov byte [esp + 0x264], 5
call fcn.00424005
lea ecx, [esp + 0x1c]
mov esi, eax
mov byte [esp + 0x260], bl
call fcn.004289b9
cmp esi, ebp
jne 0x40c0e7
lea edx, [esp + 0x18]
lea ecx, [esp + 0x28]
push edx
call fcn.00429058
test eax, eax
jne 0x40c08e
jmp 0x40c0ec
mov byte [esp + 0x13], 1
lea ecx, [esp + 0x28]
call fcn.004291a5
mov al, byte [esp + 0x13]
test al, al
je 0x40c12e
mov eax, dword [esp + 0x14]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x28]
mov byte [esp + 0x260], 3
call fcn.00428e32
jmp 0x40c231
lea ecx, [esp + 0x28]
mov byte [esp + 0x260], 3
call fcn.00428e32
push 0
push 0x40bd90
mov byte [0x445fe4], 0
call dword [sym.imp.USER32.dll_EnumWindows]
mov al, byte [0x445fe4]
test al, al
jne 0x40c231
mov edx, dword [edi + 0x1c]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x40c231
mov eax, dword [0x441b8c]
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x1c]
lea esi, [edi + 0xd4]
push ecx
mov ecx, esi
mov byte [esp + 0x264], 6
call fcn.00408a10
mov edx, dword [eax]
mov ecx, dword [edx - 8]
cmp ecx, 5
lea ecx, [esp + 0x1c]
setg bl
call fcn.004289b9
test bl, bl
je 0x40c267
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call fcn.00408a10
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x264], 7
call fcn.00428aae
lea ecx, [esp + 0x1c]
mov byte [esp + 0x260], 6
call fcn.004289b9
lea ecx, [esp + 0x1c]
push str.c2h1YWxlaS5jb20
push ecx
call fcn.0040a2c0
add esp, 8
mov eax, dword [eax]
lea ecx, [esp + 0x24]
push eax
mov byte [esp + 0x264], 8
call fcn.00424005
cmp eax, ebp
lea ecx, [esp + 0x1c]
sete bl
mov byte [esp + 0x260], 6
call fcn.004289b9
test bl, bl
je 0x40c267
lea ecx, [esp + 0x24]
mov byte [esp + 0x260], 3
call fcn.004289b9
lea ecx, [esp + 0x18]
mov byte [esp + 0x260], 2
call fcn.004289b9
lea ecx, [esp + 0x20]
mov byte [esp + 0x260], 0
call fcn.004289b9
lea ecx, [esp + 0x14]
mov dword [esp + 0x260], ebp
call fcn.004289b9
xor al, al
jmp 0x40c2ac
lea ecx, [esp + 0x24]
mov byte [esp + 0x260], 3
call fcn.004289b9
lea ecx, [esp + 0x18]
mov byte [esp + 0x260], 2
call fcn.004289b9
lea ecx, [esp + 0x20]
mov byte [esp + 0x260], 0
call fcn.004289b9
lea ecx, [esp + 0x14]
mov dword [esp + 0x260], ebp
call fcn.004289b9
mov al, 1
mov ecx, dword [esp + 0x258]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x254
ret