Function at 0x408ff0
Capabilities:
Delete file
Get common file path
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43edad
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8dc
push ebx
push esi
push edi
mov edi, 0x454760
or ecx, 0xffffffff
xor eax, eax
xor edx, edx
lea ebx, [ebp - 0x7e8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [ebp - 0x10], esp
mov eax, ecx
mov esi, edi
mov edi, ebx
lea ebx, [ebp - 0x7e8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
mov dword [ebp - 0x24], edx
rep movsb byte es:[edi], byte [esi]
mov edi, 0x44b464
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [ebp - 0x28], edx
mov esi, edi
mov edi, ebx
mov ebx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
mov al, byte [0x454871]
and ecx, 3
mov byte [ebp - 0x4c], 1
rep movsb byte es:[edi], byte [esi]
xor ecx, ecx
mov dword [ebp - 0x4b], ecx
mov dword [ebp - 0x47], ecx
mov dword [ebp - 0x43], ecx
mov word [ebp - 0x3f], cx
test al, al
mov byte [ebp - 0x3d], cl
jne 0x4092ca
call fcn.00408230
test eax, eax
je 0x409124
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edi, str.INFdrvidx.bin
or ecx, 0xffffffff
xor eax, eax
push ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp + 0xc]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edi, str.INFdrvdata.bin
or ecx, 0xffffffff
xor eax, eax
push ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x409229
call fcn.004169cb
test eax, eax
je 0x409226
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edi, str.INF_tbupddwd.pnf
or ecx, 0xffffffff
xor eax, eax
push ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp + 0xc]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edi, str.INF_tbupdd2k.pnf
or ecx, 0xffffffff
xor eax, eax
push ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp + 0xc]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edi, str.INF_tbupddwd.inf
or ecx, 0xffffffff
xor eax, eax
push ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp + 0xc]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edi, str.INF_tbupdd2k.inf
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x409229
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push str..INF
lea ecx, [ebp - 0x18]
call fcn.00416cb2
push 0x454148
lea ecx, [ebp - 0x20]
push str.INF_
push ecx
mov dword [ebp - 4], 0
call fcn.00416ecd
add esp, 0xc
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x60]
push edx
push ecx
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.00416f5d
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00416d31
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
mov byte [ebp - 4], 1
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x60]
call fcn.00416d10
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call fcn.00416d10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
jmp 0x409380
mov edi, 0x454760
or ecx, 0xffffffff
xor eax, eax
mov ebx, dword [ebp + 8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push str..INF
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x18]
call fcn.00416cb2
push 0x454148
lea ecx, [ebp - 0x20]
push 0x44a3cc
push ecx
mov dword [ebp - 4], 3
call fcn.00416ecd
add esp, 0xc
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x60]
push edx
push ecx
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00416f5d
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.00416d31
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
mov byte [ebp - 4], 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x60]
call fcn.00416d10
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.00416d10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00416d10
lea eax, [ebp - 0x7e8]
push 0x44a9b8
push eax
call fcn.00433c01
mov edi, eax
xor esi, esi
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], esi
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 6
push ecx
call fcn.0040bf80
or eax, 0xffffffff
add esp, 0xc
lea ecx, [ebp - 0xd4]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp + 8], eax
mov dword [ebp - 0x58], eax
mov byte [ebp - 4], 7
mov dword [ebp - 0x194], 0x442810
mov dword [ebp - 0x18c], 0x442808
call fcn.0040fe50
mov dword [ebp - 0x24], 1
push esi
push esi
lea ecx, [ebp - 0x194]
mov byte [ebp - 4], 8
call fcn.00410fe0
lea ecx, [ebp - 0x188]
mov dword [ebp - 4], 9
call fcn.00410130
mov edx, dword [ebp - 0x194]
lea ecx, [ebp - 0x188]
push ecx
mov byte [ebp - 4], 0xa
mov eax, dword [edx + 4]
mov dword [ebp + eax - 0x194], 0x442b3c
mov edx, dword [ebp - 0x194]
mov eax, dword [edx + 4]
lea ecx, [ebp + eax - 0x194]
call fcn.0040fe70
push 0x30
push ebx
lea ecx, [ebp - 0x134]
call fcn.0041c3b0
neg al
sbb eax, eax
lea ecx, [ebp - 0x188]
test ecx, eax
jne 0x409487
mov edx, dword [ebp - 0x194]
mov eax, dword [edx + 4]
lea ecx, [ebp + eax - 0x194]
mov eax, dword [ebp + eax - 0x18c]
or al, 4
push eax
call fcn.0040fe30
cmp edi, esi
mov byte [ebp - 4], 0xb
jne 0x409496
push esi
push esi
call fcn.00434098
mov esi, dword [ebp - 0x28]
mov ebx, dword [ebp + 8]
push edi
call fcn.00433e11
add esp, 4
test eax, eax
jne 0x40ad82
push edi
lea ecx, [ebp - 0x6e4]
push 0x400
push ecx
call fcn.00433daf
push edi
call fcn.00433e11
add esp, 0x10
test eax, eax
jne 0x40ad82
cmp ebx, dword [ebp - 0x58]
je 0x409518
push ebx
lea edx, [ebp - 0x224]
push 0x44b3e4
push edx
mov dword [ebp - 0x58], ebx
call fcn.004330da
mov eax, dword [ebp - 0x3c]
add esp, 0xc
lea ecx, [eax + ebx*8]
call fcn.00416d31
lea ecx, [ebp - 0x70]
push ecx
push str.Has_Logconf
push eax
push 0x80000002
call fcn.0040bba0
mov eax, dword [ebp - 0x70]
add esp, 0x10
test eax, eax
setne byte [ebp + 0xf]
cmp byte [ebp - 0x6e4], 0x23
jne 0x40986f
push 3
lea edx, [ebp - 0x6e4]
push 0x44b3d4
push edx
call fcn.00433cd0
add esp, 0xc
test eax, eax
jne 0x409738
inc esi
cmp esi, 0x10
mov dword [ebp - 0x28], esi
jl 0x40957e
push str.Too_many_IFs_in_inf_file_template
lea ecx, [ebp - 0x20]
call fcn.00416cb2
lea eax, [ebp - 0x20]
push 0
push eax
mov byte [ebp - 4], 0xc
call fcn.00407480
add esp, 8
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xb
call fcn.00416d10
push 4
call fcn.00433453
push 4
lea ecx, [ebp - 0x6e0]
push str.PENX
push ecx
mov byte [ebp + esi - 0x4c], 0
call fcn.00433cd0
add esp, 0xc
test eax, eax
jne 0x4095a7
mov dl, byte [0x454882]
mov byte [ebp + esi - 0x4c], dl
push 8
lea eax, [ebp - 0x6e0]
push str.UNSIGNED
push eax
call fcn.00433cd0
add esp, 0xc
test eax, eax
jne 0x4095ed
lea ecx, [ebp - 0x74]
push ecx
push str.W2KSigned
push eax
call fcn.00413d19
mov eax, dword [ebp - 0x74]
test eax, eax
jne 0x4095e7
call fcn.0040cad0
test al, al
je 0x4095e7
mov eax, 1
jmp 0x4095e9
xor eax, eax
mov byte [ebp + esi - 0x4c], al
push 3
lea edx, [ebp - 0x6e0]
push 0x44b38c
push edx
call fcn.00433cd0
add esp, 0xc
test eax, eax
jne 0x409610
call fcn.0040cad0
mov byte [ebp + esi - 0x4c], al
push 7
lea eax, [ebp - 0x6e0]
push str.MAKEINF
push eax
call fcn.00433cd0
add esp, 0xc
test eax, eax
jne 0x409634
mov cl, byte [0x454871]
mov byte [ebp + esi - 0x4c], cl
push 3
lea edx, [ebp - 0x6e0]
push 0x44b380
push edx
call fcn.00433cd0
add esp, 0xc
test eax, eax
jne 0x409657
call fcn.0040cb10
mov byte [ebp + esi - 0x4c], al
push 3
lea eax, [ebp - 0x6e0]
push 0x44b37c
push eax
call fcn.00433cd0
add esp, 0xc
test eax, eax
jne 0x40967a
call fcn.0040cb50
mov byte [ebp + esi - 0x4c], al
push 3
lea ecx, [ebp - 0x6e0]
push 0x44b378
push ecx
call fcn.00433cd0
add esp, 0xc
test eax, eax
jne 0x4096cf
mov edx, dword [ebp - 0x3c]
lea ecx, [edx + ebx*8]
call fcn.00416d31
lea ecx, [ebp - 0x1c]
push ecx
push str.PortType
push eax
push 0x80000002
call fcn.0040bba0
mov eax, dword [ebp - 0x1c]
add esp, 0x10
cmp eax, 2
jbe 0x4096ca
cmp eax, 3
jne 0x4096cf
mov byte [ebp + esi - 0x4c], 0
jmp 0x4096cf
mov byte [ebp + esi - 0x4c], 1
push 7
lea edx, [ebp - 0x6e0]
push str.LOGCONF
push edx
call fcn.00433cd0
add esp, 0xc
test eax, eax
jne 0x40949c
mov eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x50]
and eax, edx
cmp eax, 0xffffffff
jne 0x40972c
push str.LOGCONF_without_EACH_in_inf_file_template
lea ecx, [ebp - 0x20]
call fcn.00416cb2
lea ecx, [ebp - 0x20]
push 0
push ecx
mov byte [ebp - 4], 0xd
call fcn.00407480
add esp, 8
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xb
call fcn.00416d10
push 4
call fcn.00433453
mov dl, byte [ebp + 0xf]
mov byte [ebp + esi - 0x4c], dl
jmp 0x40949c
push 3
lea eax, [ebp - 0x6e4]
push str.ELSE
push eax
call fcn.00433cd0
add esp, 0xc
test eax, eax
jne 0x409799
test esi, esi
jne 0x409787
push str.ELSE_without_IF_in_inf_file_template
lea ecx, [ebp - 0x20]
call fcn.00416cb2
lea ecx, [ebp - 0x20]
push esi
push ecx
mov byte [ebp - 4], 0xe
call fcn.00407480
add esp, 8
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xb
call fcn.00416d10
push 4
call fcn.00433453
mov al, byte [ebp + esi - 0x4c]
test al, al
sete dl
mov byte [ebp + esi - 0x4c], dl
jmp 0x40949c
push 6
lea eax, [ebp - 0x6e4]
push str.ENDIF
push eax
call fcn.00433cd0
add esp, 0xc
test eax, eax
jne 0x4097ef
dec esi
mov dword [ebp - 0x28], esi
jns 0x40949c
push str.ENDIF_without_IF_in_inf_file_template
lea ecx, [ebp - 0x20]
call fcn.00416cb2
lea ecx, [ebp - 0x20]
push 0
push ecx
mov byte [ebp - 4], 0xf
call fcn.00407480
add esp, 8
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xb
call fcn.00416d10
push 4
call fcn.00433453
push 5
lea edx, [ebp - 0x6e4]
push str.EACH
push edx
call fcn.00433cd0
add esp, 0xc
test eax, eax
jne 0x409820
lea eax, [ebp - 0x54]
push eax
push edi
call fcn.00434076
add esp, 8
xor ebx, ebx
mov dword [ebp + 8], ebx
jmp 0x40949c
push 8
lea ecx, [ebp - 0x6e4]
push str.ENDEACH
push ecx
call fcn.00433cd0
add esp, 0xc
test eax, eax
jne 0x40949c
mov eax, dword [ebp - 0x38]
inc ebx
cmp ebx, eax
mov dword [ebp + 8], ebx
jge 0x40985b
lea edx, [ebp - 0x54]
push edx
push edi
call fcn.0043405e
add esp, 8
jmp 0x40949c
or ebx, 0xffffffff
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp + 8], ebx
jmp 0x40949c
mov cl, 1
xor eax, eax
cmp eax, esi
jg 0x409886
mov dl, byte [ebp + eax - 0x4c]
test dl, dl
je 0x40949c
inc eax
jmp 0x409873
test cl, cl
je 0x40949c
lea eax, [ebp - 0x6e4]
push 0xd
push eax
call fcn.00433960
add esp, 8
test eax, eax
je 0x4098b9
lea ecx, [ebp - 0x6e4]
push 0xd
push ecx
call fcn.00433960
add esp, 8
mov byte [eax], 0
jmp 0x40988e
lea edx, [ebp - 0x6e4]
push 0xa
push edx
call fcn.00433960
add esp, 8
test eax, eax
je 0x4098e4
lea eax, [ebp - 0x6e4]
push 0xa
push eax
call fcn.00433960
add esp, 8
mov byte [eax], 0
jmp 0x4098b9
lea ecx, [ebp - 0x6e4]
push ecx
lea ecx, [ebp - 0x18]
call fcn.00416cb2
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x10
call fcn.00416d15
cmp eax, 0xb
jl 0x409a94
lea edx, [ebp - 0x1dc]
push 0xb
push edx
lea ecx, [ebp - 0x18]
call fcn.00417191
push str.__DRIVERVER
mov ecx, eax
mov byte [ebp - 4], 0x11
call fcn.00417020
lea ecx, [ebp - 0x1dc]
mov esi, eax
mov byte [ebp - 4], 0x10
call fcn.00416d10
test esi, esi
je 0x409a94
lea eax, [ebp - 0x214]
push 0x20
push eax
push str.DriverDate
push 0
call fcn.00413c6a
lea ecx, [ebp - 0x214]
push 0x2d
push ecx
call fcn.00433960
add esp, 8
test eax, eax
je 0x409982
lea edx, [ebp - 0x214]
push 0x2d
push edx
call fcn.00433960
add esp, 8
mov byte [eax], 0x2f
jmp 0x409957
mov edi, 0x44b2a8
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x214]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x40
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [str.03.08.26]
mov ecx, ebx
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x2a4]
push ecx
call fcn.0043312c
add esp, 0xc
lea edx, [ebp - 0x2a4]
push 0x20
push edx
call fcn.00433960
add esp, 8
test eax, eax
je 0x4099f4
lea eax, [ebp - 0x2a4]
push 0x20
push eax
call fcn.00433960
add esp, 8
mov byte [eax], 0
jmp 0x4099c9
lea edi, [ebp - 0x2a4]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x214]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push str.DriverVer
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [ebp - 0x214]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x44b298
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [ebp - 0x18c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea esi, [ebp - 0x194]
neg esi
sbb esi, esi
and esi, eax
mov ecx, esi
call fcn.0040ff10
lea ecx, [ebp - 0x214]
push ecx
mov ecx, esi
call fcn.0040ff10
push 0xa
mov ecx, esi
call fcn.004118f0
mov ecx, esi
call fcn.00411640
jmp 0x40ad68
lea ecx, [ebp - 0x18]
call fcn.00416d15
cmp eax, 0xd
jl 0x409c35
lea edx, [ebp - 0x1cc]
push 0xd
push edx
lea ecx, [ebp - 0x18]
call fcn.00417191
push str.__CONTROLLERS
mov ecx, eax
mov byte [ebp - 4], 0x12
call fcn.00417020
lea ecx, [ebp - 0x1cc]
mov esi, eax
mov byte [ebp - 4], 0x10
call fcn.00416d10
test esi, esi
je 0x409c35
xor ebx, ebx
cmp ebx, dword [ebp - 0x38]
jge 0x40ad68
mov eax, dword [ebp - 0x3c]
lea ecx, [eax + ebx*8]
call fcn.00416d31
lea ecx, [ebp - 0x264]
push 0x40
push ecx
push str.PNP_Id
push eax
push 0x80000002
call fcn.0040bc10
lea edi, [ebp - 0x264]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x409c2f
mov edx, dword [ebp - 0x3c]
lea ecx, [edx + ebx*8]
call fcn.00416d31
lea ecx, [ebp - 0x8e8]
push pe_nt_image_headers32
push ecx
push str.Controller_Type
push eax
push 0x80000002
call fcn.0040bc10
lea esi, [ebp - 0x194]
add esp, 0x14
neg esi
sbb esi, esi
lea edx, [ebp - 0x18c]
and esi, edx
push 0x44aeac
mov ecx, esi
call fcn.0040ff10
lea eax, [ebp - 0x8e8]
mov ecx, esi
push eax
call fcn.0040ff10
push str.__UPDD__UPDD
mov ecx, esi
call fcn.0040ff10
push ebx
push esi
call fcn.004112a0
add esp, 8
mov esi, eax
mov ecx, esi
push 0x44b2a8
call fcn.0040ff10
lea ecx, [ebp - 0x264]
push ecx
mov ecx, esi
call fcn.0040ff10
lea edx, [ebp - 0x264]
push str.PNP0F13
push edx
call fcn.00434f20
add esp, 8
test eax, eax
jne 0x409be3
lea ecx, [ebp - 0x194]
lea eax, [ebp - 0x18c]
neg ecx
sbb ecx, ecx
push str._PNP0F03_PNP0F0B_PNP0F0E_PNP0F12
and ecx, eax
call fcn.0040ff10
lea ecx, [ebp - 0x264]
push str.PNP0F03
push ecx
call fcn.00434f20
add esp, 8
test eax, eax
jne 0x409c17
lea ecx, [ebp - 0x194]
lea edx, [ebp - 0x18c]
neg ecx
sbb ecx, ecx
push str._PNP0F13_PNP0F0B_PNP0F0E_PNP0F12
and ecx, edx
call fcn.0040ff10
push 0xa
lea ecx, [ebp - 0x18c]
call fcn.004118f0
lea ecx, [ebp - 0x18c]
call fcn.00411640
inc ebx
jmp 0x409ae1
lea ecx, [ebp - 0x18]
call fcn.00416d15
cmp eax, 0xa
jl 0x409d06
lea eax, [ebp - 0x1a4]
push 0xa
push eax
lea ecx, [ebp - 0x18]
call fcn.00417191
push str.__EXCLUDES
mov ecx, eax
mov byte [ebp - 4], 0x13
call fcn.00417020
lea ecx, [ebp - 0x1a4]
mov esi, eax
mov byte [ebp - 4], 0x10
call fcn.00416d10
test esi, esi
je 0x409d06
xor ebx, ebx
cmp ebx, dword [ebp - 0x38]
jge 0x40ad68
mov ecx, dword [ebp - 0x3c]
lea ecx, [ecx + ebx*8]
call fcn.00416d31
lea edx, [ebp - 0x2e4]
push 0x40
push edx
push str.PNP_Id
push eax
push 0x80000002
call fcn.0040bc10
lea edi, [ebp - 0x2e4]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x409d00
lea esi, [ebp - 0x194]
lea eax, [ebp - 0x18c]
neg esi
sbb esi, esi
push str.ExcludeFromSelect
and esi, eax
mov ecx, esi
call fcn.0040ff10
lea ecx, [ebp - 0x2e4]
push ecx
mov ecx, esi
call fcn.0040ff10
push 0xa
mov ecx, esi
call fcn.004118f0
mov ecx, esi
call fcn.00411640
inc ebx
jmp 0x409c82
lea ecx, [ebp - 0x18]
call fcn.00416d15
cmp eax, 9
jl 0x409ed2
lea edx, [ebp - 0x1f4]
push 9
push edx
lea ecx, [ebp - 0x18]
call fcn.00417191
push str.__LOGCONF
mov ecx, eax
mov byte [ebp - 4], 0x14
call fcn.00417020
lea ecx, [ebp - 0x1f4]
mov esi, eax
mov byte [ebp - 4], 0x10
call fcn.00416d10
test esi, esi
je 0x409ed2
mov eax, dword [ebp - 0x3c]
lea ecx, [eax + ebx*8]
call fcn.00416d31
lea ecx, [ebp - 0x2c]
push ecx
push str.Interrupt
push eax
push 0x80000002
call fcn.0040bba0
lea esi, [ebp - 0x194]
add esp, 0x10
neg esi
sbb esi, esi
lea edx, [ebp - 0x18c]
and esi, edx
push str.ConfigPriorityNORMAL
mov ecx, esi
call fcn.0040ff10
push 0xa
mov ecx, esi
call fcn.004118f0
mov ecx, esi
call fcn.00411640
lea esi, [ebp - 0x194]
lea eax, [ebp - 0x18c]
neg esi
sbb esi, esi
push str.IRQConfig
and esi, eax
mov ecx, esi
call fcn.0040ff10
mov ecx, dword [ebp - 0x2c]
push ecx
push esi
call fcn.00411440
add esp, 8
mov esi, eax
mov ecx, esi
push 0xa
call fcn.004118f0
mov ecx, esi
call fcn.00411640
mov edx, dword [ebp - 0x3c]
lea ecx, [edx + ebx*8]
call fcn.00416d31
lea ecx, [ebp - 0x2c]
push ecx
push str.Address
push eax
push 0x80000002
call fcn.0040bba0
mov edx, dword [ebp - 0x3c]
add esp, 0x10
lea ecx, [edx + ebx*8]
call fcn.00416d31
lea ecx, [ebp - 0x24]
push ecx
push str.Address_To
push eax
push 0x80000002
call fcn.0040bba0
mov eax, dword [ebp - 0x2c]
add esp, 0x10
test eax, eax
je 0x40ad68
mov ecx, dword [ebp - 0x24]
test ecx, ecx
jne 0x409e37
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x194]
lea esi, [ebp - 0x194]
neg esi
mov eax, dword [edx + 4]
lea ecx, [ebp - 0x18c]
sbb esi, esi
push str.IOConfig
lea eax, [ebp + eax - 0x194]
and esi, ecx
mov ecx, esi
mov dword [eax + 4], 0x10
call fcn.0040ff10
mov edx, dword [ebp - 0x2c]
push edx
push esi
call fcn.00411440
add esp, 8
mov esi, eax
mov ecx, esi
push 0x44b180
call fcn.0040ff10
mov eax, dword [ebp - 0x24]
push eax
push esi
call fcn.00411440
add esp, 8
mov esi, eax
mov ecx, esi
push str._3FF::_
call fcn.0040ff10
push 0xa
mov ecx, esi
call fcn.004118f0
mov ecx, esi
call fcn.00411640
mov ecx, dword [ebp - 0x194]
mov edx, dword [ecx + 4]
mov dword [ebp + edx - 0x190], 8
lea eax, [ebp + edx - 0x194]
jmp 0x40ad68
lea ecx, [ebp - 0x18]
call fcn.00416d15
cmp eax, 0xf
jl 0x40a0a1
lea eax, [ebp - 0x1ac]
push 0xf
push eax
lea ecx, [ebp - 0x18]
call fcn.00417191
push str.__COPYFILESITEM
mov ecx, eax
mov byte [ebp - 4], 0x15
call fcn.00417020
lea ecx, [ebp - 0x1ac]
mov esi, eax
mov byte [ebp - 4], 0x10
call fcn.00416d10
test esi, esi
je 0x40a0a1
xor ebx, ebx
xor eax, eax
cmp eax, dword [eax*4 + 0x44a1b4]
jae 0x40a084
lea edi, [eax + 1]
push edi
push 0x454130
call fcn.0040d670
add esp, 8
test al, al
je 0x409f84
mov ecx, ebx
inc ebx
test ecx, ecx
mov eax, 0x44b2a8
jne 0x409f54
mov eax, str.CopyFiles
lea esi, [ebp - 0x194]
lea edx, [ebp - 0x18c]
neg esi
sbb esi, esi
push eax
and esi, edx
mov ecx, esi
call fcn.0040ff10
push str.UPDD.CopyDRV32DSK
mov ecx, esi
call fcn.0040ff10
push edi
push esi
call fcn.00411440
add esp, 8
push edi
push 0x454110
call fcn.0040d670
add esp, 8
test al, al
je 0x409fd7
mov eax, ebx
inc ebx
test eax, eax
mov eax, 0x44b2a8
jne 0x409fa7
mov eax, str.CopyFiles
lea esi, [ebp - 0x194]
lea ecx, [ebp - 0x18c]
neg esi
sbb esi, esi
push eax
and esi, ecx
mov ecx, esi
call fcn.0040ff10
push str.UPDD.CopyMAINDIRDSK
mov ecx, esi
call fcn.0040ff10
push edi
push esi
call fcn.00411440
add esp, 8
push edi
push 0x454120
call fcn.0040d670
add esp, 8
test al, al
je 0x40a02a
mov edx, ebx
inc ebx
test edx, edx
mov eax, 0x44b2a8
jne 0x409ffa
mov eax, str.CopyFiles
lea esi, [ebp - 0x194]
lea ecx, [ebp - 0x18c]
neg esi
sbb esi, esi
push eax
and esi, ecx
mov ecx, esi
call fcn.0040ff10
push str.UPDD.CopySYSDIRDSK
mov ecx, esi
call fcn.0040ff10
push edi
push esi
call fcn.00411440
add esp, 8
push edi
push 0x454100
call fcn.0040d670
add esp, 8
test al, al
je 0x40a07d
mov edx, ebx
inc ebx
test edx, edx
mov eax, 0x44b2a8
jne 0x40a04d
mov eax, str.CopyFiles
lea esi, [ebp - 0x194]
lea ecx, [ebp - 0x18c]
neg esi
sbb esi, esi
push eax
and esi, ecx
mov ecx, esi
call fcn.0040ff10
push str.UPDD.CopyWINDIRDSK
mov ecx, esi
call fcn.0040ff10
push edi
push esi
call fcn.00411440
add esp, 8
mov eax, edi
jmp 0x409f21
push 0xa
lea ecx, [ebp - 0x18c]
call fcn.004118f0
lea ecx, [ebp - 0x18c]
call fcn.00411640
jmp 0x40ad68
lea ecx, [ebp - 0x18]
call fcn.00416d15
cmp eax, 0x13
jl 0x40a4a7
lea edx, [ebp - 0x19c]
push 0x13
push edx
lea ecx, [ebp - 0x18]
call fcn.00417191
push str.__COPYFILESSECTIONS
mov ecx, eax
mov byte [ebp - 4], 0x16
call fcn.00417020
lea ecx, [ebp - 0x19c]
mov esi, eax
mov byte [ebp - 4], 0x10
call fcn.00416d10
test esi, esi
je 0x40a4a7
xor eax, eax
cmp eax, dword [eax*4 + 0x44a1b4]
jae 0x40ad68
lea ebx, [eax + 1]
push ebx
push 0x454130
call fcn.0040d670
add esp, 8
test al, al
je 0x40a1d2
push 0xa
lea ecx, [ebp - 0x18c]
call fcn.004118f0
lea ecx, [ebp - 0x18c]
call fcn.00411640
push str._UPDD.CopyDRV32DSK
lea ecx, [ebp - 0x18c]
call fcn.0040ff10
lea eax, [ebp - 0x18c]
push ebx
push eax
call fcn.00411440
add esp, 8
mov esi, eax
mov ecx, esi
push 0x44b0e0
call fcn.0040ff10
push 0xa
mov ecx, esi
call fcn.004118f0
mov ecx, esi
call fcn.00411640
xor edi, edi
cmp edi, dword [0x454134]
jge 0x40a1d2
mov ecx, dword [0x454130]
push ebx
lea edx, [ecx + edi*8]
push edx
call fcn.0040d4e0
add esp, 8
test al, al
je 0x40a1cf
mov ecx, dword [0x454130]
lea esi, [ebp - 0x194]
neg esi
sbb esi, esi
lea eax, [ebp - 0x18c]
lea ecx, [ecx + edi*8]
and esi, eax
call fcn.00416d31
push eax
mov ecx, esi
call fcn.0040ff10
push str.___2
mov ecx, esi
call fcn.0040ff10
push 0xa
mov ecx, esi
call fcn.004118f0
mov ecx, esi
call fcn.00411640
inc edi
jmp 0x40a16c
push ebx
push 0x454110
call fcn.0040d670
add esp, 8
test al, al
je 0x40a2f8
push 0xa
lea ecx, [ebp - 0x18c]
call fcn.004118f0
lea ecx, [ebp - 0x18c]
call fcn.00411640
push str._UPDD.CopyMAINDIRDSK
lea ecx, [ebp - 0x18c]
call fcn.0040ff10
lea edx, [ebp - 0x18c]
push ebx
push edx
call fcn.00411440
add esp, 8
mov esi, eax
mov ecx, esi
push 0x44b0e0
call fcn.0040ff10
push 0xa
mov ecx, esi
call fcn.004118f0
mov ecx, esi
call fcn.00411640
xor edi, edi
cmp edi, dword [0x454114]
jge 0x40a2f8
mov eax, dword [0x454110]
push ebx
lea ecx, [eax + edi*8]
push ecx
call fcn.0040d4e0
add esp, 8
test al, al
je 0x40a2f2
mov edx, dword [0x454110]
lea ecx, [edx + edi*8]
call fcn.00416d31
push str..cpl
push eax
call fcn.00433c20
add esp, 8
lea esi, [ebp - 0x194]
test eax, eax
je 0x40a2b5
mov ecx, dword [0x454110]
lea eax, [ebp - 0x18c]
neg esi
sbb esi, esi
lea ecx, [ecx + edi*8]
and esi, eax
call fcn.00416d31
push eax
mov ecx, esi
call fcn.0040ff10
push str.___0x00000010
jmp 0x40a2db
mov eax, dword [0x454110]
lea edx, [ebp - 0x18c]
neg esi
sbb esi, esi
lea ecx, [eax + edi*8]
and esi, edx
call fcn.00416d31
push eax
mov ecx, esi
call fcn.0040ff10
push str.___2
mov ecx, esi
call fcn.0040ff10
push 0xa
mov ecx, esi
call fcn.004118f0
mov ecx, esi
call fcn.00411640
inc edi
jmp 0x40a240
push ebx
push 0x454120
call fcn.0040d670
add esp, 8
test al, al
je 0x40a3cc
push 0xa
lea ecx, [ebp - 0x18c]
call fcn.004118f0
lea ecx, [ebp - 0x18c]
call fcn.00411640
push str._UPDD.CopySYSDIRDSK
lea ecx, [ebp - 0x18c]
call fcn.0040ff10
lea ecx, [ebp - 0x18c]
push ebx
push ecx
call fcn.00411440
add esp, 8
mov esi, eax
mov ecx, esi
push 0x44b0e0
call fcn.0040ff10
push 0xa
mov ecx, esi
call fcn.004118f0
mov ecx, esi
call fcn.00411640
xor edi, edi
cmp edi, dword [0x454124]
jge 0x40a3cc
mov edx, dword [0x454120]
push ebx
lea eax, [edx + edi*8]
push eax
call fcn.0040d4e0
add esp, 8
test al, al
je 0x40a3c9
mov edx, dword [0x454120]
lea esi, [ebp - 0x194]
neg esi
sbb esi, esi
lea ecx, [ebp - 0x18c]
and esi, ecx
lea ecx, [edx + edi*8]
call fcn.00416d31
push eax
mov ecx, esi
call fcn.0040ff10
push str.___2
mov ecx, esi
call fcn.0040ff10
push 0xa
mov ecx, esi
call fcn.004118f0
mov ecx, esi
call fcn.00411640
inc edi
jmp 0x40a366
push ebx
push 0x454100
call fcn.0040d670
add esp, 8
test al, al
je 0x40a4a0
push 0xa
lea ecx, [ebp - 0x18c]
call fcn.004118f0
lea ecx, [ebp - 0x18c]
call fcn.00411640
push str._UPDD.CopyWINDIRDSK
lea ecx, [ebp - 0x18c]
call fcn.0040ff10
lea eax, [ebp - 0x18c]
push ebx
push eax
call fcn.00411440
add esp, 8
mov esi, eax
mov ecx, esi
push 0x44b0e0
call fcn.0040ff10
push 0xa
mov ecx, esi
call fcn.004118f0
mov ecx, esi
call fcn.00411640
xor edi, edi
cmp edi, dword [0x454104]
jge 0x40a4a0
mov ecx, dword [0x454100]
push ebx
lea edx, [ecx + edi*8]
push edx
call fcn.0040d4e0
add esp, 8
test al, al
je 0x40a49d
mov ecx, dword [0x454100]
lea esi, [ebp - 0x194]
neg esi
sbb esi, esi
lea eax, [ebp - 0x18c]
lea ecx, [ecx + edi*8]
and esi, eax
call fcn.00416d31
push eax
mov ecx, esi
call fcn.0040ff10
push str.___2
mov ecx, esi
call fcn.0040ff10
push 0xa
mov ecx, esi
call fcn.004118f0
mov ecx, esi
call fcn.00411640
inc edi
jmp 0x40a43a
mov eax, ebx
jmp 0x40a0ee
lea ecx, [ebp - 0x18]
call fcn.00416d15
cmp eax, 5
jl 0x40a55a
lea edx, [ebp - 0x1ec]
push 5
push edx
lea ecx, [ebp - 0x18]
call fcn.00417191
push str.__REG
mov ecx, eax
mov byte [ebp - 4], 0x17
call fcn.00417020
lea ecx, [ebp - 0x1ec]
mov esi, eax
mov byte [ebp - 4], 0x10
call fcn.00416d10
test esi, esi
je 0x40a55a
xor edi, edi
cmp edi, dword [0x4540e4]
jge 0x40ad68
mov ecx, dword [0x4540e0]
lea esi, [ebp - 0x194]
neg esi
sbb esi, esi
lea eax, [ebp - 0x18c]
lea ecx, [ecx + edi*8]
and esi, eax
call fcn.00416d31
push eax
mov ecx, esi
call fcn.0040ff10
push 0xa
mov ecx, esi
call fcn.004118f0
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, dword [eax + esi + 0x58]
test ecx, ecx
je 0x40a557
mov edx, dword [ecx]
call dword [edx + 0x10]
cmp eax, 0xffffffff
jne 0x40a557
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + esi + 8]
add ecx, esi
or al, 1
push eax
call fcn.0040fe30
inc edi
jmp 0x40a4f0
lea ecx, [ebp - 0x18]
call fcn.00416d15
cmp eax, 5
jl 0x40a77c
lea ecx, [ebp - 0x1c4]
push 5
push ecx
lea ecx, [ebp - 0x18]
call fcn.00417191
push str.__SDF
mov ecx, eax
mov byte [ebp - 4], 0x18
call fcn.00417020
lea ecx, [ebp - 0x1c4]
mov esi, eax
mov byte [ebp - 4], 0x10
call fcn.00416d10
test esi, esi
je 0x40a77c
xor edi, edi
cmp edi, dword [0x454134]
jge 0x40a617
mov eax, dword [0x454130]
lea esi, [ebp - 0x194]
neg esi
sbb esi, esi
lea edx, [ebp - 0x18c]
lea ecx, [eax + edi*8]
and esi, edx
call fcn.00416d31
push eax
mov ecx, esi
call fcn.0040ff10
push 0x44b074
mov ecx, esi
call fcn.0040ff10
push 0xa
mov ecx, esi
call fcn.004118f0
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
mov ecx, dword [edx + esi + 0x58]
test ecx, ecx
je 0x40a614
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp eax, 0xffffffff
jne 0x40a614
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
mov eax, dword [ecx + 8]
or al, 1
push eax
call fcn.0040fe30
inc edi
jmp 0x40a5a7
xor edi, edi
cmp edi, dword [0x454124]
jge 0x40a689
mov eax, dword [0x454120]
lea esi, [ebp - 0x194]
neg esi
sbb esi, esi
lea edx, [ebp - 0x18c]
lea ecx, [eax + edi*8]
and esi, edx
call fcn.00416d31
push eax
mov ecx, esi
call fcn.0040ff10
push 0x44b074
mov ecx, esi
call fcn.0040ff10
push 0xa
mov ecx, esi
call fcn.004118f0
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
mov ecx, dword [edx + esi + 0x58]
test ecx, ecx
je 0x40a686
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp eax, 0xffffffff
jne 0x40a686
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
mov eax, dword [ecx + 8]
or al, 1
push eax
call fcn.0040fe30
inc edi
jmp 0x40a619
xor edi, edi
cmp edi, dword [0x454114]
jge 0x40a6fb
mov eax, dword [0x454110]
lea esi, [ebp - 0x194]
neg esi
sbb esi, esi
lea edx, [ebp - 0x18c]
lea ecx, [eax + edi*8]
and esi, edx
call fcn.00416d31
push eax
mov ecx, esi
call fcn.0040ff10
push 0x44b074
mov ecx, esi
call fcn.0040ff10
push 0xa
mov ecx, esi
call fcn.004118f0
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
mov ecx, dword [edx + esi + 0x58]
test ecx, ecx
je 0x40a6f8
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp eax, 0xffffffff
jne 0x40a6f8
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
mov eax, dword [ecx + 8]
or al, 1
push eax
call fcn.0040fe30
inc edi
jmp 0x40a68b
xor edi, edi
cmp edi, dword [0x454104]
jge 0x40ad68
mov eax, dword [0x454100]
lea esi, [ebp - 0x194]
neg esi
sbb esi, esi
lea edx, [ebp - 0x18c]
lea ecx, [eax + edi*8]
and esi, edx
call fcn.00416d31
push eax
mov ecx, esi
call fcn.0040ff10
push 0x44b074
mov ecx, esi
call fcn.0040ff10
push 0xa
mov ecx, esi
call fcn.004118f0
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
mov ecx, dword [edx + esi + 0x58]
test ecx, ecx
je 0x40a779
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp eax, 0xffffffff
jne 0x40a779
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0x58]
or al, 1
test edx, edx
jne 0x40a771
or al, 1
mov dword [ecx + 8], eax
call fcn.0040aff0
inc edi
jmp 0x40a6fd
lea ecx, [ebp - 0x18]
call fcn.00416d15
cmp eax, 0x12
jl 0x40a85c
lea edx, [ebp - 0x1e4]
push 0x12
push edx
lea ecx, [ebp - 0x18]
call fcn.00417191
push str.__SOURCEDISKSNAMES
mov ecx, eax
mov byte [ebp - 4], 0x19
call fcn.00417020
lea ecx, [ebp - 0x1e4]
mov esi, eax
mov byte [ebp - 4], 0x10
call fcn.00416d10
test esi, esi
je 0x40a85c
xor eax, eax
mov ecx, dword [eax*4 + 0x44a1b4]
test ecx, ecx
je 0x40ad68
lea edi, [eax + 1]
lea eax, [ebp - 0x18c]
push edi
push eax
call fcn.004112a0
add esp, 8
mov esi, eax
mov ecx, esi
push str._DiskName
call fcn.0040ff10
push edi
push esi
call fcn.004112a0
add esp, 8
mov esi, eax
mov ecx, esi
push 0x44b050
call fcn.0040ff10
push 0xa
mov ecx, esi
call fcn.004118f0
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
mov ecx, dword [edx + esi + 0x58]
test ecx, ecx
je 0x40a855
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp eax, 0xffffffff
jne 0x40a855
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0x58]
or al, 1
test edx, edx
jne 0x40a846
or al, 1
mov edx, dword [ecx + 0x14]
mov dword [ecx + 8], eax
test eax, edx
je 0x40a855
call fcn.0041b6d0
mov eax, edi
jmp 0x40a7c9
lea ecx, [ebp - 0x18]
call fcn.00416d15
cmp eax, 0x13
jl 0x40a954
lea edx, [ebp - 0x1d4]
push 0x13
push edx
lea ecx, [ebp - 0x18]
call fcn.00417191
push str.__SOURCEDISKSTRINGS
mov ecx, eax
mov byte [ebp - 4], 0x1a
call fcn.00417020
lea ecx, [ebp - 0x1d4]
mov esi, eax
mov byte [ebp - 4], 0x10
call fcn.00416d10
test esi, esi
je 0x40a954
xor edi, edi
mov eax, dword [edi*4 + 0x44a1b4]
test eax, eax
je 0x40ad68
lea esi, [ebp - 0x194]
lea eax, [ebp - 0x18c]
neg esi
sbb esi, esi
push str.DiskName
and esi, eax
mov ecx, esi
call fcn.0040ff10
inc edi
push edi
push esi
call fcn.004112a0
add esp, 8
mov esi, eax
mov ecx, esi
push str._UPDD_Driver_Disk
call fcn.0040ff10
push edi
push esi
call fcn.004112a0
add esp, 8
mov esi, eax
mov ecx, esi
push 0x44aeac
call fcn.0040ff10
push 0xa
mov ecx, esi
call fcn.004118f0
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
mov ecx, dword [edx + esi + 0x58]
test ecx, ecx
je 0x40a8a9
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp eax, 0xffffffff
jne 0x40a8a9
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0x58]
or al, 1
test edx, edx
jne 0x40a93c
or al, 1
mov edx, dword [ecx + 0x14]
mov dword [ecx + 8], eax
test eax, edx
je 0x40a8a9
call fcn.0041b6d0
jmp 0x40a8a9
lea ecx, [ebp - 0x18]
call fcn.00416d15
cmp eax, 0x12
jl 0x40aa19
lea edx, [ebp - 0x1b4]
push 0x12
push edx
lea ecx, [ebp - 0x18]
call fcn.00417191
push str.__SOURCEDISKSFILES
mov ecx, eax
mov byte [ebp - 4], 0x1b
call fcn.00417020
lea ecx, [ebp - 0x1b4]
mov esi, eax
mov byte [ebp - 4], 0x10
call fcn.00416d10
test esi, esi
je 0x40aa19
xor edi, edi
cmp edi, dword [0x4540f4]
jge 0x40ad68
mov ecx, dword [0x4540f0]
lea esi, [ebp - 0x194]
neg esi
sbb esi, esi
lea eax, [ebp - 0x18c]
lea ecx, [ecx + edi*8]
and esi, eax
call fcn.00416d31
push eax
mov ecx, esi
call fcn.0040ff10
push 0xa
mov ecx, esi
call fcn.004118f0
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, dword [eax + esi + 0x58]
test ecx, ecx
je 0x40aa16
mov edx, dword [ecx]
call dword [edx + 0x10]
cmp eax, 0xffffffff
jne 0x40aa16
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + esi + 8]
add ecx, esi
or al, 1
mov edx, dword [ecx + 0x58]
test edx, edx
jne 0x40aa07
or al, 1
mov edx, dword [ecx + 0x14]
mov dword [ecx + 8], eax
test eax, edx
je 0x40aa16
call fcn.0041b6d0
inc edi
jmp 0x40a99d
lea ecx, [ebp - 0x18]
call fcn.00416d15
cmp eax, 0x11
jl 0x40acb1
lea ecx, [ebp - 0x1bc]
push 0x11
push ecx
lea ecx, [ebp - 0x18]
call fcn.00417191
push str.__DESTINATIONDIRS
mov ecx, eax
mov byte [ebp - 4], 0x1c
call fcn.00417020
lea ecx, [ebp - 0x1bc]
mov esi, eax
mov byte [ebp - 4], 0x10
call fcn.00416d10
test esi, esi
je 0x40acb1
xor eax, eax
cmp eax, dword [eax*4 + 0x44a1b4]
jae 0x40ad68
lea edi, [eax + 1]
push edi
push 0x454130
call fcn.0040d670
add esp, 8
test al, al
je 0x40ab03
lea esi, [ebp - 0x194]
lea edx, [ebp - 0x18c]
neg esi
sbb esi, esi
push str.UPDD.CopyDRV32DSK
and esi, edx
mov ecx, esi
call fcn.0040ff10
push edi
push esi
call fcn.00411440
add esp, 8
mov esi, eax
mov ecx, esi
push str.10_SYSTEM32DRIVERS
call fcn.0040ff10
push 0xa
mov ecx, esi
call fcn.004118f0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + esi + 0x58]
test ecx, ecx
je 0x40ab03
mov edx, dword [ecx]
call dword [edx + 0x10]
cmp eax, 0xffffffff
jne 0x40ab03
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + esi + 8]
add ecx, esi
or al, 1
mov edx, dword [ecx + 0x58]
test edx, edx
jne 0x40aaf4
or al, 1
mov edx, dword [ecx + 0x14]
mov dword [ecx + 8], eax
test eax, edx
je 0x40ab03
call fcn.0041b6d0
push edi
push 0x454110
call fcn.0040d670
add esp, 8
test al, al
je 0x40ab90
lea esi, [ebp - 0x194]
lea ecx, [ebp - 0x18c]
neg esi
sbb esi, esi
push str.UPDD.CopyMAINDIRDSK
and esi, ecx
mov ecx, esi
call fcn.0040ff10
push edi
push esi
call fcn.00411440
add esp, 8
mov esi, eax
mov ecx, esi
push str.24__APPDIR_
call fcn.0040ff10
push 0xa
mov ecx, esi
call fcn.004118f0
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, dword [eax + esi + 0x58]
test ecx, ecx
je 0x40ab90
mov edx, dword [ecx]
call dword [edx + 0x10]
cmp eax, 0xffffffff
jne 0x40ab90
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + esi + 8]
add ecx, esi
or al, 1
mov edx, dword [ecx + 0x58]
test edx, edx
jne 0x40ab81
or al, 1
mov edx, dword [ecx + 0x14]
mov dword [ecx + 8], eax
test eax, edx
je 0x40ab90
call fcn.0041b6d0
push edi
push 0x454120
call fcn.0040d670
add esp, 8
test al, al
je 0x40ac1d
lea esi, [ebp - 0x194]
lea ecx, [ebp - 0x18c]
neg esi
sbb esi, esi
push str.UPDD.CopySYSDIRDSK
and esi, ecx
mov ecx, esi
call fcn.0040ff10
push edi
push esi
call fcn.00411440
add esp, 8
mov esi, eax
mov ecx, esi
push 0x44afc8
call fcn.0040ff10
push 0xa
mov ecx, esi
call fcn.004118f0
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, dword [eax + esi + 0x58]
test ecx, ecx
je 0x40ac1d
mov edx, dword [ecx]
call dword [edx + 0x10]
cmp eax, 0xffffffff
jne 0x40ac1d
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + esi + 8]
add ecx, esi
or al, 1
mov edx, dword [ecx + 0x58]
test edx, edx
jne 0x40ac0e
or al, 1
mov edx, dword [ecx + 0x14]
mov dword [ecx + 8], eax
test eax, edx
je 0x40ac1d
call fcn.0041b6d0
push edi
push 0x454100
call fcn.0040d670
add esp, 8
test al, al
je 0x40acaa
lea esi, [ebp - 0x194]
lea ecx, [ebp - 0x18c]
neg esi
sbb esi, esi
push str.UPDD.CopyWINDIRDSK
and esi, ecx
mov ecx, esi
call fcn.0040ff10
push edi
push esi
call fcn.00411440
add esp, 8
mov esi, eax
mov ecx, esi
push str.10_
call fcn.0040ff10
push 0xa
mov ecx, esi
call fcn.004118f0
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, dword [eax + esi + 0x58]
test ecx, ecx
je 0x40acaa
mov edx, dword [ecx]
call dword [edx + 0x10]
cmp eax, 0xffffffff
jne 0x40acaa
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + esi + 8]
add ecx, esi
or al, 1
mov edx, dword [ecx + 0x58]
test edx, edx
jne 0x40ac9b
or al, 1
mov edx, dword [ecx + 0x14]
mov dword [ecx + 8], eax
test eax, edx
je 0x40acaa
call fcn.0041b6d0
mov eax, edi
jmp 0x40aa66
lea ecx, [ebp - 0x224]
push ecx
lea ecx, [ebp - 0x68]
call fcn.00416cb2
push str._EACHITEM_
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x1d
call fcn.00416cb2
lea edx, [ebp - 0x68]
lea eax, [ebp - 0x60]
push edx
lea ecx, [ebp - 0x18]
push eax
push ecx
mov byte [ebp - 4], 0x1e
call fcn.00415edb
add esp, 0xc
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x1d
call fcn.00416d10
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x10
call fcn.00416d10
lea esi, [ebp - 0x194]
lea edx, [ebp - 0x18c]
neg esi
sbb esi, esi
lea ecx, [ebp - 0x18]
and esi, edx
call fcn.00416d31
push eax
mov ecx, esi
call fcn.0040ff10
push 0xa
mov ecx, esi
call fcn.004118f0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + esi + 0x58]
test ecx, ecx
je 0x40ad68
mov edx, dword [ecx]
call dword [edx + 0x10]
cmp eax, 0xffffffff
jne 0x40ad68
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + esi + 8]
add ecx, esi
or al, 1
mov edx, dword [ecx + 0x58]
test edx, edx
jne 0x40ad59
or al, 1
mov edx, dword [ecx + 0x14]
mov dword [ecx + 8], eax
test eax, edx
je 0x40ad68
call fcn.0041b6d0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xb
call fcn.00416d10
mov edi, dword [ebp - 0x6c]
mov ebx, dword [ebp + 8]
mov esi, dword [ebp - 0x28]
jmp 0x40949c
mov edx, dword [ebp - 0x194]
lea ecx, [ebp - 0xd4]
mov dword [ebp + 8], ecx
mov eax, dword [edx + 4]
mov dword [ebp + eax - 0x194], 0x442b3c
lea esi, [ebp - 0x188]
mov dword [ebp - method._STL::basic_filebuf_char__class__STL::char_traits_char__.virtual_0], vtable._STL::basic_filebuf_char__class__STL::char_traits_char__.0
mov dword [ebp - 0x1c], esi
mov dl, byte [ebp - 0x128]
mov cl, byte [ebp - 0x120]
test dl, dl
setne al
test cl, cl
mov byte [ebp - 4], 0x20
je 0x40ae45
test al, al
je 0x40addd
push 0xffffffffffffffff
lea ecx, [ebp - 0x188]
call dword [0x442b20]
mov al, byte [ebp - 0x120]
test al, al
je 0x40ae5a
mov al, byte [ebp - 0x124]
test al, al
jne 0x40ae5a
xor ebx, ebx
mov edx, dword [esi + 0x78]
mov eax, dword [esi + 0x74]
lea ecx, [ebp + 0xc]
mov dword [ebp + 0xc], eax
push ecx
mov ecx, dword [esi + 0xa0]
push edx
push eax
lea eax, [esi + 0x84]
push eax
call fcn.0040b020
mov edi, eax
cmp edi, 3
je 0x40ae5c
mov ecx, dword [esi + 0x74]
mov eax, dword [ebp + 0xc]
cmp eax, ecx
jne 0x40ae29
cmp edi, ebx
je 0x40ae5c
cmp edi, 2
je 0x40ae5c
sub eax, ecx
push eax
push ecx
lea ecx, [esi + 0x54]
call fcn.0041c520
test al, al
je 0x40ae5c
cmp edi, 1
je 0x40adf3
jmp 0x40ae5c
mov al, byte [ebp - 0x121]
test al, al
je 0x40ae5a
lea ecx, [ebp - 0x188]
call fcn.00411a50
xor ebx, ebx
lea ecx, [esi + 0x54]
call fcn.0041c3d0
mov ecx, dword [esi + 4]
push ebx
push ebx
push ebx
push ecx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x90], ebx
call fcn.0040b000
mov eax, dword [esi + 8]
add esp, 0x10
mov dword [eax + 8], ebx
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov al, byte [esi + 0x66]
test al, al
mov dword [esi + 0x9c], ebx
mov dword [esi + 0x98], ebx
mov dword [esi + 0x94], ebx
mov byte [esi + 0x6a], 0
mov byte [esi + 0x69], 0
mov byte [esi + 0x68], 0
mov byte [esi + 0x67], 0
je 0x40aed4
mov edx, dword [esi + 0x6c]
push edx
call fcn.00433a1c
add esp, 4
mov eax, dword [esi + 0x74]
push eax
call fcn.00433a1c
add esp, 4
mov ecx, esi
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov byte [ebp - 4], 0x1f
call fcn.0041b210
mov ecx, dword [ebp + 8]
mov byte [ebp - 4], 7
mov edx, dword [ecx - 0xc0]
mov eax, dword [edx + 4]
lea edx, [ecx - 0xc0]
test edx, edx
mov dword [eax + ecx - 0xc0], 0x442b44
je 0x40af24
lea eax, [ecx - 0xb8]
jmp 0x40af26
xor eax, eax
mov edx, dword [eax]
mov edx, dword [edx + 4]
mov dword [edx + eax], vtable._STL::basic_ostream_char__class__STL::char_traits_char__.0
mov eax, dword [ecx - 0xc0]
mov edx, dword [eax + 4]
mov dword [edx + ecx - 0xc0], 0x442b2c
lea ecx, [ebp - 0xd4]
mov dword [ebp - 0xd4], vtable._STL::basic_ios_char__class__STL::char_traits_char__.0
call fcn.0041b950
mov eax, dword [ebp - 0x6c]
cmp eax, ebx
je 0x40af6b
push eax
call fcn.00433b53
add esp, 4
mov esi, dword [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
cmp esi, ebx
je 0x40afa0
mov eax, dword [ebp - 0x38]
cmp eax, ebx
lea edi, [eax - 1]
je 0x40af97
mov ecx, esi
call fcn.00416d10
add esi, 8
mov eax, edi
dec edi
test eax, eax
jne 0x40af83
mov esi, dword [ebp - 0x3c]
push esi
call fcn.00433020
add esp, 4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret