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

Disassembly:
push 0xffffffffffffffff
push 0x43efb5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x134
push ebx
push esi
lea eax, [esp + 0x38]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00416cb2
xor ebx, ebx
push str.INFUPDD.INF
lea ecx, [esp + 0xc]
mov dword [esp + 0x148], ebx
call fcn.00416cb2
lea edx, [esp + 8]
lea eax, [esp + 0x10]
push edx
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x14c], 1
call fcn.00416f5d
mov ecx, eax
mov byte [esp + 0x144], 2
call fcn.00416d31
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push eax
call esi
lea ecx, [esp + 0x10]
mov byte [esp + 0x144], 1
call fcn.00416d10
lea ecx, [esp + 8]
mov byte [esp + 0x144], bl
call fcn.00416d10
push str.INFUPDD.PNF
lea ecx, [esp + 0xc]
call fcn.00416cb2
lea ecx, [esp + 8]
lea edx, [esp + 0x10]
push ecx
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x14c], 3
call fcn.00416f5d
mov ecx, eax
mov byte [esp + 0x144], 4
call fcn.00416d31
push eax
call esi
lea ecx, [esp + 0x10]
mov byte [esp + 0x144], 3
call fcn.00416d10
lea ecx, [esp + 8]
mov byte [esp + 0x144], bl
call fcn.00416d10
cmp byte [0x454873], bl
jne 0x40cd36
push str.INFUPDDV3MO.INF
lea ecx, [esp + 0xc]
call fcn.00416cb2
lea eax, [esp + 8]
lea ecx, [esp + 0x10]
push eax
push ecx
lea ecx, [esp + 0x20]
mov byte [esp + 0x14c], 5
call fcn.00416f5d
mov ecx, eax
mov byte [esp + 0x144], 6
call fcn.00416d31
push eax
call esi
lea ecx, [esp + 0x10]
mov byte [esp + 0x144], 5
call fcn.00416d10
lea ecx, [esp + 8]
mov byte [esp + 0x144], bl
call fcn.00416d10
push str.INFUPDDV3MO.PNF
lea ecx, [esp + 0xc]
call fcn.00416cb2
lea edx, [esp + 8]
lea eax, [esp + 0x10]
push edx
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x14c], 7
call fcn.00416f5d
mov ecx, eax
mov byte [esp + 0x144], 8
call fcn.00416d31
push eax
call esi
lea ecx, [esp + 0x10]
mov byte [esp + 0x144], 7
call fcn.00416d10
lea ecx, [esp + 8]
mov byte [esp + 0x144], bl
call fcn.00416d10
push str.INFTBUPDDWD.INF
lea ecx, [esp + 0xc]
call fcn.00416cb2
lea ecx, [esp + 8]
lea edx, [esp + 0x10]
push ecx
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x14c], 9
call fcn.00416f5d
mov ecx, eax
mov byte [esp + 0x144], 0xa
call fcn.00416d31
push eax
call esi
lea ecx, [esp + 0x10]
mov byte [esp + 0x144], 9
call fcn.00416d10
lea ecx, [esp + 8]
mov byte [esp + 0x144], bl
call fcn.00416d10
push str.INFTBUPDD95.INF
lea ecx, [esp + 0xc]
call fcn.00416cb2
lea eax, [esp + 8]
lea ecx, [esp + 0x10]
push eax
push ecx
lea ecx, [esp + 0x20]
mov byte [esp + 0x14c], 0xb
call fcn.00416f5d
mov ecx, eax
mov byte [esp + 0x144], 0xc
call fcn.00416d31
push eax
call esi
lea ecx, [esp + 0x10]
mov byte [esp + 0x144], 0xb
call fcn.00416d10
lea ecx, [esp + 8]
mov byte [esp + 0x144], bl
call fcn.00416d10
push str.INFTBUPDD98.INF
lea ecx, [esp + 0xc]
call fcn.00416cb2
lea edx, [esp + 8]
lea eax, [esp + 0x10]
push edx
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x14c], 0xd
call fcn.00416f5d
mov ecx, eax
mov byte [esp + 0x144], 0xe
call fcn.00416d31
push eax
call esi
lea ecx, [esp + 0x10]
mov byte [esp + 0x144], 0xd
call fcn.00416d10
lea ecx, [esp + 8]
mov byte [esp + 0x144], bl
call fcn.00416d10
push str.INFTBUPDDWD.PNF
lea ecx, [esp + 0xc]
call fcn.00416cb2
lea ecx, [esp + 8]
lea edx, [esp + 0x10]
push ecx
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x14c], 0xf
call fcn.00416f5d
mov ecx, eax
mov byte [esp + 0x144], 0x10
call fcn.00416d31
push eax
call esi
lea ecx, [esp + 0x10]
mov byte [esp + 0x144], 0xf
call fcn.00416d10
lea ecx, [esp + 8]
mov byte [esp + 0x144], bl
call fcn.00416d10
push str.INFTBUPDD95.PNF
lea ecx, [esp + 0xc]
call fcn.00416cb2
lea eax, [esp + 8]
lea ecx, [esp + 0x10]
push eax
push ecx
lea ecx, [esp + 0x20]
mov byte [esp + 0x14c], 0x11
call fcn.00416f5d
mov ecx, eax
mov byte [esp + 0x144], 0x12
call fcn.00416d31
push eax
call esi
lea ecx, [esp + 0x10]
mov byte [esp + 0x144], 0x11
call fcn.00416d10
lea ecx, [esp + 8]
mov byte [esp + 0x144], bl
call fcn.00416d10
push str.INFTBUPDD98.PNF
lea ecx, [esp + 0xc]
call fcn.00416cb2
lea edx, [esp + 8]
lea eax, [esp + 0x10]
push edx
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x14c], 0x13
call fcn.00416f5d
mov ecx, eax
mov byte [esp + 0x144], 0x14
call fcn.00416d31
push eax
call esi
lea ecx, [esp + 0x10]
mov byte [esp + 0x144], 0x13
call fcn.00416d10
lea ecx, [esp + 8]
mov byte [esp + 0x144], bl
call fcn.00416d10
push str..PNF
lea ecx, [esp + 0x14]
call fcn.00416cb2
push str.INF_
lea ecx, [esp + 0xc]
mov byte [esp + 0x148], 0x15
call fcn.00416cb2
lea ecx, [esp + 8]
lea edx, [esp + 0x28]
push ecx
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x14c], 0x16
call fcn.00416f5d
lea ecx, [esp + 0x30]
push 0x454148
push ecx
mov ecx, eax
mov byte [esp + 0x14c], 0x17
call fcn.00416f5d
lea edx, [esp + 0x10]
lea ecx, [esp + 0x20]
push edx
push ecx
mov ecx, eax
mov byte [esp + 0x14c], 0x18
call fcn.00416f5d
mov ecx, eax
mov byte [esp + 0x144], 0x19
call fcn.00416d31
push eax
call esi
lea ecx, [esp + 0x20]
mov byte [esp + 0x144], 0x18
call fcn.00416d10
lea ecx, [esp + 0x30]
mov byte [esp + 0x144], 0x17
call fcn.00416d10
lea ecx, [esp + 0x28]
mov byte [esp + 0x144], 0x16
call fcn.00416d10
lea ecx, [esp + 8]
mov byte [esp + 0x144], 0x15
call fcn.00416d10
lea ecx, [esp + 0x10]
mov byte [esp + 0x144], bl
call fcn.00416d10
cmp byte [0x454873], bl
jne 0x40d174
push str..INF
lea ecx, [esp + 0xc]
call fcn.00416cb2
push str.INF_
lea ecx, [esp + 0x14]
mov byte [esp + 0x148], 0x1a
call fcn.00416cb2
lea edx, [esp + 0x10]
lea eax, [esp + 0x20]
push edx
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x14c], 0x1b
call fcn.00416f5d
lea ecx, [esp + 0x30]
push 0x454148
push ecx
mov ecx, eax
mov byte [esp + 0x14c], 0x1c
call fcn.00416f5d
lea edx, [esp + 8]
lea ecx, [esp + 0x28]
push edx
push ecx
mov ecx, eax
mov byte [esp + 0x14c], 0x1d
call fcn.00416f5d
mov ecx, eax
mov byte [esp + 0x144], 0x1e
call fcn.00416d31
push eax
call esi
lea ecx, [esp + 0x28]
mov byte [esp + 0x144], 0x1d
call fcn.00416d10
lea ecx, [esp + 0x30]
mov byte [esp + 0x144], 0x1c
call fcn.00416d10
lea ecx, [esp + 0x20]
mov byte [esp + 0x144], 0x1b
call fcn.00416d10
lea ecx, [esp + 0x10]
mov byte [esp + 0x144], 0x1a
call fcn.00416d10
lea ecx, [esp + 8]
mov byte [esp + 0x144], bl
call fcn.00416d10
lea ecx, [esp + 0x18]
mov dword [esp + 0x144], 0xffffffff
call fcn.00416d10
mov ecx, dword [esp + 0x13c]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x140
ret