Function at 0x4024c0
Capabilities:
Delete file
Set file attributes
Terminate process

Disassembly:
sub esp, 0x644
mov eax, dword [0x42eb5c]
xor eax, esp
mov dword [esp + 0x640], eax
push ebx
push ebp
mov ebp, dword [esp + 0x654]
mov eax, dword [ebp + 0x20]
push esi
mov esi, dword [esp + 0x654]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x408
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x3c], ebp
call edi
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
push 2
push esi
mov esi, dword [sym.imp.SETUPAPI.dll_SetupGetInfFileListA]
mov ebx, eax
mov dword [esp + 0x38], 0
call esi
test eax, eax
jne 0x40254c
push str.SetupGetInfFileList
call fcn.00402470
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x640]
xor ecx, esp
add esp, 0x644
jmp fcn.00411aba
mov edx, dword [ebp + 0x20]
push 0
push ebx
push 0x402
push edx
call edi
mov eax, dword [esp + 0x14]
push eax
push 0x40
add ebx, 1
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
push 0
push ecx
mov edi, eax
push edi
push 2
push edx
mov dword [esp + 0x3c], edi
call esi
test eax, eax
je 0x402525
mov eax, dword [ebp + 0x20]
push 0
push ebx
push 0x402
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
add ebx, 1
cmp byte [edi], 0
mov dword [esp + 0x20], ebx
mov ebx, edi
je 0x402bc6
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcpyA]
nop
mov ecx, dword [esp + 0x14]
add ecx, edi
cmp ebx, ecx
jae 0x402bc6
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x44c]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x4025d5
mov eax, ebx
mov esi, ebx
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4025e5
lea edi, [esp + 0x44c]
sub eax, esi
add edi, 0xffffffff
lea ebx, [ebx]
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x402600
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push 0
push 2
mov ecx, eax
push 0
lea edx, [esp + 0x458]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.SETUPAPI.dll_SetupOpenInfFileA]
mov edi, dword [esp + 0x24]
mov esi, eax
mov eax, 0x66666667
imul edi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*4]
add eax, eax
mov ecx, edi
sub ecx, eax
jne 0x402672
mov eax, dword [esp + 0x20]
cmp eax, 0x5a
jge 0x402672
mov edx, dword [esp + 0x2c]
push 0
push eax
mov eax, dword [edx + 0x20]
push 0x402
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
add dword [esp + 0x20], 1
add edi, 1
cmp esi, 0xffffffff
mov dword [esp + 0x24], edi
je 0x402ac6
lea ecx, [esp + 0x30]
push ecx
push 0
push str.Manufacturer
push esi
call dword [sym.imp.SETUPAPI.dll_SetupFindFirstLineA]
test eax, eax
je 0x402aba
mov edi, dword [sym.imp.SETUPAPI.dll_SetupGetStringFieldA]
push 0
push 0x100
lea edx, [esp + 0x48]
push edx
push 1
lea eax, [esp + 0x40]
push eax
call edi
test eax, eax
je 0x402aba
lea ecx, [esp + 0x30]
push ecx
push 0
lea edx, [esp + 0x48]
push edx
push esi
call dword [sym.imp.SETUPAPI.dll_SetupFindFirstLineA]
test eax, eax
je 0x402aba
push 0
push 0x100
lea eax, [esp + 0x48]
push eax
push 2
lea ecx, [esp + 0x40]
push ecx
call edi
test eax, eax
je 0x402aba
mov edx, dword [0x430014]
push edx
lea eax, [esp + 0x44]
push eax
call fcn.0041260b
add esp, 8
test eax, eax
je 0x402720
mov ecx, dword [0x430014]
cmp dword [ecx - 0xc], 0
jne 0x402a62
mov edx, dword [0x430018]
push edx
lea eax, [esp + 0x44]
push eax
call fcn.0041260b
add esp, 8
test eax, eax
jne 0x402a62
mov ecx, dword [0x43002c]
push ecx
lea edx, [esp + 0x44]
push edx
call fcn.0041260b
add esp, 8
test eax, eax
jne 0x402a62
mov eax, dword [0x430070]
push eax
lea ecx, [esp + 0x44]
push ecx
call fcn.0041260b
add esp, 8
test eax, eax
jne 0x402a62
mov edx, dword [0x430068]
push edx
lea eax, [esp + 0x44]
push eax
call fcn.0041260b
add esp, 8
test eax, eax
jne 0x402a62
mov ecx, dword [0x43003c]
push ecx
lea edx, [esp + 0x44]
push edx
call fcn.0041260b
add esp, 8
test eax, eax
jne 0x402a62
mov eax, dword [0x430084]
push eax
lea ecx, [esp + 0x44]
push ecx
call fcn.0041260b
add esp, 8
test eax, eax
jne 0x402a62
mov edx, dword [0x430080]
push edx
lea eax, [esp + 0x44]
push eax
call fcn.0041260b
add esp, 8
test eax, eax
jne 0x402a62
mov ecx, dword [0x430034]
push ecx
lea edx, [esp + 0x44]
push edx
call fcn.0041260b
add esp, 8
test eax, eax
jne 0x402a62
mov eax, dword [0x430020]
push eax
lea ecx, [esp + 0x44]
push ecx
call fcn.0041260b
add esp, 8
test eax, eax
jne 0x402a62
mov edx, dword [0x430064]
push edx
lea eax, [esp + 0x44]
push eax
call fcn.0041260b
add esp, 8
test eax, eax
jne 0x402a62
mov ecx, dword [0x430054]
push ecx
lea edx, [esp + 0x44]
push edx
call fcn.0041260b
add esp, 8
test eax, eax
jne 0x402a62
mov eax, dword [0x430060]
push eax
lea ecx, [esp + 0x44]
push ecx
call fcn.0041260b
add esp, 8
test eax, eax
jne 0x402a62
mov edx, dword [0x430088]
push edx
lea eax, [esp + 0x44]
push eax
call fcn.0041260b
add esp, 8
test eax, eax
jne 0x402a62
mov ecx, dword [0x430024]
push ecx
lea edx, [esp + 0x44]
push edx
call fcn.0041260b
add esp, 8
test eax, eax
jne 0x402a62
mov eax, dword [0x43006c]
push eax
lea ecx, [esp + 0x44]
push ecx
call fcn.0041260b
add esp, 8
test eax, eax
jne 0x402a62
mov edx, dword [0x43007c]
push edx
lea eax, [esp + 0x44]
push eax
call fcn.0041260b
add esp, 8
test eax, eax
jne 0x402a62
mov ecx, dword [0x430030]
push ecx
lea edx, [esp + 0x44]
push edx
call fcn.0041260b
add esp, 8
test eax, eax
jne 0x402a62
mov eax, dword [0x43008c]
push eax
lea ecx, [esp + 0x44]
push ecx
call fcn.0041260b
add esp, 8
test eax, eax
jne 0x402a62
mov edx, dword [0x43001c]
push edx
lea eax, [esp + 0x44]
push eax
call fcn.0041260b
add esp, 8
test eax, eax
jne 0x402a62
mov ecx, dword [0x430078]
push ecx
lea edx, [esp + 0x44]
push edx
call fcn.0041260b
add esp, 8
test eax, eax
jne 0x402a62
mov eax, dword [0x430028]
push eax
lea ecx, [esp + 0x44]
push ecx
call fcn.0041260b
add esp, 8
test eax, eax
jne 0x402a62
mov edx, dword [0x430050]
push edx
lea eax, [esp + 0x44]
push eax
call fcn.0041260b
add esp, 8
test eax, eax
jne 0x402a62
mov ecx, dword [0x43004c]
push ecx
lea edx, [esp + 0x44]
push edx
call fcn.0041260b
add esp, 8
test eax, eax
jne 0x402a62
mov eax, dword [0x430048]
push eax
lea ecx, [esp + 0x44]
push ecx
call fcn.0041260b
add esp, 8
test eax, eax
jne 0x402a62
mov edx, dword [0x430038]
push edx
lea eax, [esp + 0x44]
push eax
call fcn.0041260b
add esp, 8
test eax, eax
jne 0x402a62
mov ecx, dword [0x430074]
push ecx
lea edx, [esp + 0x44]
push edx
call fcn.0041260b
add esp, 8
test eax, eax
jne 0x402a62
mov eax, dword [0x430090]
push eax
lea ecx, [esp + 0x44]
push ecx
call fcn.0041260b
add esp, 8
test eax, eax
jne 0x402a62
mov edx, dword [0x430044]
push edx
lea eax, [esp + 0x44]
push eax
call fcn.0041260b
add esp, 8
test eax, eax
jne 0x402a62
mov ecx, dword [0x430040]
push ecx
lea edx, [esp + 0x44]
push edx
call fcn.0041260b
add esp, 8
test eax, eax
jne 0x402a62
mov eax, dword [0x43005c]
push eax
lea ecx, [esp + 0x44]
push ecx
call fcn.0041260b
add esp, 8
test eax, eax
jne 0x402a62
mov edx, dword [0x430058]
push edx
lea eax, [esp + 0x44]
push eax
call fcn.0041260b
add esp, 8
test eax, eax
je 0x402aba
lea ecx, [esp + 0x30]
push ecx
push 0
push str.Strings
push esi
mov dword [esp + 0x20], 1
call dword [sym.imp.SETUPAPI.dll_SetupFindFirstLineA]
test eax, eax
je 0x402ad3
push 0
push 0x100
lea edx, [esp + 0x48]
push edx
push 1
lea eax, [esp + 0x40]
push eax
call edi
test eax, eax
je 0x402ad3
lea ecx, [esp + 0x40]
push str.Microsoft
push ecx
call fcn.0041260b
add esp, 8
test eax, eax
jne 0x402ad3
mov dword [esp + 0x18], 1
jmp 0x402ad3
push esi
call dword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
jmp 0x402bac
push str.INVALID_HANDLE_VALUE
call fcn.00402470
add esp, 4
push esi
call dword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
cmp dword [esp + 0x10], 0
je 0x402bac
cmp dword [esp + 0x18], 0
je 0x402bac
push ebx
lea edx, [esp + 0x550]
push edx
call ebp
push ebx
lea eax, [esp + 0x34c]
push eax
call ebp
mov esi, dword [esp + 0x1c]
push esi
lea ecx, [esp + 0x144]
push ecx
call ebp
push esi
lea edx, [esp + 0x248]
push edx
call ebp
lea eax, [esp + 0x348]
push 0x425b00
push eax
call fcn.0041260b
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
add esp, 8
lea ecx, [esp + 0x54c]
push ecx
lea edx, [esp + 0x144]
push edx
mov byte [eax], 0x2e
mov byte [eax + 1], 0x50
mov byte [eax + 2], 0x4e
mov byte [eax + 3], 0x46
call esi
lea eax, [esp + 0x348]
push eax
lea ecx, [esp + 0x248]
push ecx
call esi
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0x80
lea edx, [esp + 0x144]
push edx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [esp + 0x140]
push eax
call edi
push 0x80
lea ecx, [esp + 0x248]
push ecx
call esi
lea edx, [esp + 0x244]
push edx
call edi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [ebx + eax + 1], 0
mov edi, dword [esp + 0x28]
lea ebx, [ebx + eax + 1]
jne 0x4025b0
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [esp + 0x10], 0
je 0x402532
cmp dword [esp + 0x18], 0
je 0x402532
mov ecx, dword [esp + 0x650]
pop edi
pop esi
pop ebp
pop ebx
mov eax, 1
xor ecx, esp
add esp, 0x644
jmp fcn.00411aba