Function at 0x41f495
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.0040a5a0
push 0x104
lea eax, [ebp - 0x944]
push eax
push 0x2711
xor ebx, ebx
push ebx
call fcn.00427474
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.0042c3f7
push 0x48446c
lea ecx, [ebp + 4]
mov dword [ebp - 0x10], ebx
call fcn.004361de
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.0040b9f7
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 0x41f547
cmp eax, 0x6ffff
mov byte [ebp + 0x5d], 1
jbe 0x41f54a
mov byte [ebp + 0x5d], bl
lea ecx, [ebp + 0x58]
mov byte [ebp + 0x43], bl
mov byte [0x496e38], bl
call fcn.0042c3f7
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.0043c12f
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.0042c43e
cmp byte [ebp + 0x5d], bl
jl 0x41f5d3
push dword [ebp + 0x58]
lea ecx, [ebp + 0x24]
call fcn.004361de
push str.System32Drvload.exe
lea ecx, [ebp + 0x24]
call fcn.0042c465
push dword [ebp + 0x24]
call fcn.0046c1b3
neg eax
sbb al, al
pop ecx
lea ecx, [ebp + 0x24]
and eax, 3
mov byte [ebp + 0x5d], al
call fcn.0042704a
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.004362a2
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.00409e64
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.00427f14
add esp, 0xc
test al, al
je 0x41f69e
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 0x41f672
call fcn.00426fde
test al, al
jne 0x41f672
mov dword [ebp + 0x24], ecx
lea eax, [ebp + 0x70]
push eax
call fcn.00403c2d
mov eax, dword [ebp + 0x70]
cmp word [eax], bx
pop ecx
je 0x41f68a
mov word [eax], bx
add dword [ebp + 0x70], edi
lea ecx, [ebp + 0x70]
call fcn.00409e64
mov eax, dword [ebp + 0x24]
cmp word [eax], bx
je 0x420628
mov eax, dword [ebp + 0x70]
cmp word [eax], 0x2a
mov byte [ebp + 0x6d], 0xff
mov dword [ebp + 8], ebx
jne 0x41faff
push 8
lea eax, [ebp + 0x70]
push eax
push str.extract
call fcn.0042df66
add esp, 0xc
test al, al
je 0x41f6d6
mov byte [ebp + 0x6b], 1
mov byte [ebp + 0x5f], 1
jmp 0x41fae6
push 8
lea eax, [ebp + 0x70]
push eax
push str.nocheck
call fcn.0042df66
add esp, 0xc
test al, al
je 0x41f6f9
mov byte [0x496e39], 1
jmp 0x41fae6
push 7
lea eax, [ebp + 0x70]
push eax
push str.rescan
call fcn.0042df66
add esp, 0xc
test al, al
je 0x41f719
mov byte [ebp + 0x5e], 1
jmp 0x41fae6
push 9
lea eax, [ebp + 0x70]
push eax
push str.norescan
call fcn.0042df66
add esp, 0xc
test al, al
je 0x41f739
mov byte [ebp + 0x5e], 0xff
jmp 0x41fae6
push 6
lea eax, [ebp + 0x70]
push eax
push str.dummy
call fcn.0042df66
add esp, 0xc
test al, al
je 0x41f75c
mov byte [0x496e20], 1
jmp 0x41fae6
push 4
lea eax, [ebp + 0x70]
push eax
push str.sub
call fcn.0042df66
add esp, 0xc
test al, al
je 0x41f77c
mov byte [ebp + 0x3a], 1
jmp 0x41fae6
push 5
lea eax, [ebp + 0x70]
push eax
push str.self
call fcn.0042df66
add esp, 0xc
test al, al
je 0x41f79c
mov byte [ebp + 0x3a], 2
jmp 0x41fae6
push 4
lea eax, [ebp + 0x70]
push eax
push str.7pe
call fcn.0042df66
add esp, 0xc
test al, al
je 0x41f7bc
mov byte [ebp + 0x14], 3
jmp 0x41fae6
push 8
lea eax, [ebp + 0x70]
push eax
push str.drvload
call fcn.0042df66
add esp, 0xc
test al, al
je 0x41f7de
mov al, byte [ebp + 0x5d]
mov byte [ebp + 0x14], al
jmp 0x41fae6
push 6
lea eax, [ebp + 0x70]
push eax
push str.inner
call fcn.0042df66
add esp, 0xc
test al, al
je 0x41f7fe
mov byte [ebp + 0x14], 0xc0
jmp 0x41fae6
push 9
lea eax, [ebp + 0x70]
push eax
push str.nnverify
call fcn.0042df66
add esp, 0xc
test al, al
jne 0x41f6cd
push 8
lea eax, [ebp + 0x70]
push eax
push str.rverify
call fcn.0042df66
add esp, 0xc
test al, al
je 0x41f838
mov byte [ebp + 0x5f], bl
jmp 0x41fae6
push 0xa
lea eax, [ebp + 0x70]
push eax
push str.listdevi
call fcn.0042df66
add esp, 0xc
test al, al
je 0x41f85e
mov al, byte [ebp + 0x6f]
and al, 0xf2
or al, 2
mov byte [ebp + 0x6f], al
jmp 0x41fae6
push 0xa
lea eax, [ebp + 0x70]
push eax
push str.listdevc
call fcn.0042df66
add esp, 0xc
test al, al
je 0x41f87e
mov al, byte [ebp + 0x6f]
and al, 0xf4
or al, 4
jmp 0x41f856
push 4
lea eax, [ebp + 0x70]
push eax
push str.All
call fcn.0042df66
add esp, 0xc
test al, al
je 0x41f89e
or byte [ebp + 0x6f], 0x20
jmp 0x41fae6
push 0xa
lea eax, [ebp + 0x70]
push eax
push 0x484375
call fcn.0042df66
add esp, 0xc
test al, al
je 0x41f8be
mov byte [ebp + 0x6e], 1
jmp 0x41fae6
push 0xb
lea eax, [ebp + 0x70]
push eax
push str.disverify
call fcn.0042df66
add esp, 0xc
test al, al
je 0x41f8de
mov byte [ebp + 0x6e], 3
jmp 0x41fae6
push 7
push dword [ebp + 0x70]
push str.retid:
call fcn.00427f14
add esp, 0xc
test al, al
je 0x41f940
mov ecx, dword [ebp + 0x70]
add ecx, 0xe
xor eax, eax
mov dword [ebp + 0x70], ecx
mov ax, word [ecx]
cmp ax, bx
je 0x41f91b
call fcn.00426fde
test al, al
jne 0x41f91b
lea eax, [ebp + 4]
mov dword [ebp - 0x40], ecx
mov dword [0x496e1c], eax
lea eax, [ebp + 0x70]
push eax
call fcn.00403c2d
mov eax, dword [ebp + 0x70]
cmp word [eax], bx
pop ecx
je 0x41f933
mov word [eax], bx
add dword [ebp + 0x70], edi
lea ecx, [ebp + 0x70]
call fcn.00409e64
jmp 0x41fae6
push 0xa
push dword [ebp + 0x70]
push str.DevClass:
call fcn.00427f14
add esp, 0xc
test al, al
je 0x41f97a
mov ecx, dword [ebp + 0x70]
add ecx, 0x14
xor eax, eax
mov dword [ebp + 0x70], ecx
mov ax, word [ecx]
cmp ax, bx
je 0x41f91b
call fcn.00426fde
test al, al
jne 0x41f91b
mov dword [0x496e24], ecx
jmp 0x41f91b
push 7
push dword [ebp + 0x70]
push str.DevID:
call fcn.00427f14
add esp, 0xc
test al, al
je 0x41f9fe
add dword [ebp + 0x70], 0xe
mov eax, dword [ebp + 0x70]
movzx eax, word [eax]
cmp ax, bx
je 0x41f9ab
call fcn.00426fde
test al, al
jne 0x41f9ab
mov esi, dword [ebp + 0x70]
lea eax, [ebp + 0x70]
push eax
call fcn.00403c2d
mov eax, dword [ebp + 0x70]
cmp word [eax], bx
pop ecx
je 0x41f9c3
mov word [eax], bx
add dword [ebp + 0x70], edi
lea ecx, [ebp + 0x70]
call fcn.00409e64
cmp esi, ebx
je 0x41fae6
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, ebx
jle 0x41f9f7
cmp word [esi + eax*2 - 2], 0x26
jne 0x41f9ef
mov word [esi + eax*2], bx
dec eax
cmp eax, ebx
jg 0x41f9de
cmp eax, ebx
jg 0x41fae6
xor esi, esi
jmp 0x41fae6
push 7
push dword [ebp + 0x70]
push str.DevID:
call fcn.00427f14
add esp, 0xc
test al, al
je 0x41fa78
add dword [ebp + 0x70], 0xe
mov eax, dword [ebp + 0x70]
movzx eax, word [eax]
cmp ax, bx
je 0x41fa2f
call fcn.00426fde
test al, al
jne 0x41fa2f
mov esi, dword [ebp + 0x70]
lea eax, [ebp + 0x70]
push eax
call fcn.00403c2d
mov eax, dword [ebp + 0x70]
cmp word [eax], bx
pop ecx
je 0x41fa47
mov word [eax], bx
add dword [ebp + 0x70], edi
lea ecx, [ebp + 0x70]
call fcn.00409e64
cmp esi, ebx
je 0x41fae6
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, ebx
jle 0x41f9f7
cmp word [esi + eax*2 - 2], 0x26
jne 0x41f9ef
mov word [esi + eax*2], bx
dec eax
cmp eax, ebx
jg 0x41fa62
jmp 0x41f9ef
push 9
push dword [ebp + 0x70]
push str.disable:
call fcn.00427f14
add esp, 0xc
test al, al
je 0x41fa96
add dword [ebp + 0x70], edi
mov byte [ebp + 0x6d], bl
jmp 0x41fab0
push 8
push dword [ebp + 0x70]
push str.enable:
call fcn.00427f14
add esp, 0xc
test al, al
je 0x41fadc
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 0x41f91b
call fcn.00426fde
test al, al
jne 0x41f91b
mov dword [ebp + 8], ecx
jmp 0x41f91b
lea eax, [ebp + 0x70]
push eax
call fcn.00403c51
pop ecx
mov eax, dword [ebp + 0x70]
cmp word [eax], 0x2a
je 0x41f6b2
cmp byte [ebp + 0x6e], bl
mov dword [ebp + 0x44], esi
jne 0x420672
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 0x41fb25
cmp dword [ebp + 0x24], ebx
je 0x420686
cmp byte [ebp + 0x6d], bl
jl 0x41fb33
cmp dword [ebp + 8], ebx
jne 0x420692
cmp dword [ebp + 0x44], ebx
push 0x200010
setne al
lea ecx, [ebp + 0x3c]
mov byte [0x496e21], al
call fcn.0042c29e
mov eax, dword [ebp + 0x3c]
push 8
add eax, 0x200000
push ebx
push eax
call fcn.0046c4e0
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 0x41fb99
cmp byte [ebp + 0x5f], 1
je 0x41fb99
lea ecx, [ebp + 0x30]
call fcn.0040bb6e
cmp byte [ebp + 0x5f], 2
jne 0x41fba2
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 0x41fbc8
jmp 0x41fbbd
inc dword [ebp + 0x10]
inc eax
inc eax
mov dword [ebp + 0x70], eax
cmp word [eax], 0x24
je 0x41fbba
lea ecx, [ebp + 0x70]
call fcn.00409e64
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 0x41fc1f
add dword [ebp + 0x50], 2
lea ecx, [ebp + 0x50]
mov word [eax], bx
call fcn.00409e64
push 0x2c
push dword [ebp + 0x50]
call edi
cmp eax, ebx
mov dword [ebp + 0x64], eax
je 0x41fc16
add dword [ebp + 0x64], 2
lea ecx, [ebp + 0x64]
mov word [eax], bx
call fcn.00409e64
push dword [ebp + 0x50]
call fcn.0040b1aa
pop ecx
push dword [ebp + 0x70]
call fcn.0040b1aa
cmp dword [ebp + 0x64], ebx
pop ecx
je 0x41fc5d
push 0x2c
push dword [ebp + 0x64]
call edi
cmp eax, ebx
mov dword [ebp + 0x4c], eax
je 0x41fc54
mov word [eax], bx
inc eax
inc eax
lea ecx, [ebp + 0x4c]
mov dword [ebp + 0x4c], eax
call fcn.00409e64
push dword [ebp + 0x4c]
call fcn.0040b1aa
pop ecx
push dword [ebp + 0x64]
call fcn.0040b1aa
pop ecx
push dword [ebp + 0x70]
call fcn.0046c02a
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 0x41fc97
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 0x41fc9a
mov dword [ebp + 0x28], ebx
cmp dword [ebp - 0x20], ebx
jne 0x41fcad
cmp dword [ebp + 0x28], ebx
je 0x41fcad
mov dword [ebp + 0x48], 1
jmp 0x41fcb5
cmp dword [ebp - 0x20], ebx
mov dword [ebp + 0x48], ebx
jne 0x41fcd8
cmp edi, 4
jle 0x41fcd8
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 0x41fcdb
mov dword [ebp + 8], ebx
cmp dword [ebp + 0x10], 1
je 0x41fcff
cmp dword [ebp + 0x28], ebx
je 0x41fcf0
cmp dword [ebp + 0x34], ebx
je 0x41fcf0
cmp dword [ebp + 0x64], ebx
jne 0x41fcff
cmp dword [ebp + 0x48], ebx
je 0x41fcfa
cmp dword [ebp + 0x34], ebx
jne 0x41fcff
mov byte [ebp + 0x6d], bl
jmp 0x41fd03
mov byte [ebp + 0x6d], 1
cmp dword [ebp + 8], ebx
je 0x41fd34
mov eax, dword [ebp + 0x50]
cmp eax, ebx
je 0x41fd34
or dword [ebp + 0x28], 0xffffffff
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0x28]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.0042ed5c
mov eax, dword [ebp + 0x28]
cmp eax, ebx
pop ecx
pop ecx
jle 0x41fd34
cmp eax, 0x14
jge 0x41fd34
mov byte [ebp + 0xf], al
cmp byte [ebp + 0x6c], 1
jne 0x41fd81
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 0x4842a8
push dword [ebp + 0x1c]
call fcn.0040b348
add esp, 0x2c
cmp byte [ebp + 0x5e], bl
jg 0x41fdb2
cmp byte [ebp + 0x6f], bl
jne 0x41fe29
cmp byte [ebp + 0x5e], bl
jl 0x41fe1d
cmp byte [0x496e38], bl
je 0x41fe1d
cmp dword [ebp + 0x48], ebx
jne 0x41fdaa
cmp dword [ebp + 0x34], ebx
je 0x41fe1d
cmp byte [0x496e39], bl
jne 0x41fe1d
cmp byte [ebp + 0x6c], 1
jne 0x41fdcd
push 0x480934
push 0x484290
push dword [ebp + 0x1c]
call fcn.0040b348
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.0040b65c
mov ecx, edi
push 5
call fcn.0040b65c
cmp dword [ebp - 0xc], ebx
jne 0x41fe0e
push ebx
push dword [ebp + 0x28]
call dword [sym.imp.SETUPAPI.dll_CM_Reenumerate_DevNode]
mov ecx, edi
push 5
call fcn.0040b65c
mov ecx, dword [ebp + 0x1c]
push 0x32
call fcn.0040b65c
cmp byte [ebp + 0x6f], bl
jne 0x41fe29
mov eax, dword [ebp + 0x70]
cmp word [eax], bx
je 0x420702
lea ecx, [ebp + 0x2c]
call fcn.0042c3f7
push dword [ebp + 0x70]
call fcn.0040ce49
push ebx
lea ecx, [ebp + 0x2c]
push ecx
push eax
mov dword [ebp + 0x70], eax
call fcn.00434c96
mov dword [ebp + 0x70], eax
add esp, 0x10
xor eax, eax
cmp byte [ebp + 0x6f], bl
je 0x41fe5d
test byte [ebp + 0x6f], 0x20
jne 0x41fe5d
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 0x41fe7e
cmp dword [ebp + 0x48], ebx
mov dword [ebp + 0x10], ebx
je 0x42070a
test byte [ebp + 0x6f], 4
push 0
pop eax
setne al
inc eax
cmp dword [ebp + 0x48], ebx
mov dword [ebp - 0x3c], eax
jne 0x41fe99
cmp byte [ebp + 0x6d], bl
mov dword [ebp + 0x28], ebx
je 0x41fea0
mov dword [ebp + 0x28], 1
lea ecx, [ebp + 0x54]
call fcn.0042c3f7
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 0x4200c8
cmp dword [ebp + 0x10], ebx
je 0x4200c8
mov eax, esi
sub eax, dword [ebp - 8]
mov dword [ebp + 0x48], ebx
cmp eax, 0x200000
jge 0x4200c8
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 0x4200c8
cmp byte [ebp + 0x6f], bl
je 0x41ffc1
cmp dword [0x496e24], ebx
je 0x41ff5e
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 0x4200b5
test byte [ebp + 0x6f], 2
je 0x41ffc1
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 0x41ffa4
mov eax, dword [ebp + 0x54]
cmp word [eax], bx
je 0x41ff98
push 0x480c6c
lea ecx, [ebp + 0x54]
call fcn.0042c465
lea eax, [ebp - 0x198]
push eax
jmp 0x42003e
cmp dword [ebp + 0x44], ebx
je 0x41ffc1
lea eax, [ebp - 0x198]
push eax
push dword [ebp + 0x44]
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x4200b5
mov eax, dword [0x496dbc]
cmp eax, ebx
mov dword [ebp - 0x44], ebx
je 0x41ffe5
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 0x420001
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 0x4200b5
cmp byte [ebp + 0x6e], bl
je 0x420048
mov eax, dword [ebp + 0x54]
cmp word [eax], bx
je 0x42003d
push 0x480c6c
lea ecx, [ebp + 0x54]
call fcn.0042c465
push esi
lea ecx, [ebp + 0x54]
call fcn.0042c465
jmp 0x4200b5
push 4
push str.ACPI
push esi
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
je 0x4200b5
cmp byte [ebp + 0x6c], 1
jne 0x420072
push esi
push dword [ebp + 0x48]
push dword [ebp - 0x38]
push dword [ebp + 0x1c]
call fcn.0040b348
add esp, 0x10
xor ecx, ecx
xor edx, edx
xor eax, eax
mov ax, word [esi]
jmp 0x420094
cmp ax, 0x26
jne 0x42008c
movsx eax, byte [ebp + 0xf]
inc edx
cmp edx, eax
jge 0x420099
inc ecx
movzx eax, cx
mov ax, word [esi + eax*2]
cmp ax, bx
jne 0x42007d
movzx eax, cx
mov word [esi - 2], cx
lea esi, [esi + eax*2]
jmp 0x4200a7
inc esi
inc esi
cmp word [esi], bx
jne 0x4200a5
add esi, 4
test byte [ebp + 0x6f], 2
jne 0x4200c8
inc dword [ebp + 0x48]
mov eax, esi
sub eax, dword [ebp - 8]
cmp eax, 0x200000
jl 0x41ff03
cmp byte [ebp + 0x6e], bl
jne 0x420716
cmp dword [ebp + 0x28], ebx
je 0x4200e5
test byte [ebp + 0x6f], 2
je 0x4200e5
mov dword [ebp - 0xc], 1
jmp 0x420122
cmp dword [ebp + 0x44], ebx
mov dword [ebp - 0xc], ebx
je 0x420122
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.00403c15
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 0x420149
push 0x480934
push 0x480c6c
push dword [ebp + 0x1c]
call fcn.0040b348
add esp, 0xc
mov eax, dword [ebp + 0x58]
mov edi, dword [ebp - 0x24]
push 8
mov esi, 0x48427c
lea eax, [eax + edi*2]
push esi
push eax
call fcn.0046c720
add esp, 0xc
cmp dword [ebp + 0x28], ebx
jne 0x42072c
cmp dword [ebp + 0x10], ebx
je 0x420b0f
cmp byte [ebp + 0x6b], bl
jne 0x420198
mov esi, dword [ebp - 8]
cmp word [esi], bx
je 0x420b1b
cmp dword [ebp - 0x20], ebx
jne 0x420b27
cmp dword [ebp + 8], ebx
je 0x420b27
mov esi, dword [ebp + 0x64]
cmp esi, ebx
mov dword [ebp - 0x14], ebx
je 0x4201d8
cmp word [esi], bx
je 0x4201d8
push esi
lea ecx, [ebp - 0x14]
call fcn.004362a2
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [esi + eax*2 - 2], 0x5c
je 0x4201ce
push 0x480be8
lea ecx, [ebp - 0x14]
call fcn.0042c465
mov eax, dword [ebp - 0x14]
mov dword [0x496e30], eax
jmp 0x4201dd
mov eax, dword [0x496e30]
cmp byte [0x496e38], bl
je 0x42026f
cmp dword [ebp + 0x34], ebx
je 0x42024f
cmp eax, ebx
jne 0x42024f
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.0042c3f7
mov ecx, dword [ebp + 0x1c]
push 1
push ebx
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.0043c12f
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp + 0x20]
mov dword [0x496e30], eax
call fcn.00418f6c
lea ecx, [ebp - 0x1c]
mov dword [0x496e30], eax
call fcn.0042704a
mov eax, dword [0x496e30]
cmp byte [0x496e38], bl
je 0x42026f
cmp byte [ebp + 0x6b], bl
jne 0x42026f
cmp eax, ebx
je 0x42026f
cmp byte [0x496e39], bl
jne 0x42026f
mov dword [ebp + 0x34], 1
cmp byte [ebp + 0x43], bl
je 0x42027b
xor eax, eax
mov dword [0x496e30], eax
cmp byte [0x496e39], bl
je 0x42028f
cmp eax, ebx
je 0x42028f
cmp dword [ebp + 0x4c], ebx
je 0x42028f
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.0046c720
add esp, 0xc
push 0x1040
lea ecx, [ebp - 0x28]
call fcn.0042c415
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.0046c113
add esp, 0xc
cmp dword [ebp - 0x18], ebx
je 0x420b8a
push dword [ebp + 0x70]
lea ecx, [ebp - 4]
call fcn.004361de
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x70]
call fcn.0043b7fc
pop ecx
pop ecx
push 0x480be8
lea ecx, [ebp - 4]
call fcn.0042c465
push str.DefaultInstall_132
lea ecx, [ebp]
call fcn.004361de
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 0x42035e
cmp byte [ebp + 0x6b], bl
jne 0x42035e
mov dword [ebp + 0x44], 1
jmp 0x420366
mov dword [ebp + 0x44], ebx
jmp 0x420366
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 0x420576
mov eax, dword [ebp - 4]
mov word [eax + ecx*2], bx
lea eax, [ebp - 0x70c]
push eax
lea ecx, [ebp - 4]
call fcn.0042c465
push dword [ebp - 8]
push 0x418dcd
push ebx
push dword [ebp - 4]
call dword [0x496db0]
cmp dword [ebp + 0x34], ebx
je 0x420471
mov edi, dword [ebp - 0x28]
cmp edi, dword [0x496dc4]
jae 0x420468
push edi
mov esi, edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp byte [ebp + 0x6c], 1
lea edi, [edi + eax*2 + 2]
jle 0x4203e5
push 0xffffffffffffffff
mov eax, esi
call fcn.0040b826
test eax, eax
pop ecx
jne 0x420458
cmp byte [0x496e38], 3
mov dword [ebp + 0x50], 4
je 0x420413
push dword [ebp + 8]
or dword [ebp + 0x50], 2
push edi
push esi
call fcn.0040b8a5
add esp, 0xc
cmp eax, ebx
mov dword [ebp + 0x44], eax
je 0x420458
test byte [ebp + 0x50], 1
jne 0x42042d
or dword [ebp + 0x50], 1
push esi
push edi
call fcn.0040ba41
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp + 0x44], eax
je 0x420458
test byte [ebp + 0x50], 2
je 0x4203f5
test byte [ebp + 0x50], 4
jne 0x420458
mov eax, dword [ebp]
mov ecx, dword [ebp - 0x20]
mov word [eax + ecx*2], bx
push edi
lea ecx, [ebp]
call fcn.0042c465
push 0x100000
push dword [ebp]
push ebx
push ebx
call fcn.0040bb26
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [edi + eax*2 + 2]
jmp 0x4203b8
cmp dword [ebp + 0x34], ebx
jne 0x420576
cmp byte [0x496e39], bl
je 0x420576
cmp dword [ebp + 0x4c], ebx
je 0x420576
mov eax, dword [0x496e30]
cmp eax, ebx
je 0x420576
push eax
lea ecx, [ebp + 0x18]
call fcn.004361de
push dword [ebp + 0x4c]
lea ecx, [ebp + 0x18]
call fcn.0042c465
push dword [ebp + 0x18]
push 0x484218
push dword [ebp + 0x1c]
call fcn.0040b348
push dword [ebp + 0x18]
push dword [ebp - 8]
call fcn.004189e6
mov edi, eax
add esp, 0x14
cmp edi, ebx
mov esi, edi
jne 0x4204d2
mov esi, 0x480934
cmp byte [0x496e38], 3
mov dword [ebp + 0x64], 4
je 0x420514
or dword [ebp + 0x64], 2
cmp edi, ebx
je 0x4204fc
push dword [ebp + 8]
push dword [ebp + 0x18]
push edi
call fcn.0040b8a5
add esp, 0xc
mov dword [ebp + 0x44], eax
inc dword [ebp + 0x64]
cmp dword [ebp + 0x64], 2
jge 0x420567
cmp edi, ebx
je 0x42050e
cmp dword [ebp + 0x44], ebx
je 0x420567
test byte [ebp + 0x64], 2
jne 0x42053a
push esi
push dword [ebp + 0x18]
call fcn.0040ba41
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 0x420567
cmp dword [ebp + 0x44], ebx
je 0x420567
test al, 2
je 0x4204e2
test byte [ebp + 0x64], 4
jne 0x420567
mov eax, dword [ebp]
mov ecx, dword [ebp - 0x20]
mov word [eax + ecx*2], bx
push dword [ebp + 0x18]
lea ecx, [ebp]
call fcn.0042c465
push 0x100000
push dword [ebp]
push ebx
push ebx
call fcn.0040bb26
add esp, 0x10
cmp edi, ebx
je 0x42056e
mov word [edi], bx
lea ecx, [ebp + 0x18]
call fcn.0042704a
lea eax, [ebp - 0x738]
push eax
lea ecx, [ebp - 0x18]
call fcn.00403ce3
test eax, eax
jne 0x420363
lea ecx, [ebp - 0x18]
call fcn.00402988
cmp dword [ebp + 0x44], ebx
mov eax, dword [ebp + 4]
mov word [eax], 0x5f
jne 0x4205a5
mov dword [ebp + 0x60], ebx
cmp dword [ebp + 0x34], ebx
je 0x420b93
cmp dword [0x496e30], ebx
je 0x420b93
cmp byte [0x496e38], 1
jne 0x420b93
cmp byte [ebp + 0x43], bl
jne 0x420b93
cmp dword [ebp + 0x4c], ebx
jne 0x420b93
lea ecx, [ebp]
mov dword [0x496e30], ebx
mov byte [ebp + 0x43], 1
call fcn.0042704a
lea ecx, [ebp - 4]
call fcn.0042704a
lea ecx, [ebp - 0x18]
call fcn.00402988
lea ecx, [ebp - 0x28]
call fcn.0042704a
lea ecx, [ebp - 0x14]
call fcn.0042704a
lea ecx, [ebp + 0x54]
call fcn.0042704a
lea ecx, [ebp + 0x2c]
call fcn.0042704a
lea ecx, [ebp + 0x3c]
call fcn.0042704a
jmp 0x41f5e3
lea ecx, [ebp + 0x58]
call fcn.0042704a
lea ecx, [ebp - 0x34]
call fcn.0040bb84
lea ecx, [ebp + 4]
call fcn.0042704a
lea ecx, [ebp - 0x10]
call fcn.0042704a
lea ecx, [ebp + 0x20]
call fcn.0041f2e9
lea ecx, [ebp + 0x20]
call fcn.0042704a
cmp dword [ebp + 0x30], ebx
jle 0x420668
push ebx
push dword [ebp + 0x30]
call fcn.0042afa7
pop ecx
pop ecx
mov ebx, 0x80070057
jmp 0x420c3a
xor eax, eax
mov al, byte [ebp + 0x6e]
and eax, edi
shr eax, 1
push eax
push ebx
call fcn.0042afa7
pop ecx
pop ecx
jmp 0x4206b9
mov dword [ebp + 0x60], 0x80070057
jmp 0x420bee
push dword [ebp + 8]
lea ecx, [ebp + 0x7c]
call fcn.00409dd3
push 0x100
push dword [eax]
movsx eax, byte [ebp + 0x6d]
push eax
call fcn.0042820e
add esp, 0xc
lea ecx, [ebp + 0x7c]
call fcn.0042704a
lea ecx, [ebp + 0x58]
call fcn.0042704a
lea ecx, [ebp - 0x34]
call fcn.0040bb84
lea ecx, [ebp + 4]
call fcn.0042704a
lea ecx, [ebp - 0x10]
call fcn.0042704a
lea ecx, [ebp + 0x20]
call fcn.0041f2e9
lea ecx, [ebp + 0x20]
call fcn.0042704a
cmp dword [ebp + 0x30], ebx
jle 0x420c3a
push ebx
push dword [ebp + 0x30]
call fcn.0042afa7
pop ecx
pop ecx
jmp 0x420c3a
mov dword [ebp + 0x60], ebx
jmp 0x420be6
mov dword [ebp + 0x60], 1
jmp 0x420bde
push dword [ebp + 0x54]
mov ecx, dword [ebp + 0x1c]
push dword [ebp + 0x24]
call fcn.0042af0d
mov dword [ebp + 0x60], ebx
jmp 0x420bd6
cmp dword [ebp + 0x34], ebx
mov dword [ebp + 0x18], ebx
jne 0x4207a6
mov eax, dword [ebp - 8]
cmp word [eax], bx
jne 0x4207a6
cmp byte [0x496e39], bl
jne 0x4207a6
lea ecx, [ebp + 0x54]
call fcn.0042704a
lea ecx, [ebp + 0x2c]
call fcn.0042704a
lea ecx, [ebp + 0x3c]
call fcn.0042704a
lea ecx, [ebp + 0x58]
call fcn.0042704a
lea ecx, [ebp - 0x34]
call fcn.0040bb84
lea ecx, [ebp + 4]
call fcn.0042704a
lea ecx, [ebp - 0x10]
call fcn.0042704a
lea ecx, [ebp + 0x20]
call fcn.0041f2e9
lea ecx, [ebp + 0x20]
call fcn.0042704a
cmp dword [ebp + 0x30], ebx
jle 0x42079c
push ebx
push dword [ebp + 0x30]
call fcn.0042afa7
pop ecx
pop ecx
mov ebx, 0x491
jmp 0x420c3a
lea eax, [edi + 4]
mov dword [ebp - 0x1c], eax
add eax, 0x3c
push eax
lea ecx, [ebp + 0x24]
call fcn.0042c415
mov eax, dword [ebp + 0x58]
push 0x22
add edi, edi
add eax, edi
push str.System32DRIVERS
push eax
call fcn.0046c720
push dword [ebp + 0x58]
call fcn.0046c02a
add esp, 0x10
test eax, eax
jne 0x4207e5
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.0046c720
push dword [ebp + 0x58]
call fcn.0046c02a
add esp, 0x10
test eax, eax
jne 0x42080c
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.0046c720
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.0046c113
add esp, 0x18
cmp dword [ebp + 0x48], ebx
jne 0x420868
lea ecx, [ebp + 0x48]
mov dword [ebp + 0x60], 2
call fcn.00402988
lea ecx, [ebp + 0x24]
jmp 0x420bd1
push dword [ebp + 0x70]
lea ecx, [ebp + 0x60]
call fcn.004361de
lea eax, [ebp + 0x60]
push eax
push dword [ebp + 0x70]
call fcn.0043b7fc
pop ecx
pop ecx
push 0x480be8
lea ecx, [ebp + 0x60]
call fcn.0042c465
mov esi, dword [ebp + 0x64]
cmp esi, ebx
je 0x42089a
cmp word [esi], bx
jne 0x42089f
mov esi, 0x4841ec
mov eax, dword [ebp + 0x50]
cmp eax, ebx
je 0x4208ab
cmp word [eax], bx
jne 0x4208b0
mov eax, 0x4841cc
push eax
lea ecx, [ebp + 0x4c]
call fcn.004361de
mov edi, 0x4810a0
push edi
lea ecx, [ebp + 0x4c]
call fcn.0042c465
push esi
lea ecx, [ebp + 0x4c]
call fcn.0042c465
push edi
lea ecx, [ebp + 0x4c]
call fcn.0042c465
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 0x420a78
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.0042c465
mov esi, dword [ebp + 0x60]
lea ecx, [ebp + 0x14]
mov dword [ebp - 0x3c], esi
mov byte [ebp + 0x7f], bl
call fcn.0042c3f7
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.00434c96
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 0x420969
push dword [ebp - 0x1c]
push dword [ebp + 0x14]
push dword [ebp + 0x58]
call fcn.00409d10
add esp, 0xc
test al, al
je 0x420969
mov byte [ebp + 0x7f], 1
cmp dword [ebp - 0xc], ebx
je 0x420975
mov esi, dword [ebp + 0x44]
cmp esi, ebx
jne 0x420984
push dword [ebp + 0x60]
push dword [ebp - 8]
call fcn.004189e6
pop ecx
pop ecx
mov esi, eax
cmp byte [0x496e39], bl
jne 0x4209a4
cmp dword [ebp + 0x34], ebx
jne 0x4209b7
cmp byte [ebp + 0x3b], bl
je 0x42099b
cmp byte [ebp + 0x7f], bl
jne 0x4209b7
cmp esi, ebx
jne 0x4209b7
jmp 0x420a70
push dword [ebp + 0x60]
push 0x484218
push dword [ebp + 0x1c]
call fcn.0040b348
add esp, 0xc
cmp esi, ebx
mov edi, esi
jne 0x4209c2
mov edi, 0x480934
cmp dword [ebp + 0x34], ebx
mov dword [ebp + 0x7c], 4
jne 0x420a1b
cmp byte [0x496e38], 3
je 0x4209f9
or dword [ebp + 0x7c], 2
cmp esi, ebx
je 0x4209f3
push ebx
push dword [ebp + 0x60]
push esi
call fcn.0040b8a5
add esp, 0xc
cmp eax, ebx
mov dword [ebp + 0x18], eax
je 0x420a5a
test byte [ebp + 0x7c], 1
jne 0x420a15
or dword [ebp + 0x7c], 1
push edi
push dword [ebp + 0x60]
call fcn.0040ba41
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp + 0x18], eax
je 0x420a5a
test byte [ebp + 0x7c], 2
je 0x4209d7
test byte [ebp + 0x7c], 4
jne 0x420a5a
cmp byte [0x496e20], bl
jne 0x420a5a
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.0042c465
push ebx
push dword [ebp + 0x4c]
push ebx
push ebx
call fcn.0040bb26
add esp, 0x10
cmp eax, ebx
mov dword [ebp + 0x18], eax
jne 0x420a5a
cmp dword [0x496e1c], ebx
je 0x420a5a
call fcn.0040b849
cmp esi, ebx
je 0x420a61
mov word [esi], bx
mov eax, dword [ebp + 0x24]
cmp word [eax], bx
je 0x420a70
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp + 0x14]
call fcn.0042704a
lea eax, [ebp - 0x4e8]
push eax
lea ecx, [ebp + 0x48]
call fcn.00403ce3
test eax, eax
jne 0x4208ef
lea ecx, [ebp + 0x4c]
call fcn.0042704a
lea ecx, [ebp + 0x60]
call fcn.0042704a
lea ecx, [ebp + 0x48]
call fcn.00402988
lea ecx, [ebp + 0x24]
call fcn.0042704a
lea ecx, [ebp + 0x54]
call fcn.0042704a
lea ecx, [ebp + 0x2c]
call fcn.0042704a
lea ecx, [ebp + 0x3c]
call fcn.0042704a
lea ecx, [ebp + 0x58]
call fcn.0042704a
lea ecx, [ebp - 0x34]
call fcn.0040bb84
lea ecx, [ebp + 4]
call fcn.0042704a
lea ecx, [ebp - 0x10]
call fcn.0042704a
lea ecx, [ebp + 0x20]
call fcn.0041f2e9
lea ecx, [ebp + 0x20]
call fcn.0042704a
cmp dword [ebp + 0x30], ebx
jle 0x420b07
push ebx
push dword [ebp + 0x30]
call fcn.0042afa7
pop ecx
pop ecx
mov ebx, dword [ebp + 0x18]
jmp 0x420c3a
mov dword [ebp + 0x60], 1
jmp 0x420bd6
mov dword [ebp + 0x60], 0x491
jmp 0x420bd6
push dword [ebp + 0x70]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, eax
dec ecx
cmp ecx, 1
jl 0x420b54
mov eax, dword [ebp + 0x70]
lea edx, [eax + ecx*2]
xor eax, eax
mov ax, word [edx]
push eax
call fcn.00409eda
add esp, 4
test al, al
je 0x420b54
mov word [edx], bx
dec ecx
cmp ecx, ebx
jge 0x420b61
mov dword [ebp + 0x60], 0x80070057
jmp 0x420bd6
mov ecx, dword [ebp + 0x50]
cmp ecx, ebx
je 0x420b6f
cmp word [ecx], bx
jne 0x420b6f
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.00418ad8
add esp, 0x10
mov dword [ebp + 0x60], eax
jmp 0x420bd6
mov dword [ebp + 0x60], 2
jmp 0x420bbe
push 0x480934
push 0x480c6c
push dword [ebp + 0x1c]
mov dword [0x496e30], ebx
call fcn.0040b348
add esp, 0xc
lea ecx, [ebp]
call fcn.0042704a
lea ecx, [ebp - 4]
call fcn.0042704a
lea ecx, [ebp - 0x18]
call fcn.00402988
lea ecx, [ebp - 0x28]
call fcn.0042704a
lea ecx, [ebp - 0x14]
call fcn.0042704a
lea ecx, [ebp + 0x54]
call fcn.0042704a
lea ecx, [ebp + 0x2c]
call fcn.0042704a
lea ecx, [ebp + 0x3c]
call fcn.0042704a
mov ecx, dword [ebp + 0x1c]
push ebx
call fcn.0044b61d
lea ecx, [ebp + 0x58]
call fcn.0042704a
lea ecx, [ebp - 0x34]
call fcn.0040bb84
lea ecx, [ebp + 4]
call fcn.0042704a
lea ecx, [ebp - 0x10]
call fcn.0042704a
lea ecx, [ebp + 0x20]
call fcn.0041f2e9
lea ecx, [ebp + 0x20]
call fcn.0042704a
cmp dword [ebp + 0x30], ebx
jle 0x420c37
push ebx
push dword [ebp + 0x30]
call fcn.0042afa7
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