Function at 0x41f7a7
Capabilities:
Create directory
Delete file

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x9b8
push ebx
push esi
push edi
mov esi, ecx
push 0x4975e4
mov dword [ebp + 0x1c], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call fcn.0040a7ae
push 0x104
lea eax, [ebp - 0x944]
push eax
push 0x2711
xor ebx, ebx
push ebx
call fcn.004277c3
add esp, 0x10
lea ecx, [ebp + 0x20]
mov dword [ebp - 0x38], eax
mov dword [0x496e28], ebx
mov dword [0x496e2c], ebx
mov dword [ebp + 0x30], 0x80000000
call fcn.0042c809
push 0x484474
lea ecx, [ebp + 4]
mov dword [ebp - 0x10], ebx
call fcn.004365ba
lea eax, [ebp - 0x40]
mov dword [ebp - 0x34], eax
lea eax, [ebp + 4]
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x30], esi
mov dword [0x496e1c], eax
mov byte [0x496e20], bl
mov dword [0x496e24], ebx
call fcn.0040bbb1
mov ecx, 0x60000
cmp eax, ecx
sbb dl, dl
inc dl
cmp eax, ecx
mov dword [ebp - 0x48], eax
mov byte [ebp + 0x3b], dl
jb 0x41f859
cmp eax, 0x6ffff
mov byte [ebp + 0x5d], 1
jbe 0x41f85c
mov byte [ebp + 0x5d], bl
lea ecx, [ebp + 0x58]
mov byte [ebp + 0x43], bl
mov byte [0x496e38], bl
call fcn.0042c809
push 7
pop ecx
xor eax, eax
mov esi, str._SystemRoot__
lea edi, [ebp - 0x70]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0x1c]
lea edi, [ebp - 0x54]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 1
stosd dword es:[edi], eax
push ebx
lea eax, [ebp + 0x58]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.0043c527
push dword [ebp + 0x58]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x24], eax
add eax, 0x1e
push eax
lea ecx, [ebp + 0x58]
call fcn.0042c850
cmp byte [ebp + 0x5d], bl
jl 0x41f8e5
push dword [ebp + 0x58]
lea ecx, [ebp + 0x24]
call fcn.004365ba
push str.System32Drvload.exe
lea ecx, [ebp + 0x24]
call fcn.0042c877
push dword [ebp + 0x24]
call fcn.0046c682
neg eax
sbb al, al
pop ecx
lea ecx, [ebp + 0x24]
and eax, 3
mov byte [ebp + 0x5d], al
call fcn.00427365
mov al, byte [ebp + 0x5d]
mov byte [ebp + 0x14], al
mov dword [ebp + 0x60], 1
mov byte [ebp + 0x6c], bl
inc byte [ebp + 0x6c]
push 2
pop edi
push dword [ebp + 0x7c]
lea ecx, [ebp - 0x10]
mov byte [0x496e21], bl
call fcn.0043667e
mov eax, dword [ebp - 0x10]
lea ecx, [ebp + 0x70]
mov dword [ebp + 0x70], eax
mov byte [ebp + 0x6e], bl
mov dword [0x496e34], ebx
mov dword [0x496e24], ebx
mov byte [ebp + 0xf], 2
call fcn.00409fda
push 8
push dword [ebp + 0x70]
xor esi, esi
push str.listdev:
mov byte [ebp + 0x3a], bl
mov byte [ebp + 0x5f], 2
mov byte [ebp + 0x6f], bl
mov byte [ebp + 0x5e], bl
mov byte [ebp + 0x6b], bl
mov byte [0x496e39], bl
mov dword [ebp + 0x44], esi
mov dword [ebp + 0x24], ebx
call fcn.00428263
add esp, 0xc
test al, al
je 0x41f9b0
mov ecx, dword [ebp + 0x70]
add ecx, 0x10
xor eax, eax
mov dword [ebp + 0x70], ecx
mov ax, word [ecx]
cmp ax, bx
mov byte [ebp + 0x6f], 0x10
je 0x41f984
call fcn.00402a89
test al, al
jne 0x41f984
mov dword [ebp + 0x24], ecx
lea eax, [ebp + 0x70]
push eax
call fcn.00403c83
mov eax, dword [ebp + 0x70]
cmp word [eax], bx
pop ecx
je 0x41f99c
mov word [eax], bx
add dword [ebp + 0x70], edi
lea ecx, [ebp + 0x70]
call fcn.00409fda
mov eax, dword [ebp + 0x24]
cmp word [eax], bx
je 0x42093a
mov eax, dword [ebp + 0x70]
cmp word [eax], 0x2a
mov byte [ebp + 0x6d], 0xff
mov dword [ebp + 8], ebx
jne 0x41fe11
push 8
lea eax, [ebp + 0x70]
push eax
push str.extract
call fcn.0042e2da
add esp, 0xc
test al, al
je 0x41f9e8
mov byte [ebp + 0x6b], 1
mov byte [ebp + 0x5f], 1
jmp 0x41fdf8
push 8
lea eax, [ebp + 0x70]
push eax
push 0x484408
call fcn.0042e2da
add esp, 0xc
test al, al
je 0x41fa0b
mov byte [0x496e39], 1
jmp 0x41fdf8
push 7
lea eax, [ebp + 0x70]
push eax
push 0x484400
call fcn.0042e2da
add esp, 0xc
test al, al
je 0x41fa2b
mov byte [ebp + 0x5e], 1
jmp 0x41fdf8
push 9
lea eax, [ebp + 0x70]
push eax
push str.norescan
call fcn.0042e2da
add esp, 0xc
test al, al
je 0x41fa4b
mov byte [ebp + 0x5e], 0xff
jmp 0x41fdf8
push 6
lea eax, [ebp + 0x70]
push eax
push str.dummy
call fcn.0042e2da
add esp, 0xc
test al, al
je 0x41fa6e
mov byte [0x496e20], 1
jmp 0x41fdf8
push 4
lea eax, [ebp + 0x70]
push eax
push str.sub
call fcn.0042e2da
add esp, 0xc
test al, al
je 0x41fa8e
mov byte [ebp + 0x3a], 1
jmp 0x41fdf8
push 5
lea eax, [ebp + 0x70]
push eax
push str.self
call fcn.0042e2da
add esp, 0xc
test al, al
je 0x41faae
mov byte [ebp + 0x3a], 2
jmp 0x41fdf8
push 4
lea eax, [ebp + 0x70]
push eax
push str.7pe
call fcn.0042e2da
add esp, 0xc
test al, al
je 0x41face
mov byte [ebp + 0x14], 3
jmp 0x41fdf8
push 8
lea eax, [ebp + 0x70]
push eax
push str.drvload
call fcn.0042e2da
add esp, 0xc
test al, al
je 0x41faf0
mov al, byte [ebp + 0x5d]
mov byte [ebp + 0x14], al
jmp 0x41fdf8
push 6
lea eax, [ebp + 0x70]
push eax
push str.inner
call fcn.0042e2da
add esp, 0xc
test al, al
je 0x41fb10
mov byte [ebp + 0x14], 0xc0
jmp 0x41fdf8
push 9
lea eax, [ebp + 0x70]
push eax
push str.nnverify
call fcn.0042e2da
add esp, 0xc
test al, al
jne 0x41f9df
push 8
lea eax, [ebp + 0x70]
push eax
push str.rverify
call fcn.0042e2da
add esp, 0xc
test al, al
je 0x41fb4a
mov byte [ebp + 0x5f], bl
jmp 0x41fdf8
push 0xa
lea eax, [ebp + 0x70]
push eax
push str.listdevi
call fcn.0042e2da
add esp, 0xc
test al, al
je 0x41fb70
mov al, byte [ebp + 0x6f]
and al, 0xf2
or al, 2
mov byte [ebp + 0x6f], al
jmp 0x41fdf8
push 0xa
lea eax, [ebp + 0x70]
push eax
push str.listdevc
call fcn.0042e2da
add esp, 0xc
test al, al
je 0x41fb90
mov al, byte [ebp + 0x6f]
and al, 0xf4
or al, 4
jmp 0x41fb68
push 4
lea eax, [ebp + 0x70]
push eax
push 0x484388
call fcn.0042e2da
add esp, 0xc
test al, al
je 0x41fbb0
or byte [ebp + 0x6f], 0x20
jmp 0x41fdf8
push 0xa
lea eax, [ebp + 0x70]
push eax
push 0x48437d
call fcn.0042e2da
add esp, 0xc
test al, al
je 0x41fbd0
mov byte [ebp + 0x6e], 1
jmp 0x41fdf8
push 0xb
lea eax, [ebp + 0x70]
push eax
push str.disverify
call fcn.0042e2da
add esp, 0xc
test al, al
je 0x41fbf0
mov byte [ebp + 0x6e], 3
jmp 0x41fdf8
push 7
push dword [ebp + 0x70]
push str.retid:
call fcn.00428263
add esp, 0xc
test al, al
je 0x41fc52
mov ecx, dword [ebp + 0x70]
add ecx, 0xe
xor eax, eax
mov dword [ebp + 0x70], ecx
mov ax, word [ecx]
cmp ax, bx
je 0x41fc2d
call fcn.00402a89
test al, al
jne 0x41fc2d
lea eax, [ebp + 4]
mov dword [ebp - 0x40], ecx
mov dword [0x496e1c], eax
lea eax, [ebp + 0x70]
push eax
call fcn.00403c83
mov eax, dword [ebp + 0x70]
cmp word [eax], bx
pop ecx
je 0x41fc45
mov word [eax], bx
add dword [ebp + 0x70], edi
lea ecx, [ebp + 0x70]
call fcn.00409fda
jmp 0x41fdf8
push 0xa
push dword [ebp + 0x70]
push str.DevClass:
call fcn.00428263
add esp, 0xc
test al, al
je 0x41fc8c
mov ecx, dword [ebp + 0x70]
add ecx, 0x14
xor eax, eax
mov dword [ebp + 0x70], ecx
mov ax, word [ecx]
cmp ax, bx
je 0x41fc2d
call fcn.00402a89
test al, al
jne 0x41fc2d
mov dword [0x496e24], ecx
jmp 0x41fc2d
push 7
push dword [ebp + 0x70]
push str.DevID:
call fcn.00428263
add esp, 0xc
test al, al
je 0x41fd10
add dword [ebp + 0x70], 0xe
mov eax, dword [ebp + 0x70]
movzx eax, word [eax]
cmp ax, bx
je 0x41fcbd
call fcn.00402a89
test al, al
jne 0x41fcbd
mov esi, dword [ebp + 0x70]
lea eax, [ebp + 0x70]
push eax
call fcn.00403c83
mov eax, dword [ebp + 0x70]
cmp word [eax], bx
pop ecx
je 0x41fcd5
mov word [eax], bx
add dword [ebp + 0x70], edi
lea ecx, [ebp + 0x70]
call fcn.00409fda
cmp esi, ebx
je 0x41fdf8
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, ebx
jle 0x41fd09
cmp word [esi + eax*2 - 2], 0x26
jne 0x41fd01
mov word [esi + eax*2], bx
dec eax
cmp eax, ebx
jg 0x41fcf0
cmp eax, ebx
jg 0x41fdf8
xor esi, esi
jmp 0x41fdf8
push 7
push dword [ebp + 0x70]
push str.DevID:
call fcn.00428263
add esp, 0xc
test al, al
je 0x41fd8a
add dword [ebp + 0x70], 0xe
mov eax, dword [ebp + 0x70]
movzx eax, word [eax]
cmp ax, bx
je 0x41fd41
call fcn.00402a89
test al, al
jne 0x41fd41
mov esi, dword [ebp + 0x70]
lea eax, [ebp + 0x70]
push eax
call fcn.00403c83
mov eax, dword [ebp + 0x70]
cmp word [eax], bx
pop ecx
je 0x41fd59
mov word [eax], bx
add dword [ebp + 0x70], edi
lea ecx, [ebp + 0x70]
call fcn.00409fda
cmp esi, ebx
je 0x41fdf8
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, ebx
jle 0x41fd09
cmp word [esi + eax*2 - 2], 0x26
jne 0x41fd01
mov word [esi + eax*2], bx
dec eax
cmp eax, ebx
jg 0x41fd74
jmp 0x41fd01
push 9
push dword [ebp + 0x70]
push str.disable:
call fcn.00428263
add esp, 0xc
test al, al
je 0x41fda8
add dword [ebp + 0x70], edi
mov byte [ebp + 0x6d], bl
jmp 0x41fdc2
push 8
push dword [ebp + 0x70]
push str.enable:
call fcn.00428263
add esp, 0xc
test al, al
je 0x41fdee
mov byte [ebp + 0x6d], 1
mov ecx, dword [ebp + 0x70]
add ecx, 0x10
xor eax, eax
mov dword [ebp + 0x70], ecx
mov ax, word [ecx]
cmp ax, bx
je 0x41fc2d
call fcn.00402a89
test al, al
jne 0x41fc2d
mov dword [ebp + 8], ecx
jmp 0x41fc2d
lea eax, [ebp + 0x70]
push eax
call fcn.00403cc8
pop ecx
mov eax, dword [ebp + 0x70]
cmp word [eax], 0x2a
je 0x41f9c4
cmp byte [ebp + 0x6e], bl
mov dword [ebp + 0x44], esi
jne 0x420984
cmp byte [ebp + 0x14], bl
setl al
dec al
and eax, dword [ebp + 0x14]
or byte [ebp + 0x3b], al
mov byte [0x496e38], al
mov al, byte [ebp + 0x6f]
and al, 0x10
mov byte [ebp + 0x6e], al
je 0x41fe37
cmp dword [ebp + 0x24], ebx
je 0x420998
cmp byte [ebp + 0x6d], bl
jl 0x41fe45
cmp dword [ebp + 8], ebx
jne 0x4209a4
cmp dword [ebp + 0x44], ebx
push 0x200010
setne al
lea ecx, [ebp + 0x3c]
mov byte [0x496e21], al
call fcn.0042c6b0
mov eax, dword [ebp + 0x3c]
push 8
add eax, 0x200000
push ebx
push eax
call fcn.0046c9b0
mov eax, dword [ebp + 0x3c]
lea esi, [eax + 2]
mov word [esi + 2], bx
mov word [esi], bx
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0x64], 0x1c
mov dword [ebp - 0x60], ebx
lea edi, [ebp - 0x5c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
cmp byte [ebp + 0x6e], bl
mov dword [ebp - 0x2c], esi
stosd dword es:[edi], eax
jne 0x41feab
cmp byte [ebp + 0x5f], 1
je 0x41feab
lea ecx, [ebp + 0x30]
call fcn.0040bd28
cmp byte [ebp + 0x5f], 2
jne 0x41feb4
mov dword [ebp + 0x30], ebx
mov eax, dword [ebp + 0x70]
xor ecx, ecx
cmp word [eax], 0x24
mov dword [ebp + 0x10], ebx
sete cl
cmp ecx, ebx
mov dword [ebp + 0x34], ecx
je 0x41feda
jmp 0x41fecf
inc dword [ebp + 0x10]
inc eax
inc eax
mov dword [ebp + 0x70], eax
cmp word [eax], 0x24
je 0x41fecc
lea ecx, [ebp + 0x70]
call fcn.00409fda
mov edi, dword [sym.imp.SHLWAPI.dll_StrChrW]
push 0x2c
push dword [ebp + 0x70]
call edi
cmp eax, ebx
mov dword [ebp + 0x50], eax
mov dword [ebp + 0x64], ebx
mov dword [ebp + 0x4c], ebx
je 0x41ff31
add dword [ebp + 0x50], 2
lea ecx, [ebp + 0x50]
mov word [eax], bx
call fcn.00409fda
push 0x2c
push dword [ebp + 0x50]
call edi
cmp eax, ebx
mov dword [ebp + 0x64], eax
je 0x41ff28
add dword [ebp + 0x64], 2
lea ecx, [ebp + 0x64]
mov word [eax], bx
call fcn.00409fda
push dword [ebp + 0x50]
call fcn.0040b35a
pop ecx
push dword [ebp + 0x70]
call fcn.0040b35a
cmp dword [ebp + 0x64], ebx
pop ecx
je 0x41ff6f
push 0x2c
push dword [ebp + 0x64]
call edi
cmp eax, ebx
mov dword [ebp + 0x4c], eax
je 0x41ff66
mov word [eax], bx
inc eax
inc eax
lea ecx, [ebp + 0x4c]
mov dword [ebp + 0x4c], eax
call fcn.00409fda
push dword [ebp + 0x4c]
call fcn.0040b35a
pop ecx
push dword [ebp + 0x64]
call fcn.0040b35a
pop ecx
push dword [ebp + 0x70]
call fcn.0046c4f9
pop ecx
push dword [ebp + 0x70]
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
cmp edi, 4
jle 0x41ffa9
mov eax, dword [ebp + 0x70]
lea eax, [eax + edi*2 - 8]
push str..INF
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
mov dword [ebp + 0x28], 1
je 0x41ffac
mov dword [ebp + 0x28], ebx
cmp dword [ebp - 0x20], ebx
jne 0x41ffbf
cmp dword [ebp + 0x28], ebx
je 0x41ffbf
mov dword [ebp + 0x48], 1
jmp 0x41ffc7
cmp dword [ebp - 0x20], ebx
mov dword [ebp + 0x48], ebx
jne 0x41ffea
cmp edi, 4
jle 0x41ffea
mov eax, dword [ebp + 0x70]
lea eax, [eax + edi*2 - 8]
push str..CAB
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
mov dword [ebp + 8], 1
je 0x41ffed
mov dword [ebp + 8], ebx
cmp dword [ebp + 0x10], 1
je 0x420011
cmp dword [ebp + 0x28], ebx
je 0x420002
cmp dword [ebp + 0x34], ebx
je 0x420002
cmp dword [ebp + 0x64], ebx
jne 0x420011
cmp dword [ebp + 0x48], ebx
je 0x42000c
cmp dword [ebp + 0x34], ebx
jne 0x420011
mov byte [ebp + 0x6d], bl
jmp 0x420015
mov byte [ebp + 0x6d], 1
cmp dword [ebp + 8], ebx
je 0x420046
mov eax, dword [ebp + 0x50]
cmp eax, ebx
je 0x420046
or dword [ebp + 0x28], 0xffffffff
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0x28]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.0042f0d0
mov eax, dword [ebp + 0x28]
cmp eax, ebx
pop ecx
pop ecx
jle 0x420046
cmp eax, 0x14
jge 0x420046
mov byte [ebp + 0xf], al
cmp byte [ebp + 0x6c], 1
jne 0x420093
movsx eax, byte [ebp + 0x5e]
push eax
movsx eax, byte [0x496e39]
push eax
push dword [ebp + 0x34]
movsx eax, byte [0x496e38]
push dword [ebp + 0x48]
push eax
push dword [ebp - 0x48]
lea eax, [ebp - 0x428]
push str.Ver_lX_bNt6_d_bINF_d_bInstall_d_notcheck_d_rescan_d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x428]
push eax
push 0x4842b0
push dword [ebp + 0x1c]
call fcn.0040b4f8
add esp, 0x2c
cmp byte [ebp + 0x5e], bl
jg 0x4200c4
cmp byte [ebp + 0x6f], bl
jne 0x42013b
cmp byte [ebp + 0x5e], bl
jl 0x42012f
cmp byte [0x496e38], bl
je 0x42012f
cmp dword [ebp + 0x48], ebx
jne 0x4200bc
cmp dword [ebp + 0x34], ebx
je 0x42012f
cmp byte [0x496e39], bl
jne 0x42012f
cmp byte [ebp + 0x6c], 1
jne 0x4200df
push 0x480934
push 0x484298
push dword [ebp + 0x1c]
call fcn.0040b4f8
add esp, 0xc
push ebx
push ebx
lea eax, [ebp + 0x28]
push eax
mov dword [ebp + 0x28], ebx
call dword [sym.imp.SETUPAPI.dll_CM_Locate_DevNodeW]
mov edi, 0x496eb8
push 5
mov ecx, edi
mov dword [ebp - 0xc], eax
call fcn.0040b816
mov ecx, edi
push 5
call fcn.0040b816
cmp dword [ebp - 0xc], ebx
jne 0x420120
push ebx
push dword [ebp + 0x28]
call dword [sym.imp.SETUPAPI.dll_CM_Reenumerate_DevNode]
mov ecx, edi
push 5
call fcn.0040b816
mov ecx, dword [ebp + 0x1c]
push 0x32
call fcn.0040b816
cmp byte [ebp + 0x6f], bl
jne 0x42013b
mov eax, dword [ebp + 0x70]
cmp word [eax], bx
je 0x420a14
lea ecx, [ebp + 0x2c]
call fcn.0042c809
push dword [ebp + 0x70]
call fcn.0040d003
push ebx
lea ecx, [ebp + 0x2c]
push ecx
push eax
mov dword [ebp + 0x70], eax
call fcn.004350b7
mov dword [ebp + 0x70], eax
add esp, 0x10
xor eax, eax
cmp byte [ebp + 0x6f], bl
je 0x42016f
test byte [ebp + 0x6f], 0x20
jne 0x42016f
push 2
pop eax
or eax, 4
push eax
push ebx
push ebx
push ebx
call dword [0x496d98]
cmp eax, 0xffffffff
mov dword [ebp + 0x10], eax
jne 0x420190
cmp dword [ebp + 0x48], ebx
mov dword [ebp + 0x10], ebx
je 0x420a1c
test byte [ebp + 0x6f], 4
push 0
pop eax
setne al
inc eax
cmp dword [ebp + 0x48], ebx
mov dword [ebp - 0x3c], eax
jne 0x4201ab
cmp byte [ebp + 0x6d], bl
mov dword [ebp + 0x28], ebx
je 0x4201b2
mov dword [ebp + 0x28], 1
lea ecx, [ebp + 0x54]
call fcn.0042c809
push 0x3f
xor eax, eax
pop ecx
mov word [ebp - 0x298], bx
lea edi, [ebp - 0x296]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x3f
xor eax, eax
cmp byte [ebp + 0x6b], bl
mov word [ebp - 0x198], bx
pop ecx
lea edi, [ebp - 0x196]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [ebp - 0x64], 0x1c
jne 0x4203da
cmp dword [ebp + 0x10], ebx
je 0x4203da
mov eax, esi
sub eax, dword [ebp - 8]
mov dword [ebp + 0x48], ebx
cmp eax, 0x200000
jge 0x4203da
push 0x1c
pop edi
lea eax, [ebp - 0x64]
push eax
push dword [ebp + 0x48]
push dword [ebp + 0x10]
call dword [0x496dac]
test eax, eax
je 0x4203da
cmp byte [ebp + 0x6f], bl
je 0x4202d3
cmp dword [0x496e24], ebx
je 0x420270
push ebx
push 0x80
lea eax, [ebp - 0x298]
push eax
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.SETUPAPI.dll_SetupDiClassNameFromGuidW]
push dword [0x496e24]
lea eax, [ebp - 0x298]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4203c7
test byte [ebp + 0x6f], 2
je 0x4202d3
push ebx
push 0x80
lea eax, [ebp - 0x198]
push eax
lea eax, [ebp - 0x64]
push eax
push dword [ebp + 0x10]
call dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInstanceIdW]
cmp byte [ebp + 0x6e], bl
je 0x4202b6
mov eax, dword [ebp + 0x54]
cmp word [eax], bx
je 0x4202aa
push 0x483110
lea ecx, [ebp + 0x54]
call fcn.0042c877
lea eax, [ebp - 0x198]
push eax
jmp 0x420350
cmp dword [ebp + 0x44], ebx
je 0x4202d3
lea eax, [ebp - 0x198]
push eax
push dword [ebp + 0x44]
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x4203c7
mov eax, dword [0x496dbc]
cmp eax, ebx
mov dword [ebp - 0x44], ebx
je 0x4202f7
push ebx
push dword [ebp - 0x50]
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0xc]
push ecx
mov dword [ebp - 0x64], edi
mov dword [ebp - 0xc], 0x400
call eax
mov eax, dword [ebp - 8]
sub eax, esi
add eax, 0x200000
mov ecx, 0x800
cmp eax, ecx
mov word [esi + 2], bx
mov word [esi], bx
jle 0x420313
mov eax, ecx
push ebx
push eax
push esi
push ebx
push dword [ebp - 0x3c]
lea eax, [ebp - 0x64]
push eax
push dword [ebp + 0x10]
mov dword [ebp - 0x64], edi
call dword [0x496d9c]
cmp eax, ebx
mov dword [ebp - 0x64], edi
je 0x4203c7
cmp byte [ebp + 0x6e], bl
je 0x42035a
mov eax, dword [ebp + 0x54]
cmp word [eax], bx
je 0x42034f
push 0x483110
lea ecx, [ebp + 0x54]
call fcn.0042c877
push esi
lea ecx, [ebp + 0x54]
call fcn.0042c877
jmp 0x4203c7
push 4
push str.ACPI
push esi
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
je 0x4203c7
cmp byte [ebp + 0x6c], 1
jne 0x420384
push esi
push dword [ebp + 0x48]
push dword [ebp - 0x38]
push dword [ebp + 0x1c]
call fcn.0040b4f8
add esp, 0x10
xor ecx, ecx
xor edx, edx
xor eax, eax
mov ax, word [esi]
jmp 0x4203a6
cmp ax, 0x26
jne 0x42039e
movsx eax, byte [ebp + 0xf]
inc edx
cmp edx, eax
jge 0x4203ab
inc ecx
movzx eax, cx
mov ax, word [esi + eax*2]
cmp ax, bx
jne 0x42038f
movzx eax, cx
mov word [esi - 2], cx
lea esi, [esi + eax*2]
jmp 0x4203b9
inc esi
inc esi
cmp word [esi], bx
jne 0x4203b7
add esi, 4
test byte [ebp + 0x6f], 2
jne 0x4203da
inc dword [ebp + 0x48]
mov eax, esi
sub eax, dword [ebp - 8]
cmp eax, 0x200000
jl 0x420215
cmp byte [ebp + 0x6e], bl
jne 0x420a28
cmp dword [ebp + 0x28], ebx
je 0x4203f7
test byte [ebp + 0x6f], 2
je 0x4203f7
mov dword [ebp - 0xc], 1
jmp 0x420434
cmp dword [ebp + 0x44], ebx
mov dword [ebp - 0xc], ebx
je 0x420434
push dword [ebp + 0x44]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, dword [ebp - 0x2c]
mov esi, eax
mov eax, dword [ebp - 8]
mov word [eax], si
lea eax, [esi + 1]
push eax
push dword [ebp + 0x44]
push edi
call fcn.00403c6b
lea esi, [edi + esi*2 + 2]
mov word [esi], bx
add esp, 0xc
inc esi
inc esi
mov word [esi + 4], bx
mov word [esi + 2], bx
push dword [ebp + 0x10]
mov word [esi - 2], bx
call dword [0x496da0]
cmp byte [ebp + 0x6b], bl
jne 0x42045b
push 0x480934
push 0x483110
push dword [ebp + 0x1c]
call fcn.0040b4f8
add esp, 0xc
mov eax, dword [ebp + 0x58]
mov edi, dword [ebp - 0x24]
push 8
mov esi, 0x484284
lea eax, [eax + edi*2]
push esi
push eax
call fcn.0046cbf0
add esp, 0xc
cmp dword [ebp + 0x28], ebx
jne 0x420a3e
cmp dword [ebp + 0x10], ebx
je 0x420e21
cmp byte [ebp + 0x6b], bl
jne 0x4204aa
mov esi, dword [ebp - 8]
cmp word [esi], bx
je 0x420e2d
cmp dword [ebp - 0x20], ebx
jne 0x420e39
cmp dword [ebp + 8], ebx
je 0x420e39
mov esi, dword [ebp + 0x64]
cmp esi, ebx
mov dword [ebp - 0x14], ebx
je 0x4204ea
cmp word [esi], bx
je 0x4204ea
push esi
lea ecx, [ebp - 0x14]
call fcn.0043667e
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [esi + eax*2 - 2], 0x5c
je 0x4204e0
push 0x480bd8
lea ecx, [ebp - 0x14]
call fcn.0042c877
mov eax, dword [ebp - 0x14]
mov dword [0x496e30], eax
jmp 0x4204ef
mov eax, dword [0x496e30]
cmp byte [0x496e38], bl
je 0x420581
cmp dword [ebp + 0x34], ebx
je 0x420561
cmp eax, ebx
jne 0x420561
mov esi, str._TEMP__
lea edi, [ebp - 0x98]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 6
pop ecx
xor eax, eax
lea edi, [ebp - 0x88]
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x1c]
call fcn.0042c809
mov ecx, dword [ebp + 0x1c]
push 1
push ebx
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.0043c527
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp + 0x20]
mov dword [0x496e30], eax
call fcn.0041929d
lea ecx, [ebp - 0x1c]
mov dword [0x496e30], eax
call fcn.00427365
mov eax, dword [0x496e30]
cmp byte [0x496e38], bl
je 0x420581
cmp byte [ebp + 0x6b], bl
jne 0x420581
cmp eax, ebx
je 0x420581
cmp byte [0x496e39], bl
jne 0x420581
mov dword [ebp + 0x34], 1
cmp byte [ebp + 0x43], bl
je 0x42058d
xor eax, eax
mov dword [0x496e30], eax
cmp byte [0x496e39], bl
je 0x4205a1
cmp eax, ebx
je 0x4205a1
cmp dword [ebp + 0x4c], ebx
je 0x4205a1
mov dword [ebp + 0x34], ebx
mov ecx, dword [ebp - 0x24]
neg eax
sbb eax, eax
and eax, 0xfffffffd
add eax, 3
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0x58]
push 0xa
lea eax, [eax + ecx*2]
push str.INF_
push eax
call fcn.0046cbf0
add esp, 0xc
push 0x1040
lea ecx, [ebp - 0x28]
call fcn.0042c827
xor eax, eax
mov dword [ebp - 0x738], ebx
mov ecx, 0x93
lea edi, [ebp - 0x734]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x738]
push eax
push dword [ebp + 0x70]
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], ebx
call fcn.0046c5e2
add esp, 0xc
cmp dword [ebp - 0x18], ebx
je 0x420e9c
push dword [ebp + 0x70]
lea ecx, [ebp - 4]
call fcn.004365ba
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x70]
call fcn.0043bbf4
pop ecx
pop ecx
push 0x480bd8
lea ecx, [ebp - 4]
call fcn.0042c877
push str.DefaultInstall_132
lea ecx, [ebp]
call fcn.004365ba
push dword [ebp]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
call esi
push dword [ebp - 4]
mov dword [ebp - 0x20], eax
call esi
cmp dword [ebp + 0x34], ebx
mov ecx, eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x2c], ecx
mov word [eax + ecx*2], bx
jne 0x420670
cmp byte [ebp + 0x6b], bl
jne 0x420670
mov dword [ebp + 0x44], 1
jmp 0x420678
mov dword [ebp + 0x44], ebx
jmp 0x420678
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
mov word [eax], bx
test byte [ebp - 0x738], 0x10
mov dword [0x496dc4], eax
mov dword [0x496e34], ebx
jne 0x420888
mov eax, dword [ebp - 4]
mov word [eax + ecx*2], bx
lea eax, [ebp - 0x70c]
push eax
lea ecx, [ebp - 4]
call fcn.0042c877
push dword [ebp - 8]
push 0x4190fe
push ebx
push dword [ebp - 4]
call dword [0x496db0]
cmp dword [ebp + 0x34], ebx
je 0x420783
mov edi, dword [ebp - 0x28]
cmp edi, dword [0x496dc4]
jae 0x42077a
push edi
mov esi, edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp byte [ebp + 0x6c], 1
lea edi, [edi + eax*2 + 2]
jle 0x4206f7
push 0xffffffffffffffff
mov eax, esi
call fcn.0040b9e0
test eax, eax
pop ecx
jne 0x42076a
cmp byte [0x496e38], 3
mov dword [ebp + 0x50], 4
je 0x420725
push dword [ebp + 8]
or dword [ebp + 0x50], 2
push edi
push esi
call fcn.0040ba5f
add esp, 0xc
cmp eax, ebx
mov dword [ebp + 0x44], eax
je 0x42076a
test byte [ebp + 0x50], 1
jne 0x42073f
or dword [ebp + 0x50], 1
push esi
push edi
call fcn.0040bbfb
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp + 0x44], eax
je 0x42076a
test byte [ebp + 0x50], 2
je 0x420707
test byte [ebp + 0x50], 4
jne 0x42076a
mov eax, dword [ebp]
mov ecx, dword [ebp - 0x20]
mov word [eax + ecx*2], bx
push edi
lea ecx, [ebp]
call fcn.0042c877
push 0x100000
push dword [ebp]
push ebx
push ebx
call fcn.0040bce0
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [edi + eax*2 + 2]
jmp 0x4206ca
cmp dword [ebp + 0x34], ebx
jne 0x420888
cmp byte [0x496e39], bl
je 0x420888
cmp dword [ebp + 0x4c], ebx
je 0x420888
mov eax, dword [0x496e30]
cmp eax, ebx
je 0x420888
push eax
lea ecx, [ebp + 0x18]
call fcn.004365ba
push dword [ebp + 0x4c]
lea ecx, [ebp + 0x18]
call fcn.0042c877
push dword [ebp + 0x18]
push 0x484220
push dword [ebp + 0x1c]
call fcn.0040b4f8
push dword [ebp + 0x18]
push dword [ebp - 8]
call fcn.00418d17
mov edi, eax
add esp, 0x14
cmp edi, ebx
mov esi, edi
jne 0x4207e4
mov esi, 0x480934
cmp byte [0x496e38], 3
mov dword [ebp + 0x64], 4
je 0x420826
or dword [ebp + 0x64], 2
cmp edi, ebx
je 0x42080e
push dword [ebp + 8]
push dword [ebp + 0x18]
push edi
call fcn.0040ba5f
add esp, 0xc
mov dword [ebp + 0x44], eax
inc dword [ebp + 0x64]
cmp dword [ebp + 0x64], 2
jge 0x420879
cmp edi, ebx
je 0x420820
cmp dword [ebp + 0x44], ebx
je 0x420879
test byte [ebp + 0x64], 2
jne 0x42084c
push esi
push dword [ebp + 0x18]
call fcn.0040bbfb
mov dword [ebp + 0x44], eax
mov eax, dword [ebp + 0x64]
or eax, 1
inc eax
cmp eax, 2
pop ecx
pop ecx
mov dword [ebp + 0x64], eax
jge 0x420879
cmp dword [ebp + 0x44], ebx
je 0x420879
test al, 2
je 0x4207f4
test byte [ebp + 0x64], 4
jne 0x420879
mov eax, dword [ebp]
mov ecx, dword [ebp - 0x20]
mov word [eax + ecx*2], bx
push dword [ebp + 0x18]
lea ecx, [ebp]
call fcn.0042c877
push 0x100000
push dword [ebp]
push ebx
push ebx
call fcn.0040bce0
add esp, 0x10
cmp edi, ebx
je 0x420880
mov word [edi], bx
lea ecx, [ebp + 0x18]
call fcn.00427365
lea eax, [ebp - 0x738]
push eax
lea ecx, [ebp - 0x18]
call fcn.00403d5a
test eax, eax
jne 0x420675
lea ecx, [ebp - 0x18]
call fcn.00402a40
cmp dword [ebp + 0x44], ebx
mov eax, dword [ebp + 4]
mov word [eax], 0x5f
jne 0x4208b7
mov dword [ebp + 0x60], ebx
cmp dword [ebp + 0x34], ebx
je 0x420ea5
cmp dword [0x496e30], ebx
je 0x420ea5
cmp byte [0x496e38], 1
jne 0x420ea5
cmp byte [ebp + 0x43], bl
jne 0x420ea5
cmp dword [ebp + 0x4c], ebx
jne 0x420ea5
lea ecx, [ebp]
mov dword [0x496e30], ebx
mov byte [ebp + 0x43], 1
call fcn.00427365
lea ecx, [ebp - 4]
call fcn.00427365
lea ecx, [ebp - 0x18]
call fcn.00402a40
lea ecx, [ebp - 0x28]
call fcn.00427365
lea ecx, [ebp - 0x14]
call fcn.00427365
lea ecx, [ebp + 0x54]
call fcn.00427365
lea ecx, [ebp + 0x2c]
call fcn.00427365
lea ecx, [ebp + 0x3c]
call fcn.00427365
jmp 0x41f8f5
lea ecx, [ebp + 0x58]
call fcn.00427365
lea ecx, [ebp - 0x34]
call fcn.0040bd3e
lea ecx, [ebp + 4]
call fcn.00427365
lea ecx, [ebp - 0x10]
call fcn.00427365
lea ecx, [ebp + 0x20]
call fcn.0041f5fb
lea ecx, [ebp + 0x20]
call fcn.00427365
cmp dword [ebp + 0x30], ebx
jle 0x42097a
push ebx
push dword [ebp + 0x30]
call fcn.0042b367
pop ecx
pop ecx
mov ebx, 0x80070057
jmp 0x420f4c
xor eax, eax
mov al, byte [ebp + 0x6e]
and eax, edi
shr eax, 1
push eax
push ebx
call fcn.0042b367
pop ecx
pop ecx
jmp 0x4209cb
mov dword [ebp + 0x60], 0x80070057
jmp 0x420f00
push dword [ebp + 8]
lea ecx, [ebp + 0x7c]
call fcn.00409f32
push 0x100
push dword [eax]
movsx eax, byte [ebp + 0x6d]
push eax
call fcn.0042855d
add esp, 0xc
lea ecx, [ebp + 0x7c]
call fcn.00427365
lea ecx, [ebp + 0x58]
call fcn.00427365
lea ecx, [ebp - 0x34]
call fcn.0040bd3e
lea ecx, [ebp + 4]
call fcn.00427365
lea ecx, [ebp - 0x10]
call fcn.00427365
lea ecx, [ebp + 0x20]
call fcn.0041f5fb
lea ecx, [ebp + 0x20]
call fcn.00427365
cmp dword [ebp + 0x30], ebx
jle 0x420f4c
push ebx
push dword [ebp + 0x30]
call fcn.0042b367
pop ecx
pop ecx
jmp 0x420f4c
mov dword [ebp + 0x60], ebx
jmp 0x420ef8
mov dword [ebp + 0x60], 1
jmp 0x420ef0
push dword [ebp + 0x54]
mov ecx, dword [ebp + 0x1c]
push dword [ebp + 0x24]
call fcn.0042b2cd
mov dword [ebp + 0x60], ebx
jmp 0x420ee8
cmp dword [ebp + 0x34], ebx
mov dword [ebp + 0x18], ebx
jne 0x420ab8
mov eax, dword [ebp - 8]
cmp word [eax], bx
jne 0x420ab8
cmp byte [0x496e39], bl
jne 0x420ab8
lea ecx, [ebp + 0x54]
call fcn.00427365
lea ecx, [ebp + 0x2c]
call fcn.00427365
lea ecx, [ebp + 0x3c]
call fcn.00427365
lea ecx, [ebp + 0x58]
call fcn.00427365
lea ecx, [ebp - 0x34]
call fcn.0040bd3e
lea ecx, [ebp + 4]
call fcn.00427365
lea ecx, [ebp - 0x10]
call fcn.00427365
lea ecx, [ebp + 0x20]
call fcn.0041f5fb
lea ecx, [ebp + 0x20]
call fcn.00427365
cmp dword [ebp + 0x30], ebx
jle 0x420aae
push ebx
push dword [ebp + 0x30]
call fcn.0042b367
pop ecx
pop ecx
mov ebx, 0x491
jmp 0x420f4c
lea eax, [edi + 4]
mov dword [ebp - 0x1c], eax
add eax, 0x3c
push eax
lea ecx, [ebp + 0x24]
call fcn.0042c827
mov eax, dword [ebp + 0x58]
push 0x22
add edi, edi
add eax, edi
push str.System32DRIVERS
push eax
call fcn.0046cbf0
push dword [ebp + 0x58]
call fcn.0046c4f9
add esp, 0x10
test eax, eax
jne 0x420af7
push ebx
push dword [ebp + 0x58]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, dword [ebp + 0x58]
push 8
add eax, edi
push esi
push eax
call fcn.0046cbf0
push dword [ebp + 0x58]
call fcn.0046c4f9
add esp, 0x10
test eax, eax
jne 0x420b1e
push ebx
push dword [ebp + 0x58]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, dword [ebp + 0x58]
push 0xa
add eax, edi
push str.INF_
push eax
call fcn.0046cbf0
xor eax, eax
mov dword [ebp - 0x4e8], ebx
mov ecx, 0x93
lea edi, [ebp - 0x4e4]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x4e8]
push eax
push dword [ebp + 0x70]
lea eax, [ebp + 0x48]
push eax
mov dword [ebp + 0x48], ebx
call fcn.0046c5e2
add esp, 0x18
cmp dword [ebp + 0x48], ebx
jne 0x420b7a
lea ecx, [ebp + 0x48]
mov dword [ebp + 0x60], 2
call fcn.00402a40
lea ecx, [ebp + 0x24]
jmp 0x420ee3
push dword [ebp + 0x70]
lea ecx, [ebp + 0x60]
call fcn.004365ba
lea eax, [ebp + 0x60]
push eax
push dword [ebp + 0x70]
call fcn.0043bbf4
pop ecx
pop ecx
push 0x480bd8
lea ecx, [ebp + 0x60]
call fcn.0042c877
mov esi, dword [ebp + 0x64]
cmp esi, ebx
je 0x420bac
cmp word [esi], bx
jne 0x420bb1
mov esi, 0x4841f4
mov eax, dword [ebp + 0x50]
cmp eax, ebx
je 0x420bbd
cmp word [eax], bx
jne 0x420bc2
mov eax, 0x4841d4
push eax
lea ecx, [ebp + 0x4c]
call fcn.004365ba
mov edi, 0x48109c
push edi
lea ecx, [ebp + 0x4c]
call fcn.0042c877
push esi
lea ecx, [ebp + 0x4c]
call fcn.0042c877
push edi
lea ecx, [ebp + 0x4c]
call fcn.0042c877
push dword [ebp + 0x4c]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
call edi
push dword [ebp + 0x60]
mov dword [ebp - 0x38], eax
call edi
mov dword [ebp - 0x2c], eax
test byte [ebp - 0x4e8], 0x10
jne 0x420d8a
mov eax, dword [ebp + 0x60]
mov ecx, dword [ebp - 0x2c]
mov word [eax + ecx*2], bx
lea eax, [ebp - 0x4bc]
push eax
lea ecx, [ebp + 0x60]
call fcn.0042c877
mov esi, dword [ebp + 0x60]
lea ecx, [ebp + 0x14]
mov dword [ebp - 0x3c], esi
mov byte [ebp + 0x7f], bl
call fcn.0042c809
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x24], ebx
mov word [eax], bx
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp + 0x14]
push eax
push esi
call fcn.004350b7
mov dword [ebp + 0x70], eax
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp + 0x14]
add esp, 0xc
sar eax, 1
cmp dword [ebp - 0x1c], eax
jne 0x420c7b
push dword [ebp - 0x1c]
push dword [ebp + 0x14]
push dword [ebp + 0x58]
call fcn.004272cc
add esp, 0xc
test al, al
je 0x420c7b
mov byte [ebp + 0x7f], 1
cmp dword [ebp - 0xc], ebx
je 0x420c87
mov esi, dword [ebp + 0x44]
cmp esi, ebx
jne 0x420c96
push dword [ebp + 0x60]
push dword [ebp - 8]
call fcn.00418d17
pop ecx
pop ecx
mov esi, eax
cmp byte [0x496e39], bl
jne 0x420cb6
cmp dword [ebp + 0x34], ebx
jne 0x420cc9
cmp byte [ebp + 0x3b], bl
je 0x420cad
cmp byte [ebp + 0x7f], bl
jne 0x420cc9
cmp esi, ebx
jne 0x420cc9
jmp 0x420d82
push dword [ebp + 0x60]
push 0x484220
push dword [ebp + 0x1c]
call fcn.0040b4f8
add esp, 0xc
cmp esi, ebx
mov edi, esi
jne 0x420cd4
mov edi, 0x480934
cmp dword [ebp + 0x34], ebx
mov dword [ebp + 0x7c], 4
jne 0x420d2d
cmp byte [0x496e38], 3
je 0x420d0b
or dword [ebp + 0x7c], 2
cmp esi, ebx
je 0x420d05
push ebx
push dword [ebp + 0x60]
push esi
call fcn.0040ba5f
add esp, 0xc
cmp eax, ebx
mov dword [ebp + 0x18], eax
je 0x420d6c
test byte [ebp + 0x7c], 1
jne 0x420d27
or dword [ebp + 0x7c], 1
push edi
push dword [ebp + 0x60]
call fcn.0040bbfb
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp + 0x18], eax
je 0x420d6c
test byte [ebp + 0x7c], 2
je 0x420ce9
test byte [ebp + 0x7c], 4
jne 0x420d6c
cmp byte [0x496e20], bl
jne 0x420d6c
mov eax, dword [ebp + 0x4c]
mov ecx, dword [ebp - 0x38]
push dword [ebp - 0x3c]
mov word [eax + ecx*2], bx
lea ecx, [ebp + 0x4c]
call fcn.0042c877
push ebx
push dword [ebp + 0x4c]
push ebx
push ebx
call fcn.0040bce0
add esp, 0x10
cmp eax, ebx
mov dword [ebp + 0x18], eax
jne 0x420d6c
cmp dword [0x496e1c], ebx
je 0x420d6c
call fcn.0040ba03
cmp esi, ebx
je 0x420d73
mov word [esi], bx
mov eax, dword [ebp + 0x24]
cmp word [eax], bx
je 0x420d82
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp + 0x14]
call fcn.00427365
lea eax, [ebp - 0x4e8]
push eax
lea ecx, [ebp + 0x48]
call fcn.00403d5a
test eax, eax
jne 0x420c01
lea ecx, [ebp + 0x4c]
call fcn.00427365
lea ecx, [ebp + 0x60]
call fcn.00427365
lea ecx, [ebp + 0x48]
call fcn.00402a40
lea ecx, [ebp + 0x24]
call fcn.00427365
lea ecx, [ebp + 0x54]
call fcn.00427365
lea ecx, [ebp + 0x2c]
call fcn.00427365
lea ecx, [ebp + 0x3c]
call fcn.00427365
lea ecx, [ebp + 0x58]
call fcn.00427365
lea ecx, [ebp - 0x34]
call fcn.0040bd3e
lea ecx, [ebp + 4]
call fcn.00427365
lea ecx, [ebp - 0x10]
call fcn.00427365
lea ecx, [ebp + 0x20]
call fcn.0041f5fb
lea ecx, [ebp + 0x20]
call fcn.00427365
cmp dword [ebp + 0x30], ebx
jle 0x420e19
push ebx
push dword [ebp + 0x30]
call fcn.0042b367
pop ecx
pop ecx
mov ebx, dword [ebp + 0x18]
jmp 0x420f4c
mov dword [ebp + 0x60], 1
jmp 0x420ee8
mov dword [ebp + 0x60], 0x491
jmp 0x420ee8
push dword [ebp + 0x70]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, eax
dec ecx
cmp ecx, 1
jl 0x420e66
mov eax, dword [ebp + 0x70]
lea edx, [eax + ecx*2]
xor eax, eax
mov ax, word [edx]
push eax
call fcn.0040a050
add esp, 4
test al, al
je 0x420e66
mov word [edx], bx
dec ecx
cmp ecx, ebx
jge 0x420e73
mov dword [ebp + 0x60], 0x80070057
jmp 0x420ee8
mov ecx, dword [ebp + 0x50]
cmp ecx, ebx
je 0x420e81
cmp word [ecx], bx
jne 0x420e81
xor ecx, ecx
xor eax, eax
mov al, byte [ebp + 0x3a]
or eax, 0x10
push eax
push ecx
push esi
push dword [ebp + 0x70]
call fcn.00418e09
add esp, 0x10
mov dword [ebp + 0x60], eax
jmp 0x420ee8
mov dword [ebp + 0x60], 2
jmp 0x420ed0
push 0x480934
push 0x483110
push dword [ebp + 0x1c]
mov dword [0x496e30], ebx
call fcn.0040b4f8
add esp, 0xc
lea ecx, [ebp]
call fcn.00427365
lea ecx, [ebp - 4]
call fcn.00427365
lea ecx, [ebp - 0x18]
call fcn.00402a40
lea ecx, [ebp - 0x28]
call fcn.00427365
lea ecx, [ebp - 0x14]
call fcn.00427365
lea ecx, [ebp + 0x54]
call fcn.00427365
lea ecx, [ebp + 0x2c]
call fcn.00427365
lea ecx, [ebp + 0x3c]
call fcn.00427365
mov ecx, dword [ebp + 0x1c]
push ebx
call fcn.0044ba23
lea ecx, [ebp + 0x58]
call fcn.00427365
lea ecx, [ebp - 0x34]
call fcn.0040bd3e
lea ecx, [ebp + 4]
call fcn.00427365
lea ecx, [ebp - 0x10]
call fcn.00427365
lea ecx, [ebp + 0x20]
call fcn.0041f5fb
lea ecx, [ebp + 0x20]
call fcn.00427365
cmp dword [ebp + 0x30], ebx
jle 0x420f49
push ebx
push dword [ebp + 0x30]
call fcn.0042b367
pop ecx
pop ecx
mov ebx, dword [ebp + 0x60]
mov eax, 0x4975e4
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
mov eax, ebx
pop ebx
add ebp, 0x74
leave
ret 4