Function at 0x4044b0
Capabilities:
Check if file exists
Delete file
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x414d34
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x158
push ebx
push esi
lea ecx, [esp + 8]
call fcn.0040108c
lea ecx, [esp + 0x20]
mov dword [esp + 0x168], 0
call fcn.0040108c
lea eax, [esp + 0x5c]
mov ebx, 1
push 0x103
push eax
mov byte [esp + 0x170], bl
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
jne 0x404554
lea ecx, [esp + 0x2c]
push ecx
call fcn.00401096
add esp, 4
mov ecx, eax
mov byte [esp + 0x168], 2
call fcn.00401140
push eax
mov ecx, 0x41d868
call fcn.00401140
push eax
push str._sINF_copy_cannot_be_deleted__error_getting_windows_directory:__s__n
push 0x41d868
call fcn.00401055
add esp, 0x10
mov byte [esp + 0x168], bl
lea ecx, [esp + 0x2c]
jmp 0x4047ad
mov edx, dword [esp + 0x170]
push 0x5c
push edx
call fcn.00409780
add esp, 8
inc eax
lea ecx, [esp + 0x14]
push eax
call fcn.00401230
push str.INF_
lea ecx, [esp + 0x30]
mov byte [esp + 0x16c], 3
call fcn.00401230
lea eax, [esp + 0x5c]
lea ecx, [esp + 0x44]
push eax
mov byte [esp + 0x16c], 4
call fcn.00401230
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x50]
push ecx
push eax
push edx
mov byte [esp + 0x174], 5
call fcn.004011f9
lea ecx, [esp + 0x20]
lea edx, [esp + 0x44]
push ecx
push eax
push edx
mov byte [esp + 0x180], 6
call fcn.004011f9
add esp, 0x18
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x16c], 7
call fcn.00401073
lea ecx, [esp + 0x38]
mov byte [esp + 0x168], 6
call fcn.004010af
lea ecx, [esp + 0x50]
mov byte [esp + 0x168], 5
call fcn.004010af
lea ecx, [esp + 0x44]
mov byte [esp + 0x168], 4
call fcn.004010af
lea ecx, [esp + 0x2c]
mov byte [esp + 0x168], 3
call fcn.004010af
lea ecx, [esp + 0x14]
mov byte [esp + 0x168], bl
call fcn.004010af
lea ecx, [esp + 8]
call fcn.00401140
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push eax
call esi
test eax, eax
jne 0x404682
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x40475e
lea ecx, [esp + 8]
call fcn.00401140
push eax
mov ecx, 0x41d868
call fcn.00401140
push eax
push str._sWarning:_INF_copy_for__s_not_found___not_deleted._n
push 0x41d868
call fcn.00401055
add esp, 0x10
push 0x41b48c
lea ecx, [esp + 0x18]
call fcn.00401230
lea ecx, [esp + 8]
mov byte [esp + 0x168], 9
call fcn.00401203
sub eax, 3
lea ecx, [esp + 0x38]
push eax
push 0
push ecx
lea ecx, [esp + 0x14]
call fcn.00401037
lea edx, [esp + 0x14]
mov byte [esp + 0x168], 0xa
push edx
push eax
lea eax, [esp + 0x58]
push eax
call fcn.004011f9
add esp, 0xc
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x16c], 0xb
call fcn.00401073
lea ecx, [esp + 0x50]
mov byte [esp + 0x168], 0xa
call fcn.004010af
lea ecx, [esp + 0x38]
mov byte [esp + 0x168], 9
call fcn.004010af
lea ecx, [esp + 0x14]
mov byte [esp + 0x168], bl
call fcn.004010af
lea ecx, [esp + 0x20]
call fcn.00401140
push eax
call esi
lea ecx, [esp + 0x20]
mov byte [esp + 0x168], 0
call fcn.004010af
lea ecx, [esp + 8]
mov dword [esp + 0x168], 0xffffffff
call fcn.004010af
mov eax, ebx
pop esi
pop ebx
mov ecx, dword [esp + 0x158]
mov dword fs:[0], ecx
add esp, 0x164
ret
lea eax, [esp + 0x44]
push eax
call fcn.00401096
add esp, 4
mov ecx, eax
mov byte [esp + 0x168], 8
call fcn.00401140
push eax
lea ecx, [esp + 0xc]
call fcn.00401140
push eax
mov ecx, 0x41d868
call fcn.00401140
push eax
push str._sINF_copy_for__s_cannot_be_deleted:__s_n
push 0x41d868
call fcn.00401055
add esp, 0x14
mov byte [esp + 0x168], bl
lea ecx, [esp + 0x44]
call fcn.004010af
lea ecx, [esp + 0x20]
mov byte [esp + 0x168], 0
call fcn.004010af
lea ecx, [esp + 8]
mov dword [esp + 0x168], 0xffffffff
call fcn.004010af
mov ecx, dword [esp + 0x160]
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x164
ret