Function at 0x404e23
Capabilities:
Check if file exists
Copy file
Delete file
Get common file path
Get file attributes
Read .ini file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56f330
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x1f1c
call fcn.0054cd40
call fcn.00404382
mov dword [ebp - 0x13c0], eax
lea eax, [ebp - 0x594]
push eax
call fcn.0053534c
add esp, 4
cmp dword [ebp - 0x13c0], 1
jne 0x404e7c
push 0x58a808
lea ecx, [ebp - 0x594]
push ecx
call fcn.0054bed0
add esp, 8
cmp dword [ebp - 0x13c0], 2
jne 0x404e99
push 0x58a828
lea edx, [ebp - 0x594]
push edx
call fcn.0054bed0
add esp, 8
cmp dword [ebp - 0x13c0], 3
jne 0x404eb6
push 0x58a844
lea eax, [ebp - 0x594]
push eax
call fcn.0054bed0
add esp, 8
lea ecx, [ebp - 0x594]
push ecx
lea edx, [ebp - 0x12a4]
push edx
call fcn.0054bec0
add esp, 8
push 0x58a860
lea eax, [ebp - 0x12a4]
push eax
call fcn.0054bed0
add esp, 8
push 0x58a864
lea ecx, [ebp - 0x12a4]
push ecx
call fcn.0054bed0
add esp, 8
mov dword [0x5d0340], 0
mov dword [ebp - 0x1330], 0
mov dword [ebp - 0x14c4], 0
mov dword [ebp - 0x13bc], 0
mov dword [ebp - 0x11a0], 1
push pe_nt_image_headers32
push 0
lea edx, [ebp - 0x14c0]
push edx
call fcn.0054bfb0
add esp, 0xc
lea eax, [ebp - 0x12a4]
push eax
push pe_nt_image_headers32
lea ecx, [ebp - 0x14c0]
push ecx
push 0x5bdc50
push 0
push 0x58a874
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x14c0]
mov dword [ebp - 0x618], edx
mov eax, dword [ebp - 0x618]
movsx ecx, byte [eax]
test ecx, ecx
je 0x405430
lea edx, [ebp - 0x12a4]
push edx
push 0x80
lea eax, [ebp - 0x614]
push eax
push 0x5bdc54
mov ecx, dword [ebp - 0x618]
push ecx
push 0x58a884
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x11a0], 1
push 0x2c
lea edx, [ebp - 0x614]
push edx
call fcn.0054c640
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x404fdc
mov dword [ebp - 0x11a0], 3
mov eax, dword [ebp - 0x10]
mov byte [eax], 0
lea ecx, [ebp - 0x614]
push ecx
lea edx, [ebp - 0x290]
push edx
call fcn.0054bec0
add esp, 8
lea eax, [ebp - 0x290]
push eax
lea ecx, [ebp - 0x1198]
push ecx
call fcn.0054bec0
add esp, 8
lea edx, [ebp - 0x614]
push edx
lea eax, [ebp - 0x290]
push eax
call fcn.0054bec0
add esp, 8
push 0x58a894
lea ecx, [ebp - 0x290]
push ecx
call fcn.0054bed0
add esp, 8
lea edx, [ebp - 0x290]
push edx
lea eax, [ebp - 0x1118]
push eax
call fcn.0054bec0
add esp, 8
lea ecx, [ebp - 0x614]
push ecx
lea edx, [ebp - 0x290]
push edx
call fcn.0054bec0
add esp, 8
push 0x58a898
lea eax, [ebp - 0x290]
push eax
call fcn.0054bed0
add esp, 8
lea ecx, [ebp - 0x290]
push ecx
lea edx, [ebp - 0x1098]
push edx
call fcn.0054bec0
add esp, 8
mov dword [ebp - 0x14c8], 0
jmp 0x4050a3
mov eax, dword [ebp - 0x14c8]
add eax, 1
mov dword [ebp - 0x14c8], eax
mov ecx, dword [ebp - 0x14c8]
cmp ecx, dword [ebp - 0x11a0]
jge 0x4053fe
mov dword [0x5d0340], 0
push 0xa00
push 0
lea edx, [ebp - 0x1018]
push edx
call fcn.0054bfb0
add esp, 0xc
lea eax, [ebp - 0x12a4]
push eax
push 0xa00
lea ecx, [ebp - 0x1018]
push ecx
mov edx, dword [ebp - 0x14c8]
shl edx, 7
lea eax, [ebp + edx - 0x1198]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
lea ecx, [ebp - 0x1018]
push ecx
lea edx, [ebp - 0x13b0]
push edx
call fcn.0054bec0
add esp, 8
push 0x2c
lea eax, [ebp - 0x13b0]
push eax
call fcn.0054c640
add esp, 8
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
mov byte [edx], 0
push 0x5bd814
push 0x5bd81c
push 0x58a8a4
lea eax, [ebp - 0x132c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea ecx, [ebp - 0x1018]
mov dword [ebp - 0x14cc], ecx
mov edx, dword [ebp - 0x14cc]
movsx eax, byte [edx]
test eax, eax
je 0x405362
push 0x2c
mov ecx, dword [ebp - 0x14cc]
push ecx
call fcn.0054c640
add esp, 8
mov dword [ebp - 0x14dc], eax
push 0x3d
mov edx, dword [ebp - 0x14cc]
push edx
call fcn.0054c640
add esp, 8
mov dword [ebp - 0x14dc], eax
cmp dword [ebp - 0x14dc], 0
je 0x4051c2
push 0x2c
mov eax, dword [ebp - 0x14dc]
push eax
call fcn.0054c640
add esp, 8
mov dword [ebp - 0x14dc], eax
cmp dword [ebp - 0x14dc], 0
je 0x405330
mov ecx, dword [ebp - 0x14dc]
add ecx, 1
mov dword [ebp - 0x14dc], ecx
mov edx, dword [ebp - 0x14dc]
movsx eax, byte [edx]
cmp eax, 0x20
jne 0x4051fd
mov ecx, dword [ebp - 0x14dc]
add ecx, 1
mov dword [ebp - 0x14dc], ecx
jmp 0x4051de
mov edx, dword [ebp - 0x14dc]
push edx
mov eax, dword [0x5d0340]
shl eax, 7
add eax, 0x5cf320
push eax
call fcn.0054bec0
add esp, 8
lea ecx, [ebp - 0x132c]
push ecx
mov edx, dword [0x5d0340]
shl edx, 7
add edx, 0x5cf320
push edx
call fcn.0054ccc0
add esp, 8
test eax, eax
je 0x405247
mov dword [ebp - 0x14c4], 1
push str.VID_
mov eax, dword [ebp - 0x14dc]
push eax
call fcn.0054ccc0
add esp, 8
mov dword [ebp - 0x14d8], eax
cmp dword [ebp - 0x14d8], 0
je 0x4052b5
push 5
push 0
lea ecx, [ebp - 0x14d4]
push ecx
call fcn.0054bfb0
add esp, 0xc
push 4
mov edx, dword [ebp - 0x14d8]
add edx, 4
push edx
lea eax, [ebp - 0x14d4]
push eax
call fcn.0054c980
add esp, 0xc
lea ecx, [ebp - 0x14d4]
push ecx
call fcn.005353c2
add esp, 4
mov edx, dword [0x5d0340]
mov word [edx*2 + 0x5bda28], ax
push str.PID_
mov eax, dword [ebp - 0x14dc]
push eax
call fcn.0054ccc0
add esp, 8
mov dword [ebp - 0x14d8], eax
cmp dword [ebp - 0x14d8], 0
je 0x405323
push 5
push 0
lea ecx, [ebp - 0x14d4]
push ecx
call fcn.0054bfb0
add esp, 0xc
push 4
mov edx, dword [ebp - 0x14d8]
add edx, 4
push edx
lea eax, [ebp - 0x14d4]
push eax
call fcn.0054c980
add esp, 0xc
lea ecx, [ebp - 0x14d4]
push ecx
call fcn.005353c2
add esp, 4
mov edx, dword [0x5d0340]
mov word [edx*2 + 0x5bd828], ax
mov eax, dword [0x5d0340]
add eax, 1
mov dword [0x5d0340], eax
mov ecx, dword [ebp - 0x14cc]
movsx edx, byte [ecx]
test edx, edx
je 0x40534e
mov eax, dword [ebp - 0x14cc]
add eax, 1
mov dword [ebp - 0x14cc], eax
jmp 0x405330
mov ecx, dword [ebp - 0x14cc]
add ecx, 1
mov dword [ebp - 0x14cc], ecx
jmp 0x405163
cmp dword [ebp - 0x14c4], 0
jne 0x4053f9
lea edx, [ebp - 0x132c]
push edx
mov eax, dword [0x5d0340]
shl eax, 7
add eax, 0x5cf320
push eax
call fcn.0054bec0
add esp, 8
mov ecx, dword [0x5d0340]
add ecx, 1
mov dword [0x5d0340], ecx
lea edx, [ebp - 0x132c]
push edx
lea eax, [ebp - 0x13b0]
push eax
push 0x58a8cc
lea ecx, [ebp - 0x155c]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea edx, [ebp - 0x155c]
push edx
mov eax, dword [ebp - 0x14cc]
push eax
call fcn.0054bed0
add esp, 8
lea ecx, [ebp - 0x12a4]
push ecx
lea edx, [ebp - 0x1018]
push edx
mov eax, dword [ebp - 0x14c8]
shl eax, 7
lea ecx, [ebp + eax - 0x1198]
push ecx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileSectionA]
jmp 0x405094
mov edx, dword [ebp - 0x618]
movsx eax, byte [edx]
test eax, eax
je 0x40541c
mov ecx, dword [ebp - 0x618]
add ecx, 1
mov dword [ebp - 0x618], ecx
jmp 0x4053fe
mov edx, dword [ebp - 0x618]
add edx, 1
mov dword [ebp - 0x618], edx
jmp 0x404f6d
cmp dword [ebp - 0x13c0], 3
je 0x405449
cmp dword [ebp + 0xc], 0
je 0x405449
mov eax, 1
jmp 0x406a75
push pe_nt_image_headers32
push 0
lea eax, [ebp - 0x14c0]
push eax
call fcn.0054bfb0
add esp, 0xc
lea ecx, [ebp - 0x594]
push ecx
call fcn.0053534c
add esp, 4
cmp dword [ebp - 0x13c0], 1
jne 0x40548b
push str.UFD_MPFactoryDriverWin2000
lea edx, [ebp - 0x594]
push edx
call fcn.0054bed0
add esp, 8
cmp dword [ebp - 0x13c0], 2
jne 0x4054a8
push str.UFD_MPFactoryDriverWinXP
lea eax, [ebp - 0x594]
push eax
call fcn.0054bed0
add esp, 8
cmp dword [ebp - 0x13c0], 3
jne 0x4054c5
push str.UFD_MPFactoryDriverWin7
lea ecx, [ebp - 0x594]
push ecx
call fcn.0054bed0
add esp, 8
lea ecx, [ebp - 0x13b4]
call fcn.004013e0
mov dword [ebp - 4], 0
push str.smi32xpc.inf
lea edx, [ebp - 0x594]
push edx
push 0x58a93c
lea eax, [ebp - 0x13b4]
push eax
call fcn.0055ea77
add esp, 0x10
lea ecx, [ebp - 0x13b4]
call fcn.00401440
push eax
push pe_nt_image_headers32
lea ecx, [ebp - 0x14c0]
push ecx
push 0x5bdc58
push 0
push 0x58a944
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x14c0]
mov dword [ebp - 0x618], edx
mov eax, dword [ebp - 0x618]
movsx ecx, byte [eax]
test ecx, ecx
je 0x405927
lea ecx, [ebp - 0x13b4]
call fcn.00401440
push eax
push 0x80
lea edx, [ebp - 0x614]
push edx
push 0x5bdc5c
mov eax, dword [ebp - 0x618]
push eax
push str.Manufacturer
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x11a0], 1
push 0x2c
lea ecx, [ebp - 0x614]
push ecx
call fcn.0054c640
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4055a1
mov dword [ebp - 0x11a0], 3
mov edx, dword [ebp - 0x10]
mov byte [edx], 0
lea eax, [ebp - 0x614]
push eax
lea ecx, [ebp - 0x290]
push ecx
call fcn.0054bec0
add esp, 8
lea edx, [ebp - 0x290]
push edx
lea eax, [ebp - 0x1198]
push eax
call fcn.0054bec0
add esp, 8
lea ecx, [ebp - 0x614]
push ecx
lea edx, [ebp - 0x290]
push edx
call fcn.0054bec0
add esp, 8
push 0x58a964
lea eax, [ebp - 0x290]
push eax
call fcn.0054bed0
add esp, 8
lea ecx, [ebp - 0x290]
push ecx
lea edx, [ebp - 0x1118]
push edx
call fcn.0054bec0
add esp, 8
lea eax, [ebp - 0x614]
push eax
lea ecx, [ebp - 0x290]
push ecx
call fcn.0054bec0
add esp, 8
push str..NTamd64
lea edx, [ebp - 0x290]
push edx
call fcn.0054bed0
add esp, 8
lea eax, [ebp - 0x290]
push eax
lea ecx, [ebp - 0x1098]
push ecx
call fcn.0054bec0
add esp, 8
mov dword [ebp - 0x1560], 0
jmp 0x405668
mov edx, dword [ebp - 0x1560]
add edx, 1
mov dword [ebp - 0x1560], edx
mov eax, dword [ebp - 0x1560]
cmp eax, dword [ebp - 0x11a0]
jge 0x4058f5
mov dword [0x5d0340], 0
push 0xa00
push 0
lea ecx, [ebp - 0x1018]
push ecx
call fcn.0054bfb0
add esp, 0xc
lea ecx, [ebp - 0x13b4]
call fcn.00401440
push eax
push 0xa00
lea edx, [ebp - 0x1018]
push edx
mov eax, dword [ebp - 0x1560]
shl eax, 7
lea ecx, [ebp + eax - 0x1198]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
lea edx, [ebp - 0x1018]
push edx
lea eax, [ebp - 0x13b0]
push eax
call fcn.0054bec0
add esp, 8
push 0x2c
lea ecx, [ebp - 0x13b0]
push ecx
call fcn.0054c640
add esp, 8
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
mov byte [eax], 0
push 0x5bd814
push 0x5bd81c
push str.USBVID__04sPID__04s
lea ecx, [ebp - 0x132c]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea edx, [ebp - 0x1018]
mov dword [ebp - 0x1564], edx
mov eax, dword [ebp - 0x1564]
movsx ecx, byte [eax]
test ecx, ecx
je 0x405852
push 0x2c
mov edx, dword [ebp - 0x1564]
push edx
call fcn.0054c640
add esp, 8
mov dword [ebp - 0x1568], eax
push 0x3d
mov eax, dword [ebp - 0x1564]
push eax
call fcn.0054c640
add esp, 8
mov dword [ebp - 0x1568], eax
cmp dword [ebp - 0x1568], 0
je 0x40578c
push 0x2c
mov ecx, dword [ebp - 0x1568]
push ecx
call fcn.0054c640
add esp, 8
mov dword [ebp - 0x1568], eax
cmp dword [ebp - 0x1568], 0
je 0x405820
mov edx, dword [ebp - 0x1568]
add edx, 1
mov dword [ebp - 0x1568], edx
mov eax, dword [ebp - 0x1568]
movsx ecx, byte [eax]
cmp ecx, 0x20
jne 0x4057c7
mov edx, dword [ebp - 0x1568]
add edx, 1
mov dword [ebp - 0x1568], edx
jmp 0x4057a8
mov eax, dword [ebp - 0x1568]
push eax
mov ecx, dword [0x5d0340]
shl ecx, 7
add ecx, 0x5cf320
push ecx
call fcn.0054bec0
add esp, 8
lea edx, [ebp - 0x132c]
push edx
mov eax, dword [0x5d0340]
shl eax, 7
add eax, 0x5cf320
push eax
call fcn.0054ccc0
add esp, 8
test eax, eax
je 0x405811
mov dword [ebp - 0x14c4], 1
mov ecx, dword [0x5d0340]
add ecx, 1
mov dword [0x5d0340], ecx
mov edx, dword [ebp - 0x1564]
movsx eax, byte [edx]
test eax, eax
je 0x40583e
mov ecx, dword [ebp - 0x1564]
add ecx, 1
mov dword [ebp - 0x1564], ecx
jmp 0x405820
mov edx, dword [ebp - 0x1564]
add edx, 1
mov dword [ebp - 0x1564], edx
jmp 0x40572d
cmp dword [ebp - 0x14c4], 0
jne 0x4058f0
lea eax, [ebp - 0x132c]
push eax
mov ecx, dword [0x5d0340]
shl ecx, 7
add ecx, 0x5cf320
push ecx
call fcn.0054bec0
add esp, 8
mov edx, dword [0x5d0340]
add edx, 1
mov dword [0x5d0340], edx
lea eax, [ebp - 0x132c]
push eax
lea ecx, [ebp - 0x13b0]
push ecx
push 0x58a98c
lea edx, [ebp - 0x15e8]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x15e8]
push eax
mov ecx, dword [ebp - 0x1564]
push ecx
call fcn.0054bed0
add esp, 8
lea ecx, [ebp - 0x13b4]
call fcn.00401440
push eax
lea edx, [ebp - 0x1018]
push edx
mov eax, dword [ebp - 0x1560]
shl eax, 7
lea ecx, [ebp + eax - 0x1198]
push ecx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileSectionA]
jmp 0x405659
mov edx, dword [ebp - 0x618]
movsx eax, byte [edx]
test eax, eax
je 0x405913
mov ecx, dword [ebp - 0x618]
add ecx, 1
mov dword [ebp - 0x618], ecx
jmp 0x4058f5
mov edx, dword [ebp - 0x618]
add edx, 1
mov dword [ebp - 0x618], edx
jmp 0x40552d
cmp dword [ebp + 0xc], 0
je 0x405954
mov dword [ebp - 0x1e08], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x13b4]
call fcn.00560ea1
mov eax, dword [ebp - 0x1e08]
jmp 0x406a75
mov dword [ebp - 0x119c], 0
cmp dword [ebp - 0x13c0], 0
jne 0x4059a2
push 0
push 0x5bdc60
push str.Not_Win2000_or_WinXP_OS
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [ebp - 0x1e0c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x13b4]
call fcn.00560ea1
mov eax, dword [ebp - 0x1e0c]
jmp 0x406a75
xor eax, eax
cmp dword [ebp + 8], 0
sete al
push eax
call fcn.004044c6
add esp, 4
cmp dword [ebp + 8], 0
je 0x406144
lea ecx, [ebp - 0x490]
push ecx
call fcn.00404815
add esp, 4
test eax, eax
jne 0x4059f8
mov dword [ebp - 0x1e10], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x13b4]
call fcn.00560ea1
mov eax, dword [ebp - 0x1e10]
jmp 0x406a75
lea edx, [ebp - 0x210]
push edx
call fcn.00404815
add esp, 4
test eax, eax
jne 0x405a32
mov dword [ebp - 0x1e14], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x13b4]
call fcn.00560ea1
mov eax, dword [ebp - 0x1e14]
jmp 0x406a75
push str.infusbstor.inf
lea eax, [ebp - 0x490]
push eax
call fcn.0054bed0
add esp, 8
push 0x58a9c0
lea ecx, [ebp - 0x210]
push ecx
call fcn.0054bed0
add esp, 8
lea edx, [ebp - 0x490]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x12a8], eax
cmp dword [ebp - 0x12a8], 0xffffffff
je 0x405a8c
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x490]
push ecx
call fcn.0054c951
add esp, 8
push 0x200
lea edx, [ebp - 0x490]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x200
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x58a9d4
lea ecx, [ebp - 0x490]
push ecx
call fcn.0054bed0
add esp, 8
push 0x58a9e8
lea edx, [ebp - 0x210]
push edx
call fcn.0054bed0
add esp, 8
lea eax, [ebp - 0x490]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x12a8], eax
cmp dword [ebp - 0x12a8], 0xffffffff
je 0x405b0a
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0x490]
push edx
call fcn.0054c951
add esp, 8
call fcn.004048ba
lea eax, [ebp - 0x17e8]
push eax
call fcn.0053534c
add esp, 4
lea ecx, [ebp - 0x594]
push ecx
lea edx, [ebp - 0x17e8]
push edx
call fcn.0054bec0
add esp, 8
push str.SMI32x2k.INF
lea eax, [ebp - 0x17e8]
push eax
call fcn.0054bed0
add esp, 8
lea ecx, [ebp - 0x17e8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x12a8], eax
cmp dword [ebp - 0x12a8], 0xffffffff
jne 0x405b9f
push 0
push 0x5bdc64
push str.Not_Find_SMI32x2k.INF
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [ebp - 0x1e18], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x13b4]
call fcn.00560ea1
mov eax, dword [ebp - 0x1e18]
jmp 0x406a75
push 0x200
lea edx, [ebp - 0x19e8]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x58aa24
lea eax, [ebp - 0x19e8]
push eax
call fcn.0054bed0
add esp, 8
cmp dword [ebp - 0x13c0], 3
je 0x405be4
push 0
lea ecx, [ebp - 0x19e8]
push ecx
lea edx, [ebp - 0x17e8]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea eax, [ebp - 0x17e8]
push eax
call fcn.0053534c
add esp, 4
lea ecx, [ebp - 0x594]
push ecx
lea edx, [ebp - 0x17e8]
push edx
call fcn.0054bec0
add esp, 8
cmp dword [ebp - 0x13c0], 3
jne 0x405c28
push str.x64SMI32x2k.SYS
lea eax, [ebp - 0x17e8]
push eax
call fcn.0054bed0
add esp, 8
jmp 0x405c3c
push str.SMI32x2k.SYS
lea ecx, [ebp - 0x17e8]
push ecx
call fcn.0054bed0
add esp, 8
lea edx, [ebp - 0x17e8]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x12a8], eax
cmp dword [ebp - 0x12a8], 0xffffffff
jne 0x405c93
push 0
push 0x5bdc68
push str.Not_Find_SMI32x2k.SYS
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [ebp - 0x1e1c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x13b4]
call fcn.00560ea1
mov eax, dword [ebp - 0x1e1c]
jmp 0x406a75
push 0x200
lea eax, [ebp - 0x19e8]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x58aa74
lea ecx, [ebp - 0x19e8]
push ecx
call fcn.0054bed0
add esp, 8
cmp dword [ebp - 0x13c0], 3
je 0x405cd8
push 0
lea edx, [ebp - 0x19e8]
push edx
lea eax, [ebp - 0x17e8]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
cmp dword [ebp - 0x13c0], 3
je 0x405e5f
lea ecx, [ebp - 0x594]
push ecx
lea edx, [ebp - 0x17e8]
push edx
call fcn.0054bec0
add esp, 8
push str.SMI32xPC.INF
lea eax, [ebp - 0x17e8]
push eax
call fcn.0054bed0
add esp, 8
lea ecx, [ebp - 0x17e8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x12a8], eax
cmp dword [ebp - 0x12a8], 0xffffffff
jne 0x405d66
push 0
push 0x5bdc6c
push str.Not_Find_SMI32xPC.INF
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [ebp - 0x1e20], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x13b4]
call fcn.00560ea1
mov eax, dword [ebp - 0x1e20]
jmp 0x406a75
push 0x200
lea edx, [ebp - 0x19e8]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x58aab4
lea eax, [ebp - 0x19e8]
push eax
call fcn.0054bed0
add esp, 8
push 0
lea ecx, [ebp - 0x19e8]
push ecx
lea edx, [ebp - 0x17e8]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea eax, [ebp - 0x594]
push eax
lea ecx, [ebp - 0x17e8]
push ecx
call fcn.0054bec0
add esp, 8
push str.SMI32xPC.SYS
lea edx, [ebp - 0x17e8]
push edx
call fcn.0054bed0
add esp, 8
lea eax, [ebp - 0x17e8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x12a8], eax
cmp dword [ebp - 0x12a8], 0xffffffff
jne 0x405e23
push 0
push 0x5bdc70
push str.Not_Find_SMI32xPC.SYS
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [ebp - 0x1e24], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x13b4]
call fcn.00560ea1
mov eax, dword [ebp - 0x1e24]
jmp 0x406a75
push 0x200
lea ecx, [ebp - 0x19e8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x58aaf0
lea edx, [ebp - 0x19e8]
push edx
call fcn.0054bed0
add esp, 8
push 0
lea eax, [ebp - 0x19e8]
push eax
lea ecx, [ebp - 0x17e8]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
cmp dword [ebp - 0x13c0], 3
jne 0x405e76
push 0
push 1
push 0
call fcn.0042abee
add esp, 0xc
mov dword [ebp - 0x12ac], 0
jmp 0x405e91
mov edx, dword [ebp - 0x12ac]
add edx, 1
mov dword [ebp - 0x12ac], edx
mov eax, dword [ebp - 0x12ac]
cmp eax, dword [0x5d0340]
jge 0x406135
mov ecx, dword [ebp - 0x12ac]
shl ecx, 7
add ecx, 0x5cf320
push ecx
call fcn.00404b35
add esp, 4
mov dword [ebp - 0x13b8], eax
mov dword [ebp - 0x13b8], 1
cmp dword [ebp - 0x13b8], 0
je 0x406130
lea edx, [ebp - 0x490]
push edx
call fcn.0053534c
add esp, 4
lea eax, [ebp - 0x594]
push eax
lea ecx, [ebp - 0x490]
push ecx
call fcn.0054bec0
add esp, 8
push 0x58ab08
lea edx, [ebp - 0x490]
push edx
call fcn.0054bed0
add esp, 8
lea eax, [ebp - 0x490]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x12a8], eax
cmp dword [ebp - 0x12a8], 0xffffffff
jne 0x405f68
push 0
push 0x5bdc74
push str.Not_Find_smi32x2k.inf
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [ebp - 0x1e28], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x13b4]
call fcn.00560ea1
mov eax, dword [ebp - 0x1e28]
jmp 0x406a75
lea ecx, [ebp - 0x119c]
push ecx
push 1
lea edx, [ebp - 0x490]
push edx
mov eax, dword [ebp - 0x12ac]
shl eax, 7
add eax, 0x5cf320
push eax
push 0
call sub.newdev.dll_UpdateDriverForPlugAndPlayDevicesA
test eax, eax
jne 0x406126
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x19ec], eax
cmp dword [ebp - 0x19ec], 0xe0000235
jne 0x406124
lea ecx, [ebp - 0x1bec]
push ecx
call fcn.0053534c
add esp, 4
lea edx, [ebp - 0x1bec]
push edx
lea ecx, [ebp - 0x1bfc]
call fcn.00560f0f
mov byte [ebp - 4], 1
push str.UFD_MPFactoryDriverWin7x64SMIDriverUpdate64.exe
lea ecx, [ebp - 0x1bfc]
call fcn.0056127d
mov eax, dword [ebp - 0x12ac]
shl eax, 7
add eax, 0x5cf320
push eax
lea ecx, [ebp - 0x1bf0]
call fcn.00560f0f
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x490]
push ecx
lea ecx, [ebp - 0x1bf4]
call fcn.00560f0f
mov byte [ebp - 4], 3
push 0x58ab68
lea edx, [ebp - 0x1bf4]
push edx
push 0x58ab6c
lea eax, [ebp - 0x1e2c]
push eax
call fcn.005611aa
mov dword [ebp - 0x1e88], eax
mov ecx, dword [ebp - 0x1e88]
mov dword [ebp - 0x1e8c], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x1e8c]
push edx
lea eax, [ebp - 0x1bf8]
push eax
call fcn.00561136
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1e2c]
call fcn.00560ea1
push 0x58ab70
lea ecx, [ebp - 0x1bf0]
call fcn.0056127d
lea ecx, [ebp - 0x1bf8]
push ecx
lea ecx, [ebp - 0x1bf0]
call fcn.005612b9
push 1
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x1e30], esp
lea edx, [ebp - 0x1bf0]
push edx
call fcn.00560c16
mov dword [ebp - 0x1e90], eax
mov eax, dword [ebp - 0x1e90]
mov dword [ebp - 0x1e94], eax
mov byte [ebp - 4], 7
push ecx
mov ecx, esp
mov dword [ebp - 0x1e34], esp
lea edx, [ebp - 0x1bfc]
push edx
call fcn.00560c16
mov dword [ebp - 0x1e98], eax
mov byte [ebp - 4], 6
call fcn.00404cff
add esp, 0x10
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1bf8]
call fcn.00560ea1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1bf4]
call fcn.00560ea1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1bf0]
call fcn.00560ea1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1bfc]
call fcn.00560ea1
jmp 0x406130
mov dword [ebp - 0x13bc], 1
jmp 0x405e82
mov dword [ebp - 0x13bc], 1
jmp 0x406a53
push 0x200
lea eax, [ebp - 0x490]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x200
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x58ab74
lea edx, [ebp - 0x490]
push edx
call fcn.0054bed0
add esp, 8
push str.infusbstor.iXX
lea eax, [ebp - 0x210]
push eax
call fcn.0054bed0
add esp, 8
lea ecx, [ebp - 0x490]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x406713
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x12a8], eax
cmp dword [ebp - 0x12a8], 0xffffffff
je 0x4061dd
lea eax, [ebp - 0x490]
push eax
lea ecx, [ebp - 0x210]
push ecx
call fcn.0054c951
add esp, 8
jmp 0x406713
lea ecx, [ebp - 0x1e04]
call fcn.004013e0
mov byte [ebp - 4], 8
cmp dword [ebp - 0x13c0], 1
jne 0x4062be
push 0x58ab9c
push 0x58aba8
lea edx, [ebp - 0x1e38]
push edx
call fcn.004033ea
add esp, 4
mov dword [ebp - 0x1e9c], eax
mov eax, dword [ebp - 0x1e9c]
mov dword [ebp - 0x1ea0], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x1ea0]
push ecx
lea edx, [ebp - 0x1e3c]
push edx
call fcn.00561136
mov dword [ebp - 0x1ea4], eax
mov eax, dword [ebp - 0x1ea4]
mov dword [ebp - 0x1ea8], eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x1ea8]
push ecx
lea edx, [ebp - 0x1e40]
push edx
call fcn.00561136
mov dword [ebp - 0x1eac], eax
mov eax, dword [ebp - 0x1eac]
mov dword [ebp - 0x1eb0], eax
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x1eb0]
push ecx
lea ecx, [ebp - 0x1e04]
call fcn.00560fda
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x1e40]
call fcn.00560ea1
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1e3c]
call fcn.00560ea1
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1e38]
call fcn.00560ea1
jmp 0x40645d
cmp dword [ebp - 0x13c0], 2
jne 0x406390
push 0x58abb4
push 0x58abc0
lea edx, [ebp - 0x1e44]
push edx
call fcn.004033ea
add esp, 4
mov dword [ebp - 0x1eb4], eax
mov eax, dword [ebp - 0x1eb4]
mov dword [ebp - 0x1eb8], eax
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x1eb8]
push ecx
lea edx, [ebp - 0x1e48]
push edx
call fcn.00561136
mov dword [ebp - 0x1ebc], eax
mov eax, dword [ebp - 0x1ebc]
mov dword [ebp - 0x1ec0], eax
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x1ec0]
push ecx
lea edx, [ebp - 0x1e4c]
push edx
call fcn.00561136
mov dword [ebp - 0x1ec4], eax
mov eax, dword [ebp - 0x1ec4]
mov dword [ebp - 0x1ec8], eax
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x1ec8]
push ecx
lea ecx, [ebp - 0x1e04]
call fcn.00560fda
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x1e4c]
call fcn.00560ea1
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x1e48]
call fcn.00560ea1
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1e44]
call fcn.00560ea1
jmp 0x40645d
cmp dword [ebp - 0x13c0], 3
jne 0x40645d
push str.usbstor.bak
push 0x58abd4
lea edx, [ebp - 0x1e50]
push edx
call fcn.004033ea
add esp, 4
mov dword [ebp - 0x1ecc], eax
mov eax, dword [ebp - 0x1ecc]
mov dword [ebp - 0x1ed0], eax
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x1ed0]
push ecx
lea edx, [ebp - 0x1e54]
push edx
call fcn.00561136
mov dword [ebp - 0x1ed4], eax
mov eax, dword [ebp - 0x1ed4]
mov dword [ebp - 0x1ed8], eax
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x1ed8]
push ecx
lea edx, [ebp - 0x1e58]
push edx
call fcn.00561136
mov dword [ebp - 0x1edc], eax
mov eax, dword [ebp - 0x1edc]
mov dword [ebp - 0x1ee0], eax
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x1ee0]
push ecx
lea ecx, [ebp - 0x1e04]
call fcn.00560fda
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x1e58]
call fcn.00560ea1
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x1e54]
call fcn.00560ea1
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1e50]
call fcn.00560ea1
lea ecx, [ebp - 0x1e04]
call fcn.00401440
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4066e9
cmp dword [ebp - 0x13c0], 1
jne 0x40654a
push 0x58abdc
push str.Win2000_
lea edx, [ebp - 0x1e5c]
push edx
call fcn.004033ea
add esp, 4
mov dword [ebp - 0x1ee4], eax
mov eax, dword [ebp - 0x1ee4]
mov dword [ebp - 0x1ee8], eax
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x1ee8]
push ecx
lea edx, [ebp - 0x1e60]
push edx
call fcn.00561136
mov dword [ebp - 0x1eec], eax
mov eax, dword [ebp - 0x1eec]
mov dword [ebp - 0x1ef0], eax
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x1ef0]
push ecx
lea edx, [ebp - 0x1e64]
push edx
call fcn.00561136
mov dword [ebp - 0x1ef4], eax
mov eax, dword [ebp - 0x1ef4]
mov dword [ebp - 0x1ef8], eax
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x1ef8]
push ecx
lea ecx, [ebp - 0x1e04]
call fcn.00560fda
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x1e64]
call fcn.00560ea1
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x1e60]
call fcn.00560ea1
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1e5c]
call fcn.00560ea1
jmp 0x4066e9
cmp dword [ebp - 0x13c0], 2
jne 0x40661c
push 0x58abf4
push str.WinXP_
lea edx, [ebp - 0x1e68]
push edx
call fcn.004033ea
add esp, 4
mov dword [ebp - 0x1efc], eax
mov eax, dword [ebp - 0x1efc]
mov dword [ebp - 0x1f00], eax
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x1f00]
push ecx
lea edx, [ebp - 0x1e6c]
push edx
call fcn.00561136
mov dword [ebp - 0x1f04], eax
mov eax, dword [ebp - 0x1f04]
mov dword [ebp - 0x1f08], eax
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0x1f08]
push ecx
lea edx, [ebp - 0x1e70]
push edx
call fcn.00561136
mov dword [ebp - 0x1f0c], eax
mov eax, dword [ebp - 0x1f0c]
mov dword [ebp - 0x1f10], eax
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0x1f10]
push ecx
lea ecx, [ebp - 0x1e04]
call fcn.00560fda
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x1e70]
call fcn.00560ea1
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x1e6c]
call fcn.00560ea1
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1e68]
call fcn.00560ea1
jmp 0x4066e9
cmp dword [ebp - 0x13c0], 3
jne 0x4066e9
push str.usbstor.inf
push str.Win7_
lea edx, [ebp - 0x1e74]
push edx
call fcn.004033ea
add esp, 4
mov dword [ebp - 0x1f14], eax
mov eax, dword [ebp - 0x1f14]
mov dword [ebp - 0x1f18], eax
mov byte [ebp - 4], 0x18
mov ecx, dword [ebp - 0x1f18]
push ecx
lea edx, [ebp - 0x1e78]
push edx
call fcn.00561136
mov dword [ebp - 0x1f1c], eax
mov eax, dword [ebp - 0x1f1c]
mov dword [ebp - 0x1f20], eax
mov byte [ebp - 4], 0x19
mov ecx, dword [ebp - 0x1f20]
push ecx
lea edx, [ebp - 0x1e7c]
push edx
call fcn.00561136
mov dword [ebp - 0x1f24], eax
mov eax, dword [ebp - 0x1f24]
mov dword [ebp - 0x1f28], eax
mov byte [ebp - 4], 0x1a
mov ecx, dword [ebp - 0x1f28]
push ecx
lea ecx, [ebp - 0x1e04]
call fcn.00560fda
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x1e7c]
call fcn.00560ea1
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x1e78]
call fcn.00560ea1
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1e74]
call fcn.00560ea1
push 0
lea edx, [ebp - 0x490]
push edx
lea ecx, [ebp - 0x1e04]
call fcn.00401440
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1e04]
call fcn.00560ea1
push 0x200
lea eax, [ebp - 0x490]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x200
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push str.infusbstor.pnf
lea edx, [ebp - 0x490]
push edx
call fcn.0054bed0
add esp, 8
push str.infusbstor.pXX
lea eax, [ebp - 0x210]
push eax
call fcn.0054bed0
add esp, 8
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x12a8], eax
cmp dword [ebp - 0x12a8], 0xffffffff
je 0x406788
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x200
lea eax, [ebp - 0x1dfc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push str.driversSMI32x2k.SYS
lea ecx, [ebp - 0x1dfc]
push ecx
call fcn.0054bed0
add esp, 8
lea edx, [ebp - 0x1dfc]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x1e00], eax
mov eax, dword [ebp - 0x1e00]
and eax, 1
test eax, eax
je 0x4067dd
push 0x20
lea ecx, [ebp - 0x1dfc]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea edx, [ebp - 0x1dfc]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x200
lea eax, [ebp - 0x1dfc]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push str.infSMI32x2k.INF
lea ecx, [ebp - 0x1dfc]
push ecx
call fcn.0054bed0
add esp, 8
lea edx, [ebp - 0x1dfc]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x1e00], eax
mov eax, dword [ebp - 0x1e00]
and eax, 1
test eax, eax
je 0x40683f
push 0x20
lea ecx, [ebp - 0x1dfc]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea edx, [ebp - 0x1dfc]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x200
lea eax, [ebp - 0x1dfc]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push str.infSMI32x2k.PNF
lea ecx, [ebp - 0x1dfc]
push ecx
call fcn.0054bed0
add esp, 8
lea edx, [ebp - 0x1dfc]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x1e00], eax
mov eax, dword [ebp - 0x1e00]
and eax, 1
test eax, eax
je 0x4068a1
push 0x20
lea ecx, [ebp - 0x1dfc]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea edx, [ebp - 0x1dfc]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x200
lea eax, [ebp - 0x1dfc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push str.driversSMI32xPC.SYS
lea ecx, [ebp - 0x1dfc]
push ecx
call fcn.0054bed0
add esp, 8
lea edx, [ebp - 0x1dfc]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x1e00], eax
mov eax, dword [ebp - 0x1e00]
and eax, 1
test eax, eax
je 0x406903
push 0x20
lea ecx, [ebp - 0x1dfc]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea edx, [ebp - 0x1dfc]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x200
lea eax, [ebp - 0x1dfc]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push str.infSMI32xPC.INF
lea ecx, [ebp - 0x1dfc]
push ecx
call fcn.0054bed0
add esp, 8
lea edx, [ebp - 0x1dfc]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x1e00], eax
mov eax, dword [ebp - 0x1e00]
and eax, 1
test eax, eax
je 0x406965
push 0x20
lea ecx, [ebp - 0x1dfc]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea edx, [ebp - 0x1dfc]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x200
lea eax, [ebp - 0x1dfc]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push str.infSMI32xPC.PNF
lea ecx, [ebp - 0x1dfc]
push ecx
call fcn.0054bed0
add esp, 8
lea edx, [ebp - 0x1dfc]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x1e00], eax
mov eax, dword [ebp - 0x1e00]
and eax, 1
test eax, eax
je 0x4069c7
push 0x20
lea ecx, [ebp - 0x1dfc]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea edx, [ebp - 0x1dfc]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x490]
push eax
call fcn.0053534c
add esp, 4
push str._smi32x2k.inf
lea ecx, [ebp - 0x490]
push ecx
call fcn.0054bed0
add esp, 8
lea edx, [ebp - 0x490]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x12a8], eax
cmp dword [ebp - 0x12a8], 0xffffffff
jne 0x406a40
cmp dword [ebp - 0x13c0], 1
jne 0x406a40
mov dword [ebp - 0x1e80], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x13b4]
call fcn.00560ea1
mov eax, dword [ebp - 0x1e80]
jmp 0x406a75
push 0
push 1
push 1
call fcn.0042abee
add esp, 0xc
call fcn.0042aa0e
mov dword [ebp - 0x1e84], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x13b4]
call fcn.00560ea1
mov eax, dword [ebp - 0x1e84]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret