Function at 0x420fa6
Capabilities:
Create directory
Delete file

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x994
push ebx
push esi
push edi
mov esi, ecx
push 0x49b604
mov dword [ebp + 4], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call fcn.0040b370
push 0x104
lea eax, [ebp - 0x920]
push eax
push 0x2711
xor ebx, ebx
push ebx
call fcn.00428ed1
add esp, 0x10
lea ecx, [ebp + 0x1c]
mov dword [ebp - 0x3c], eax
mov dword [0x49ae30], ebx
mov dword [0x49ae34], ebx
mov dword [ebp + 0x28], 0x80000000
call fcn.0042e1c4
push 0x4885c8
lea ecx, [ebp]
mov dword [ebp - 0x10], ebx
call fcn.0043a4ba
lea eax, [ebp - 0x40]
mov dword [ebp - 0x34], eax
lea eax, [ebp]
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x30], esi
mov dword [0x49ae24], eax
mov byte [0x49ae28], bl
mov dword [0x49ae2c], ebx
call fcn.0040c76b
mov ecx, 0x60000
cmp eax, ecx
sbb dl, dl
inc dl
cmp eax, ecx
mov dword [ebp - 0x44], eax
mov byte [ebp + 0x4f], dl
jb 0x421058
cmp eax, 0x6ffff
mov byte [ebp + 0x5e], 1
jbe 0x42105b
mov byte [ebp + 0x5e], bl
lea ecx, [ebp + 0x50]
mov byte [ebp + 0x37], bl
mov byte [0x49ae50], bl
call fcn.0042e1c4
push 7
pop ecx
xor eax, eax
mov esi, str._SystemRoot__
lea edi, [ebp - 0x74]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 4]
lea edi, [ebp - 0x58]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 1
stosd dword es:[edi], eax
push ebx
lea eax, [ebp + 0x50]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.00436312
push dword [ebp + 0x50]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x38], eax
add eax, 0x1e
push eax
lea ecx, [ebp + 0x50]
call fcn.0042e20b
cmp byte [ebp + 0x5e], bl
jl 0x4210e4
push dword [ebp + 0x50]
lea ecx, [ebp + 0x18]
call fcn.0043a4ba
push str.System32Drvload.exe
lea ecx, [ebp + 0x18]
call fcn.0042e232
push dword [ebp + 0x18]
call fcn.00470011
neg eax
sbb al, al
pop ecx
lea ecx, [ebp + 0x18]
and eax, 3
mov byte [ebp + 0x5e], al
call fcn.00428a48
mov al, byte [ebp + 0x5e]
mov byte [ebp + 8], al
mov dword [ebp + 0x60], 1
mov byte [ebp + 0x65], bl
push dword [ebp + 0x7c]
inc byte [ebp + 0x65]
lea ecx, [ebp - 0x10]
mov byte [0x49ae29], bl
call fcn.0043a57e
mov eax, dword [ebp - 0x10]
lea ecx, [ebp + 0x70]
mov dword [ebp + 0x70], eax
mov byte [ebp + 0x6e], bl
mov dword [0x49ae4c], ebx
mov dword [0x49ae2c], ebx
mov byte [ebp + 0xf], 2
call fcn.0040ac34
push 8
push dword [ebp + 0x70]
xor esi, esi
push str.listdev:
mov byte [ebp + 0x36], bl
mov byte [ebp + 0x57], 2
mov byte [ebp + 0x6f], bl
mov byte [ebp + 0x5f], bl
mov byte [ebp + 0x67], bl
mov byte [0x49ae51], bl
mov dword [ebp - 0x18], esi
mov dword [ebp + 0x18], ebx
call fcn.0042996a
add esp, 0xc
test al, al
je 0x4211ac
add dword [ebp + 0x70], 0x10
mov eax, dword [ebp + 0x70]
movzx eax, word [eax]
cmp ax, bx
mov byte [ebp + 0x6f], 0x10
je 0x42117f
call fcn.0040ac1b
test al, al
jne 0x42117f
mov eax, dword [ebp + 0x70]
mov dword [ebp + 0x18], eax
lea eax, [ebp + 0x70]
push eax
call fcn.00403ff2
mov eax, dword [ebp + 0x70]
cmp word [eax], bx
pop ecx
je 0x421198
mov word [eax], bx
add dword [ebp + 0x70], 2
lea ecx, [ebp + 0x70]
call fcn.0040ac34
mov eax, dword [ebp + 0x18]
cmp word [eax], bx
je 0x42225a
mov eax, dword [ebp + 0x70]
cmp word [eax], 0x2a
mov byte [ebp + 0x66], 0xff
mov dword [ebp + 0x2c], ebx
mov word [0x49ae3c], bx
mov byte [0x49ae38], bl
jne 0x421688
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push 8
lea eax, [ebp + 0x70]
push eax
push str.extract
call fcn.0042fc5f
add esp, 0xc
test al, al
je 0x4211f7
mov byte [ebp + 0x67], 1
mov byte [ebp + 0x57], 1
jmp 0x42166f
push 8
lea eax, [ebp + 0x70]
push eax
push 0x48855c
call fcn.0042fc5f
add esp, 0xc
test al, al
je 0x42121a
mov byte [0x49ae51], 1
jmp 0x42166f
push 7
lea eax, [ebp + 0x70]
push eax
push str.rescan
call fcn.0042fc5f
add esp, 0xc
test al, al
je 0x42123a
mov byte [ebp + 0x5f], 1
jmp 0x42166f
push 9
lea eax, [ebp + 0x70]
push eax
push str.norescan
call fcn.0042fc5f
add esp, 0xc
test al, al
je 0x42125a
mov byte [ebp + 0x5f], 0xff
jmp 0x42166f
push 6
lea eax, [ebp + 0x70]
push eax
push str.dummy
call fcn.0042fc5f
add esp, 0xc
test al, al
je 0x42127d
mov byte [0x49ae28], 1
jmp 0x42166f
push 4
lea eax, [ebp + 0x70]
push eax
push str.sub
call fcn.0042fc5f
add esp, 0xc
test al, al
je 0x42129d
mov byte [ebp + 0x36], 1
jmp 0x42166f
push 5
lea eax, [ebp + 0x70]
push eax
push str.self
call fcn.0042fc5f
add esp, 0xc
test al, al
je 0x4212bd
mov byte [ebp + 0x36], 2
jmp 0x42166f
push 4
lea eax, [ebp + 0x70]
push eax
push str.7pe
call fcn.0042fc5f
add esp, 0xc
test al, al
je 0x4212dd
mov byte [ebp + 8], 3
jmp 0x42166f
push 8
lea eax, [ebp + 0x70]
push eax
push str.drvload
call fcn.0042fc5f
add esp, 0xc
test al, al
je 0x4212ff
mov al, byte [ebp + 0x5e]
mov byte [ebp + 8], al
jmp 0x42166f
push 6
lea eax, [ebp + 0x70]
push eax
push str.inner
call fcn.0042fc5f
add esp, 0xc
test al, al
je 0x42131f
mov byte [ebp + 8], 0xc0
jmp 0x42166f
push 9
lea eax, [ebp + 0x70]
push eax
push str.nnverify
call fcn.0042fc5f
add esp, 0xc
test al, al
jne 0x4211ee
push 8
lea eax, [ebp + 0x70]
push eax
push str.rverify
call fcn.0042fc5f
add esp, 0xc
test al, al
je 0x421359
mov byte [ebp + 0x57], bl
jmp 0x42166f
push 0xa
lea eax, [ebp + 0x70]
push eax
push str.listdevi
call fcn.0042fc5f
add esp, 0xc
test al, al
je 0x42137f
mov al, byte [ebp + 0x6f]
and al, 0xf2
or al, 2
mov byte [ebp + 0x6f], al
jmp 0x42166f
push 0xa
lea eax, [ebp + 0x70]
push eax
push str.listdevc
call fcn.0042fc5f
add esp, 0xc
test al, al
je 0x42139f
mov al, byte [ebp + 0x6f]
and al, 0xf4
or al, 4
jmp 0x421377
push 4
lea eax, [ebp + 0x70]
push eax
push 0x4884dc
call fcn.0042fc5f
add esp, 0xc
test al, al
je 0x4213bf
or byte [ebp + 0x6f], 0x20
jmp 0x42166f
push 5
lea eax, [ebp + 0x70]
push eax
push 0x4884d4
call fcn.0042fc5f
add esp, 0xc
test al, al
je 0x4213e4
mov word [0x49ae3c], 3
jmp 0x42166f
push 4
lea eax, [ebp + 0x70]
push eax
push str.sys
call fcn.0042fc5f
add esp, 0xc
test al, al
je 0x421407
mov byte [0x49ae38], 1
jmp 0x42166f
mov eax, dword [str.disverify]
push 0xa
lea ecx, [ebp + 0x70]
inc eax
push ecx
push eax
call fcn.0042fc5f
add esp, 0xc
test al, al
je 0x421429
or byte [ebp + 0x6e], 1
jmp 0x42166f
push 0xb
lea eax, [ebp + 0x70]
push eax
push dword [0x4992a8]
call fcn.0042fc5f
add esp, 0xc
test al, al
je 0x42144a
or byte [ebp + 0x6e], 3
jmp 0x42166f
push 0xe
lea eax, [ebp + 0x70]
push eax
push dword [0x4992a4]
call fcn.0042fc5f
add esp, 0xc
test al, al
je 0x42146b
or byte [ebp + 0x6e], 0x10
jmp 0x42166f
push 7
push dword [ebp + 0x70]
push str.retid:
call fcn.0042996a
add esp, 0xc
test al, al
je 0x4214ce
mov ecx, dword [ebp + 0x70]
add ecx, 0xe
xor eax, eax
mov dword [ebp + 0x70], ecx
mov ax, word [ecx]
cmp ax, bx
je 0x4214a8
call fcn.0040ac1b
test al, al
jne 0x4214a8
lea eax, [ebp]
mov dword [ebp - 0x40], ecx
mov dword [0x49ae24], eax
lea eax, [ebp + 0x70]
push eax
call fcn.00403ff2
mov eax, dword [ebp + 0x70]
cmp word [eax], bx
pop ecx
je 0x4214c1
mov word [eax], bx
add dword [ebp + 0x70], 2
lea ecx, [ebp + 0x70]
call fcn.0040ac34
jmp 0x42166f
push 0xa
push dword [ebp + 0x70]
push str.DevClass:
call fcn.0042996a
add esp, 0xc
test al, al
je 0x421508
mov ecx, dword [ebp + 0x70]
add ecx, 0x14
xor eax, eax
mov dword [ebp + 0x70], ecx
mov ax, word [ecx]
cmp ax, bx
je 0x4214a8
call fcn.0040ac1b
test al, al
jne 0x4214a8
mov dword [0x49ae2c], ecx
jmp 0x4214a8
push 7
push dword [ebp + 0x70]
push str.DevID:
call fcn.0042996a
add esp, 0xc
test al, al
je 0x421589
add dword [ebp + 0x70], 0xe
mov eax, dword [ebp + 0x70]
movzx eax, word [eax]
cmp ax, bx
je 0x421539
call fcn.0040ac1b
test al, al
jne 0x421539
mov esi, dword [ebp + 0x70]
lea eax, [ebp + 0x70]
push eax
call fcn.00403ff2
mov eax, dword [ebp + 0x70]
cmp word [eax], bx
pop ecx
je 0x421552
mov word [eax], bx
add dword [ebp + 0x70], 2
lea ecx, [ebp + 0x70]
call fcn.0040ac34
cmp esi, ebx
je 0x42166f
push esi
call edi
cmp eax, ebx
jle 0x421582
cmp word [esi + eax*2 - 2], 0x26
jne 0x42157a
mov word [esi + eax*2], bx
dec eax
cmp eax, ebx
jg 0x421569
cmp eax, ebx
jg 0x42166f
xor esi, esi
jmp 0x42166f
push 7
push dword [ebp + 0x70]
push str.DevID:
call fcn.0042996a
add esp, 0xc
test al, al
je 0x421600
add dword [ebp + 0x70], 0xe
mov eax, dword [ebp + 0x70]
movzx eax, word [eax]
cmp ax, bx
je 0x4215ba
call fcn.0040ac1b
test al, al
jne 0x4215ba
mov esi, dword [ebp + 0x70]
lea eax, [ebp + 0x70]
push eax
call fcn.00403ff2
mov eax, dword [ebp + 0x70]
cmp word [eax], bx
pop ecx
je 0x4215d3
mov word [eax], bx
add dword [ebp + 0x70], 2
lea ecx, [ebp + 0x70]
call fcn.0040ac34
cmp esi, ebx
je 0x42166f
push esi
call edi
cmp eax, ebx
jle 0x421582
cmp word [esi + eax*2 - 2], 0x26
jne 0x42157a
mov word [esi + eax*2], bx
dec eax
cmp eax, ebx
jg 0x4215ea
jmp 0x42157a
push 9
push dword [ebp + 0x70]
push str.disable:
call fcn.0042996a
add esp, 0xc
test al, al
je 0x42161f
add dword [ebp + 0x70], 2
mov byte [ebp + 0x66], bl
jmp 0x421639
push 8
push dword [ebp + 0x70]
push str.enable:
call fcn.0042996a
add esp, 0xc
test al, al
je 0x421665
mov byte [ebp + 0x66], 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 0x4214a8
call fcn.0040ac1b
test al, al
jne 0x4214a8
mov dword [ebp + 0x2c], ecx
jmp 0x4214a8
lea eax, [ebp + 0x70]
push eax
call fcn.00404037
pop ecx
mov eax, dword [ebp + 0x70]
cmp word [eax], 0x2a
je 0x4211d3
cmp byte [ebp + 0x6e], bl
mov dword [ebp - 0x18], esi
jne 0x4222a4
cmp byte [ebp + 8], bl
setl al
dec al
and eax, dword [ebp + 8]
or byte [ebp + 0x4f], al
mov byte [0x49ae50], al
mov al, byte [ebp + 0x6f]
and al, 0x10
mov byte [ebp + 0x6e], al
je 0x4216ae
cmp dword [ebp + 0x18], ebx
je 0x4222b7
cmp byte [ebp + 0x66], bl
jl 0x4216bc
cmp dword [ebp + 0x2c], ebx
jne 0x4222c3
cmp dword [ebp - 0x18], ebx
push 0x200010
setne al
lea ecx, [ebp + 0x30]
mov byte [0x49ae29], al
call fcn.0042e06b
mov eax, dword [ebp + 0x30]
push 8
add eax, 0x200000
push ebx
push eax
call fcn.00470340
mov eax, dword [ebp + 0x30]
lea esi, [eax + 2]
mov word [esi + 2], bx
mov word [esi], bx
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0x68], 0x1c
mov dword [ebp - 0x64], ebx
lea edi, [ebp - 0x60]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp + 0x70]
xor ecx, ecx
add esp, 0xc
cmp word [eax], 0x24
mov dword [ebp - 0x1c], esi
sete cl
mov dword [ebp + 0x10], ebx
cmp ecx, ebx
mov dword [ebp + 0x38], ecx
je 0x421735
jmp 0x42172a
inc dword [ebp + 0x10]
inc eax
inc eax
mov dword [ebp + 0x70], eax
cmp word [eax], 0x24
je 0x421727
lea ecx, [ebp + 0x70]
call fcn.0040ac34
mov edi, dword [sym.imp.SHLWAPI.dll_StrChrW]
push 0x2c
push dword [ebp + 0x70]
call edi
cmp eax, ebx
mov dword [ebp + 0x48], eax
mov dword [ebp + 0x68], ebx
mov dword [ebp + 0x3c], ebx
je 0x42178c
add dword [ebp + 0x48], 2
lea ecx, [ebp + 0x48]
mov word [eax], bx
call fcn.0040ac34
push 0x2c
push dword [ebp + 0x48]
call edi
cmp eax, ebx
mov dword [ebp + 0x68], eax
je 0x421783
add dword [ebp + 0x68], 2
lea ecx, [ebp + 0x68]
mov word [eax], bx
call fcn.0040ac34
push dword [ebp + 0x48]
call fcn.0040bf57
pop ecx
push dword [ebp + 0x70]
call fcn.0040bf57
cmp dword [ebp + 0x68], ebx
pop ecx
je 0x4217ca
push 0x2c
push dword [ebp + 0x68]
call edi
cmp eax, ebx
mov dword [ebp + 0x3c], eax
je 0x4217c1
mov word [eax], bx
inc eax
inc eax
lea ecx, [ebp + 0x3c]
mov dword [ebp + 0x3c], eax
call fcn.0040ac34
push dword [ebp + 0x3c]
call fcn.0040bf57
pop ecx
push dword [ebp + 0x68]
call fcn.0040bf57
pop ecx
push dword [ebp + 0x70]
call fcn.0046fe88
pop ecx
push dword [ebp + 0x70]
mov dword [ebp - 0x24], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp dword [ebp - 0x24], ebx
mov edi, eax
jne 0x421809
cmp edi, 4
jle 0x421809
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 + 0x2c], 1
je 0x42180c
mov dword [ebp + 0x2c], ebx
mov eax, dword [ebp + 0x68]
cmp eax, ebx
je 0x42181c
cmp word [eax], 0x2a
jne 0x42181c
mov dword [ebp + 0x68], ebx
cmp edi, 4
jle 0x42183b
mov eax, dword [ebp + 0x70]
lea eax, [eax + edi*2 - 8]
push 0x48727c
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x42183b
inc eax
jmp 0x42183d
xor eax, eax
cmp dword [ebp - 0x24], ebx
jne 0x42184d
cmp eax, ebx
mov dword [ebp + 0x58], 1
jne 0x421850
mov dword [ebp + 0x58], ebx
cmp dword [ebp + 0x10], 1
je 0x421873
cmp eax, ebx
je 0x421864
cmp dword [ebp + 0x38], ebx
je 0x421864
cmp dword [ebp + 0x68], ebx
jne 0x421873
cmp dword [ebp + 0x58], ebx
je 0x42186e
cmp dword [ebp + 0x38], ebx
jne 0x421873
mov byte [ebp + 0x66], bl
jmp 0x421877
mov byte [ebp + 0x66], 1
mov edi, dword [ebp + 0x68]
cmp edi, ebx
mov dword [ebp + 0x40], ebx
mov dword [0x49ae40], ebx
mov dword [0x49ae44], ebx
mov word [0x49ae48], bx
je 0x4218c8
cmp word [edi], bx
je 0x4218c8
push edi
lea ecx, [ebp + 0x40]
call fcn.0043a57e
push dword [ebp + 0x40]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [edi + eax*2 - 2], 0x5c
je 0x4218c0
push 0x484c48
lea ecx, [ebp + 0x40]
call fcn.0042e232
mov eax, dword [ebp + 0x40]
mov dword [0x49ae40], eax
cmp dword [ebp + 0x38], ebx
jne 0x4218d7
cmp byte [ebp + 0x4f], bl
je 0x4218f2
cmp byte [ebp + 0x67], bl
jne 0x4218f2
cmp byte [0x49ae38], bl
jne 0x4218f2
cmp byte [ebp + 0x6e], bl
jne 0x4218f2
cmp byte [ebp + 0x57], 1
je 0x4218f2
lea ecx, [ebp + 0x28]
call fcn.0040c8fc
cmp byte [ebp + 0x57], 2
jne 0x4218fb
mov dword [ebp + 0x28], ebx
cmp dword [ebp + 0x2c], ebx
je 0x42192c
mov eax, dword [ebp + 0x48]
cmp eax, ebx
je 0x42192c
or dword [ebp + 0x14], 0xffffffff
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00430ad7
mov eax, dword [ebp + 0x14]
cmp eax, ebx
pop ecx
pop ecx
jle 0x42192c
cmp eax, 0x14
jge 0x42192c
mov byte [ebp + 0xf], al
cmp byte [ebp + 0x65], 1
jne 0x42197e
cmp byte [ebp + 0x67], bl
jne 0x42197e
movsx eax, byte [ebp + 0x5f]
push eax
movsx eax, byte [0x49ae51]
push eax
push dword [ebp + 0x38]
movsx eax, byte [0x49ae50]
push dword [ebp + 0x58]
push eax
push dword [ebp - 0x44]
lea eax, [ebp - 0x404]
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 - 0x404]
push eax
push 0x488408
push dword [ebp + 4]
call fcn.0040c0f5
add esp, 0x2c
cmp byte [ebp + 0x5f], bl
jg 0x4219af
cmp byte [ebp + 0x6f], bl
jne 0x421a26
cmp byte [ebp + 0x5f], bl
jl 0x421a1a
cmp byte [0x49ae50], bl
je 0x421a1a
cmp dword [ebp + 0x58], ebx
jne 0x4219a7
cmp dword [ebp + 0x38], ebx
je 0x421a1a
cmp byte [0x49ae51], bl
jne 0x421a1a
cmp byte [ebp + 0x65], 1
jne 0x4219ca
push 0x484964
push 0x4883f0
push dword [ebp + 4]
call fcn.0040c0f5
add esp, 0xc
push ebx
push ebx
lea eax, [ebp + 0x14]
push eax
mov dword [ebp + 0x14], ebx
call dword [sym.imp.SETUPAPI.dll_CM_Locate_DevNodeW]
mov edi, 0x49aed0
push 5
mov ecx, edi
mov dword [ebp - 0x14], eax
call fcn.0040c4a3
mov ecx, edi
push 5
call fcn.0040c4a3
cmp dword [ebp - 0x14], ebx
jne 0x421a0b
push ebx
push dword [ebp + 0x14]
call dword [sym.imp.SETUPAPI.dll_CM_Reenumerate_DevNode]
mov ecx, edi
push 5
call fcn.0040c4a3
mov ecx, dword [ebp + 4]
push 0x32
call fcn.0040c4a3
cmp byte [ebp + 0x6f], bl
jne 0x421a26
mov eax, dword [ebp + 0x70]
cmp word [eax], bx
je 0x422333
lea ecx, [ebp + 0x24]
call fcn.0042e1c4
push dword [ebp + 0x70]
call fcn.0040dca1
push ebx
lea ecx, [ebp + 0x24]
push ecx
push eax
mov dword [ebp + 0x70], eax
call fcn.0043897f
mov dword [ebp + 0x70], eax
add esp, 0x10
xor eax, eax
cmp byte [ebp + 0x6f], bl
je 0x421a5a
test byte [ebp + 0x6f], 0x20
jne 0x421a5a
push 2
pop eax
or eax, 4
push eax
push ebx
push ebx
push ebx
call dword [0x49ada0]
cmp eax, 0xffffffff
mov dword [ebp + 0x10], eax
jne 0x421a7b
cmp dword [ebp + 0x58], ebx
mov dword [ebp + 0x10], ebx
je 0x42233b
test byte [ebp + 0x6f], 4
push 0
pop eax
setne al
inc eax
cmp dword [ebp + 0x58], ebx
mov dword [ebp - 0x48], eax
jne 0x421a96
cmp byte [ebp + 0x66], bl
mov dword [ebp + 0x14], ebx
je 0x421a9d
mov dword [ebp + 0x14], 1
lea ecx, [ebp + 0x44]
call fcn.0042e1c4
push 0x3f
xor eax, eax
pop ecx
mov word [ebp - 0x274], bx
lea edi, [ebp - 0x272]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x3f
xor eax, eax
cmp byte [ebp + 0x67], bl
mov word [ebp - 0x174], bx
pop ecx
lea edi, [ebp - 0x172]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [ebp - 0x68], 0x1c
jne 0x421cc5
cmp dword [ebp + 0x10], ebx
je 0x421cc5
mov eax, esi
sub eax, dword [ebp - 8]
mov dword [ebp + 0x58], ebx
cmp eax, 0x200000
jge 0x421cc5
push 0x1c
pop edi
lea eax, [ebp - 0x68]
push eax
push dword [ebp + 0x58]
push dword [ebp + 0x10]
call dword [0x49adb4]
test eax, eax
je 0x421cc5
cmp byte [ebp + 0x6f], bl
je 0x421bbe
cmp dword [0x49ae2c], ebx
je 0x421b5b
push ebx
push 0x80
lea eax, [ebp - 0x274]
push eax
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.SETUPAPI.dll_SetupDiClassNameFromGuidW]
push dword [0x49ae2c]
lea eax, [ebp - 0x274]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x421cb2
test byte [ebp + 0x6f], 2
je 0x421bbe
push ebx
push 0x80
lea eax, [ebp - 0x174]
push eax
lea eax, [ebp - 0x68]
push eax
push dword [ebp + 0x10]
call dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInstanceIdW]
cmp byte [ebp + 0x6e], bl
je 0x421ba1
mov eax, dword [ebp + 0x44]
cmp word [eax], bx
je 0x421b95
push 0x487330
lea ecx, [ebp + 0x44]
call fcn.0042e232
lea eax, [ebp - 0x174]
push eax
jmp 0x421c3b
cmp dword [ebp - 0x18], ebx
je 0x421bbe
lea eax, [ebp - 0x174]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x421cb2
mov eax, dword [0x49adc4]
cmp eax, ebx
mov dword [ebp - 0x4c], ebx
je 0x421be2
push ebx
push dword [ebp - 0x54]
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x14]
push ecx
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x14], 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 0x421bfe
mov eax, ecx
push ebx
push eax
push esi
push ebx
push dword [ebp - 0x48]
lea eax, [ebp - 0x68]
push eax
push dword [ebp + 0x10]
mov dword [ebp - 0x68], edi
call dword [0x49ada4]
cmp eax, ebx
mov dword [ebp - 0x68], edi
je 0x421cb2
cmp byte [ebp + 0x6e], bl
je 0x421c45
mov eax, dword [ebp + 0x44]
cmp word [eax], bx
je 0x421c3a
push 0x487330
lea ecx, [ebp + 0x44]
call fcn.0042e232
push esi
lea ecx, [ebp + 0x44]
call fcn.0042e232
jmp 0x421cb2
push 4
push str.ACPI
push esi
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
je 0x421cb2
cmp byte [ebp + 0x65], 1
jne 0x421c6f
push esi
push dword [ebp + 0x58]
push dword [ebp - 0x3c]
push dword [ebp + 4]
call fcn.0040c0f5
add esp, 0x10
xor ecx, ecx
xor edx, edx
xor eax, eax
mov ax, word [esi]
jmp 0x421c91
cmp ax, 0x26
jne 0x421c89
movsx eax, byte [ebp + 0xf]
inc edx
cmp edx, eax
jge 0x421c96
inc ecx
movzx eax, cx
mov ax, word [esi + eax*2]
cmp ax, bx
jne 0x421c7a
movzx eax, cx
mov word [esi - 2], cx
lea esi, [esi + eax*2]
jmp 0x421ca4
inc esi
inc esi
cmp word [esi], bx
jne 0x421ca2
add esi, 4
test byte [ebp + 0x6f], 2
jne 0x421cc5
inc dword [ebp + 0x58]
mov eax, esi
sub eax, dword [ebp - 8]
cmp eax, 0x200000
jl 0x421b00
cmp byte [ebp + 0x6e], bl
jne 0x422347
cmp dword [ebp + 0x14], ebx
je 0x421ce2
test byte [ebp + 0x6f], 2
je 0x421ce2
mov dword [ebp - 0x14], 1
jmp 0x421d1f
cmp dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
je 0x421d1f
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, dword [ebp - 0x1c]
mov esi, eax
mov eax, dword [ebp - 8]
mov word [eax], si
lea eax, [esi + 1]
push eax
push dword [ebp - 0x18]
push edi
call fcn.00403fda
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 [0x49ada8]
cmp byte [ebp + 0x67], bl
jne 0x421d46
push 0x484964
push 0x487330
push dword [ebp + 4]
call fcn.0040c0f5
add esp, 0xc
mov edi, dword [ebp - 0x38]
mov ecx, dword [ebp + 0x50]
lea eax, [edi + edi]
push 8
mov dword [ebp - 0x1c], eax
mov esi, 0x4883dc
add eax, ecx
push esi
push eax
call fcn.00470580
add esp, 0xc
cmp dword [ebp + 0x14], ebx
jne 0x42235d
cmp dword [ebp + 0x10], ebx
je 0x42278b
cmp byte [ebp + 0x67], bl
jne 0x421d9a
mov esi, dword [ebp - 8]
cmp word [esi], bx
je 0x422797
cmp dword [ebp - 0x24], ebx
jne 0x4227a3
cmp dword [ebp + 0x2c], ebx
je 0x4227a3
mov eax, dword [0x49ae40]
cmp eax, ebx
je 0x421dad
cmp word [eax], 0x2a
jne 0x421e36
cmp dword [ebp + 0x38], ebx
mov cl, byte [0x49ae50]
je 0x421dc4
cmp cl, bl
jne 0x421dc8
cmp byte [0x49ae38], bl
jne 0x421dc8
cmp cl, bl
jne 0x421e3e
lea ecx, [ebp - 0x2c]
call fcn.0042e1c4
push 0x4883d4
push str.devi
push ebx
lea eax, [ebp - 0x2c]
push ebx
push eax
call fcn.0040413a
add esp, 0x14
push 0x484c48
lea ecx, [ebp - 0x2c]
call fcn.0042e232
push dword [ebp - 0x2c]
lea ecx, [ebp + 0x1c]
call fcn.0040c89a
cmp byte [0x49ae50], bl
jne 0x421e24
cmp byte [0x49ae38], bl
jne 0x421e24
push eax
mov dword [0x49ae44], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov word [0x49ae48], ax
jmp 0x421e29
mov dword [0x49ae40], eax
lea ecx, [ebp - 0x2c]
call fcn.00428a48
mov eax, dword [0x49ae40]
cmp byte [0x49ae50], bl
je 0x421e56
cmp byte [ebp + 0x67], bl
jne 0x421e56
cmp eax, ebx
je 0x421e56
cmp byte [0x49ae51], bl
jne 0x421e56
mov dword [ebp + 0x38], 1
cmp byte [ebp + 0x37], bl
je 0x421e62
xor eax, eax
mov dword [0x49ae40], eax
cmp byte [0x49ae51], bl
je 0x421e76
cmp eax, ebx
je 0x421e76
cmp dword [ebp + 0x3c], ebx
je 0x421e76
mov dword [ebp + 0x38], ebx
movzx ecx, word [0x49ae3c]
neg eax
sbb eax, eax
and eax, 0xfffffffd
shl ecx, 0x10
add eax, 3
or eax, ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp + 0x58], eax
mov eax, dword [ebp + 0x50]
push 0xa
add ecx, eax
push str.INF_
push ecx
call fcn.00470580
add esp, 0xc
push 0x1040
lea ecx, [ebp - 0x28]
call fcn.0042e1e2
xor eax, eax
mov dword [ebp - 0x714], ebx
mov ecx, 0x93
lea edi, [ebp - 0x710]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x714]
push eax
push dword [ebp + 0x70]
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], ebx
call fcn.0046ff71
add esp, 0xc
cmp dword [ebp - 0x20], ebx
je 0x422806
push dword [ebp + 0x70]
lea ecx, [ebp - 0xc]
call fcn.0043a4ba
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x70]
call fcn.0043f63b
pop ecx
pop ecx
push 0x484c48
lea ecx, [ebp - 0xc]
call fcn.0042e232
push str.DefaultInstall_132
lea ecx, [ebp - 4]
call fcn.0043a4ba
push dword [ebp - 4]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
call esi
push dword [ebp - 0xc]
mov dword [ebp + 0x2c], eax
call esi
cmp dword [ebp + 0x38], ebx
mov ecx, eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ecx
mov word [eax + ecx*2], bx
jne 0x421f4e
cmp byte [ebp + 0x67], bl
mov dword [ebp + 0x48], 1
je 0x421f51
mov dword [ebp + 0x48], ebx
mov eax, dword [0x49ae40]
neg eax
sbb eax, eax
and eax, 0x20000
add eax, 0x10000
or dword [ebp + 0x58], eax
jmp 0x421f6c
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x28]
mov word [eax], bx
test byte [ebp - 0x714], 0x10
mov dword [0x49adcc], eax
mov dword [0x49ae4c], ebx
jne 0x4221a8
mov eax, dword [ebp - 0xc]
mov word [eax + ecx*2], bx
lea eax, [ebp - 0x6e8]
push eax
lea ecx, [ebp - 0xc]
call fcn.0042e232
push dword [ebp - 8]
push 0x41a3b2
push ebx
push dword [ebp - 0xc]
call dword [0x49adb8]
cmp dword [ebp + 0x38], ebx
je 0x42209a
mov edi, dword [ebp - 0x28]
cmp edi, dword [0x49adcc]
jae 0x422091
push edi
mov esi, edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp byte [ebp + 0x65], 1
lea edi, [edi + eax*2 + 2]
jle 0x421fef
push 0xffffffffffffffff
mov eax, esi
call fcn.0040c66d
test eax, eax
pop ecx
jne 0x422081
cmp byte [0x49ae38], bl
mov dword [ebp + 0x68], 4
je 0x42200b
push dword [ebp + 0x58]
push edi
call fcn.00411f98
pop ecx
pop ecx
jmp 0x422081
cmp byte [0x49ae50], 3
je 0x422032
push dword [ebp + 0x58]
or dword [ebp + 0x68], 2
push edi
push esi
call fcn.00411ea8
add esp, 0xc
cmp eax, ebx
mov dword [ebp + 0x48], eax
je 0x422081
test byte [ebp + 0x68], 1
jne 0x422056
or dword [ebp + 0x68], 1
cmp byte [0x49ae50], 3
jne 0x42204b
push esi
push edi
call fcn.0040c7b5
pop ecx
pop ecx
mov dword [ebp + 0x48], eax
cmp dword [ebp + 0x48], ebx
je 0x422081
test byte [ebp + 0x68], 2
je 0x422014
test byte [ebp + 0x68], 4
jne 0x422081
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x2c]
mov word [eax + ecx*2], bx
push edi
lea ecx, [ebp - 4]
call fcn.0042e232
push 0x100000
push dword [ebp - 4]
push ebx
push ebx
call fcn.0040c8b4
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [edi + eax*2 + 2]
jmp 0x421fbe
cmp dword [ebp + 0x38], ebx
jne 0x4221a8
cmp byte [0x49ae51], bl
je 0x4221a8
cmp dword [ebp + 0x3c], ebx
je 0x4221a8
mov eax, dword [0x49ae40]
cmp eax, ebx
je 0x4221a8
push eax
lea ecx, [ebp + 0x20]
call fcn.0043a4ba
push dword [ebp + 0x3c]
lea ecx, [ebp + 0x20]
call fcn.0042e232
push dword [ebp + 0x20]
push 0x488374
push dword [ebp + 4]
call fcn.0040c0f5
push dword [ebp + 0x20]
push dword [ebp - 8]
call fcn.00419f92
mov edi, eax
add esp, 0x14
cmp edi, ebx
mov esi, edi
jne 0x4220fb
mov esi, 0x484964
cmp byte [0x49ae50], 3
mov dword [ebp + 0x68], 4
je 0x42213d
or dword [ebp + 0x68], 2
cmp edi, ebx
je 0x422125
push dword [ebp + 0x58]
push dword [ebp + 0x20]
push edi
call fcn.00411ea8
add esp, 0xc
mov dword [ebp + 0x48], eax
inc dword [ebp + 0x68]
cmp dword [ebp + 0x68], 2
jge 0x422199
cmp edi, ebx
je 0x422137
cmp dword [ebp + 0x48], ebx
je 0x422199
test byte [ebp + 0x68], 2
jne 0x42216c
or dword [ebp + 0x68], 1
cmp byte [0x49ae50], 3
jne 0x422158
push esi
push dword [ebp + 0x20]
call fcn.0040c7b5
pop ecx
pop ecx
mov dword [ebp + 0x48], eax
inc dword [ebp + 0x68]
cmp dword [ebp + 0x68], 2
jge 0x422199
cmp dword [ebp + 0x48], ebx
je 0x422199
test byte [ebp + 0x68], 2
je 0x42210b
test byte [ebp + 0x68], 4
jne 0x422199
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x2c]
mov word [eax + ecx*2], bx
push dword [ebp + 0x20]
lea ecx, [ebp - 4]
call fcn.0042e232
push 0x100000
push dword [ebp - 4]
push ebx
push ebx
call fcn.0040c8b4
add esp, 0x10
cmp edi, ebx
je 0x4221a0
mov word [edi], bx
lea ecx, [ebp + 0x20]
call fcn.00428a48
lea eax, [ebp - 0x714]
push eax
lea ecx, [ebp - 0x20]
call fcn.004040e9
test eax, eax
jne 0x421f69
lea ecx, [ebp - 0x20]
call fcn.00402ad6
cmp dword [ebp + 0x48], ebx
mov eax, dword [ebp]
mov word [eax], 0x5f
jne 0x4221d7
mov dword [ebp + 0x60], ebx
cmp dword [ebp + 0x38], ebx
je 0x42280f
cmp dword [0x49ae40], ebx
je 0x42280f
cmp byte [0x49ae50], 1
jne 0x42280f
cmp byte [ebp + 0x37], bl
jne 0x42280f
cmp dword [ebp + 0x3c], ebx
jne 0x42280f
lea ecx, [ebp - 4]
mov dword [0x49ae40], ebx
mov byte [ebp + 0x37], 1
call fcn.00428a48
lea ecx, [ebp - 0xc]
call fcn.00428a48
lea ecx, [ebp - 0x20]
call fcn.00402ad6
lea ecx, [ebp - 0x28]
call fcn.00428a48
lea ecx, [ebp + 0x44]
call fcn.00428a48
lea ecx, [ebp + 0x24]
call fcn.00428a48
lea ecx, [ebp + 0x40]
call fcn.00428a48
lea ecx, [ebp + 0x30]
call fcn.00428a48
jmp 0x4210f4
lea ecx, [ebp + 0x50]
call fcn.00428a48
lea ecx, [ebp - 0x34]
call fcn.0040c912
lea ecx, [ebp]
call fcn.00428a48
lea ecx, [ebp - 0x10]
call fcn.00428a48
lea ecx, [ebp + 0x1c]
call fcn.00420dfa
lea ecx, [ebp + 0x1c]
call fcn.00428a48
cmp dword [ebp + 0x28], ebx
jle 0x42229a
push ebx
push dword [ebp + 0x28]
call fcn.0042cc91
pop ecx
pop ecx
mov ebx, 0x80070057
jmp 0x4228b6
xor eax, eax
mov al, byte [ebp + 0x6e]
and eax, 0x12
push eax
push ebx
call fcn.0042cc91
pop ecx
pop ecx
jmp 0x4222ea
mov dword [ebp + 0x60], 0x80070057
jmp 0x42286a
push dword [ebp + 0x2c]
lea ecx, [ebp + 0x7c]
call fcn.0040ab8a
push 0x100
push dword [eax]
movsx eax, byte [ebp + 0x66]
push eax
call fcn.00429c64
add esp, 0xc
lea ecx, [ebp + 0x7c]
call fcn.00428a48
lea ecx, [ebp + 0x50]
call fcn.00428a48
lea ecx, [ebp - 0x34]
call fcn.0040c912
lea ecx, [ebp]
call fcn.00428a48
lea ecx, [ebp - 0x10]
call fcn.00428a48
lea ecx, [ebp + 0x1c]
call fcn.00420dfa
lea ecx, [ebp + 0x1c]
call fcn.00428a48
cmp dword [ebp + 0x28], ebx
jle 0x4228b6
push ebx
push dword [ebp + 0x28]
call fcn.0042cc91
pop ecx
pop ecx
jmp 0x4228b6
mov dword [ebp + 0x60], ebx
jmp 0x42285a
mov dword [ebp + 0x60], 1
jmp 0x422852
push dword [ebp + 0x44]
mov ecx, dword [ebp + 4]
push dword [ebp + 0x18]
call fcn.0042cbf7
mov dword [ebp + 0x60], ebx
jmp 0x42284a
cmp dword [ebp + 0x38], ebx
mov dword [ebp + 0x20], ebx
jne 0x4223df
mov eax, dword [ebp - 8]
cmp word [eax], bx
jne 0x4223df
cmp byte [0x49ae51], bl
jne 0x4223df
lea ecx, [ebp + 0x44]
call fcn.00428a48
lea ecx, [ebp + 0x24]
call fcn.00428a48
lea ecx, [ebp + 0x40]
call fcn.00428a48
lea ecx, [ebp + 0x30]
call fcn.00428a48
lea ecx, [ebp + 0x50]
call fcn.00428a48
lea ecx, [ebp - 0x34]
call fcn.0040c912
lea ecx, [ebp]
call fcn.00428a48
lea ecx, [ebp - 0x10]
call fcn.00428a48
lea ecx, [ebp + 0x1c]
call fcn.00420dfa
lea ecx, [ebp + 0x1c]
call fcn.00428a48
cmp dword [ebp + 0x28], ebx
jle 0x4223d5
push ebx
push dword [ebp + 0x28]
call fcn.0042cc91
pop ecx
pop ecx
mov ebx, 0x491
jmp 0x4228b6
lea eax, [edi + 4]
mov dword [ebp + 0x14], eax
add eax, 0x3c
push eax
lea ecx, [ebp + 0x18]
call fcn.0042e1e2
mov eax, dword [ebp + 0x50]
push 0x22
add edi, edi
add eax, edi
push str.System32DRIVERS
push eax
call fcn.00470580
push dword [ebp + 0x50]
call fcn.0046fe88
add esp, 0x10
test eax, eax
jne 0x42241e
push ebx
push dword [ebp + 0x50]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, dword [ebp + 0x50]
push 8
add eax, edi
push esi
push eax
call fcn.00470580
push dword [ebp + 0x50]
call fcn.0046fe88
add esp, 0x10
test eax, eax
jne 0x422445
push ebx
push dword [ebp + 0x50]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, dword [ebp + 0x50]
push 0xa
add edi, eax
push str.INF_
push edi
call fcn.00470580
movzx eax, word [0x49ae3c]
shl eax, 0x10
mov dword [ebp + 0x2c], eax
xor eax, eax
mov dword [ebp - 0x4c4], ebx
mov ecx, 0x93
lea edi, [ebp - 0x4c0]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x4c4]
push eax
push dword [ebp + 0x70]
lea eax, [ebp + 0x58]
push eax
mov dword [ebp + 0x58], ebx
call fcn.0046ff71
add esp, 0x18
cmp dword [ebp + 0x58], ebx
jne 0x4224ae
lea ecx, [ebp + 0x58]
mov dword [ebp + 0x60], 2
call fcn.00402ad6
lea ecx, [ebp + 0x18]
jmp 0x422845
push dword [ebp + 0x70]
lea ecx, [ebp + 0x60]
call fcn.0043a4ba
lea eax, [ebp + 0x60]
push eax
push dword [ebp + 0x70]
call fcn.0043f63b
pop ecx
pop ecx
push 0x484c48
lea ecx, [ebp + 0x60]
call fcn.0042e232
mov esi, dword [ebp + 0x68]
cmp esi, ebx
je 0x4224e0
cmp word [esi], bx
jne 0x4224e5
mov esi, 0x488348
mov eax, dword [ebp + 0x48]
cmp eax, ebx
je 0x4224f1
cmp word [eax], bx
jne 0x4224f6
mov eax, str.DefaultInstall
push eax
lea ecx, [ebp + 0x3c]
call fcn.0043a4ba
mov edi, 0x4850e8
push edi
lea ecx, [ebp + 0x3c]
call fcn.0042e232
push esi
lea ecx, [ebp + 0x3c]
call fcn.0042e232
push edi
lea ecx, [ebp + 0x3c]
call fcn.0042e232
push dword [ebp + 0x3c]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
call edi
push dword [ebp + 0x60]
mov dword [ebp - 0x1c], eax
call edi
mov dword [ebp - 0x38], eax
test byte [ebp - 0x4c4], 0x10
jne 0x4226ec
mov eax, dword [ebp + 0x60]
mov ecx, dword [ebp - 0x38]
mov word [eax + ecx*2], bx
lea eax, [ebp - 0x498]
push eax
lea ecx, [ebp + 0x60]
call fcn.0042e232
mov esi, dword [ebp + 0x60]
lea ecx, [ebp + 8]
mov dword [ebp - 0x3c], esi
mov byte [ebp + 0x7f], bl
call fcn.0042e1c4
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x24], ebx
mov word [eax], bx
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp + 8]
push eax
push esi
call fcn.0043897f
mov dword [ebp + 0x70], eax
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp + 8]
add esp, 0xc
sar eax, 1
cmp dword [ebp + 0x14], eax
jne 0x4225af
push dword [ebp + 0x14]
push dword [ebp + 8]
push dword [ebp + 0x50]
call fcn.0040aac7
add esp, 0xc
test al, al
je 0x4225af
mov byte [ebp + 0x7f], 1
cmp dword [ebp - 0x14], ebx
je 0x4225bb
mov esi, dword [ebp - 0x18]
cmp esi, ebx
jne 0x4225ca
push dword [ebp + 0x60]
push dword [ebp - 8]
call fcn.00419f92
pop ecx
pop ecx
mov esi, eax
cmp byte [0x49ae51], bl
jne 0x4225ea
cmp dword [ebp + 0x38], ebx
jne 0x4225fd
cmp byte [ebp + 0x4f], bl
je 0x4225e1
cmp byte [ebp + 0x7f], bl
jne 0x4225fd
cmp esi, ebx
jne 0x4225fd
jmp 0x4226e4
push dword [ebp + 0x60]
push 0x488374
push dword [ebp + 4]
call fcn.0040c0f5
add esp, 0xc
cmp esi, ebx
mov edi, esi
jne 0x422608
mov edi, 0x484964
cmp dword [ebp + 0x38], ebx
mov dword [ebp + 0x7c], 4
jne 0x422687
cmp byte [0x49ae38], bl
je 0x42262e
push dword [ebp + 0x2c]
push dword [ebp + 0x60]
call fcn.00411f98
pop ecx
pop ecx
jmp 0x4226ce
cmp byte [0x49ae50], 3
je 0x42265b
or dword [ebp + 0x7c], 2
cmp esi, ebx
je 0x422655
push dword [ebp + 0x2c]
push dword [ebp + 0x60]
push esi
call fcn.00411ea8
add esp, 0xc
cmp eax, ebx
mov dword [ebp + 0x20], eax
je 0x4226ce
test byte [ebp + 0x7c], 1
jne 0x422681
or dword [ebp + 0x7c], 1
cmp byte [0x49ae50], 3
jne 0x422676
push edi
push dword [ebp + 0x60]
call fcn.0040c7b5
pop ecx
pop ecx
mov dword [ebp + 0x20], eax
cmp dword [ebp + 0x20], ebx
je 0x4226ce
test byte [ebp + 0x7c], 2
je 0x422637
test byte [ebp + 0x7c], 4
jne 0x4226ce
cmp byte [0x49ae38], bl
jne 0x42261c
cmp byte [0x49ae28], bl
jne 0x4226ce
mov eax, dword [ebp + 0x3c]
mov ecx, dword [ebp - 0x1c]
push dword [ebp - 0x3c]
mov word [eax + ecx*2], bx
lea ecx, [ebp + 0x3c]
call fcn.0042e232
push ebx
push dword [ebp + 0x3c]
push ebx
push ebx
call fcn.0040c8b4
add esp, 0x10
cmp eax, ebx
mov dword [ebp + 0x20], eax
jne 0x4226ce
cmp dword [0x49ae24], ebx
je 0x4226ce
call fcn.0040c690
cmp esi, ebx
je 0x4226d5
mov word [esi], bx
mov eax, dword [ebp + 0x18]
cmp word [eax], bx
je 0x4226e4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp + 8]
call fcn.00428a48
lea eax, [ebp - 0x4c4]
push eax
lea ecx, [ebp + 0x58]
call fcn.004040e9
test eax, eax
jne 0x422535
lea ecx, [ebp + 0x3c]
call fcn.00428a48
lea ecx, [ebp + 0x60]
call fcn.00428a48
lea ecx, [ebp + 0x58]
call fcn.00402ad6
lea ecx, [ebp + 0x18]
call fcn.00428a48
lea ecx, [ebp + 0x44]
call fcn.00428a48
lea ecx, [ebp + 0x24]
call fcn.00428a48
lea ecx, [ebp + 0x40]
call fcn.00428a48
lea ecx, [ebp + 0x30]
call fcn.00428a48
lea ecx, [ebp + 0x50]
call fcn.00428a48
lea ecx, [ebp - 0x34]
call fcn.0040c912
lea ecx, [ebp]
call fcn.00428a48
lea ecx, [ebp - 0x10]
call fcn.00428a48
lea ecx, [ebp + 0x1c]
call fcn.00420dfa
lea ecx, [ebp + 0x1c]
call fcn.00428a48
cmp dword [ebp + 0x28], ebx
jle 0x422783
push ebx
push dword [ebp + 0x28]
call fcn.0042cc91
pop ecx
pop ecx
mov ebx, dword [ebp + 0x20]
jmp 0x4228b6
mov dword [ebp + 0x60], 1
jmp 0x42284a
mov dword [ebp + 0x60], 0x491
jmp 0x42284a
push dword [ebp + 0x70]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, eax
dec ecx
cmp ecx, 1
jl 0x4227d0
mov eax, dword [ebp + 0x70]
lea edx, [eax + ecx*2]
xor eax, eax
mov ax, word [edx]
push eax
call fcn.0040acaa
add esp, 4
test al, al
je 0x4227d0
mov word [edx], bx
dec ecx
cmp ecx, ebx
jge 0x4227dd
mov dword [ebp + 0x60], 0x80070057
jmp 0x42284a
mov ecx, dword [ebp + 0x48]
cmp ecx, ebx
je 0x4227eb
cmp word [ecx], bx
jne 0x4227eb
xor ecx, ecx
xor eax, eax
mov al, byte [ebp + 0x36]
or eax, 0x10
push eax
push ecx
push esi
push dword [ebp + 0x70]
call fcn.0041a084
add esp, 0x10
mov dword [ebp + 0x60], eax
jmp 0x42284a
mov dword [ebp + 0x60], 2
jmp 0x42283a
push 0x484964
push 0x487330
push dword [ebp + 4]
mov dword [0x49ae40], ebx
call fcn.0040c0f5
add esp, 0xc
lea ecx, [ebp - 4]
call fcn.00428a48
lea ecx, [ebp - 0xc]
call fcn.00428a48
lea ecx, [ebp - 0x20]
call fcn.00402ad6
lea ecx, [ebp - 0x28]
call fcn.00428a48
lea ecx, [ebp + 0x44]
call fcn.00428a48
lea ecx, [ebp + 0x24]
call fcn.00428a48
lea ecx, [ebp + 0x40]
call fcn.00428a48
lea ecx, [ebp + 0x30]
call fcn.00428a48
mov ecx, dword [ebp + 4]
push ebx
call fcn.004403ab
lea ecx, [ebp + 0x50]
call fcn.00428a48
lea ecx, [ebp - 0x34]
call fcn.0040c912
lea ecx, [ebp]
call fcn.00428a48
lea ecx, [ebp - 0x10]
call fcn.00428a48
lea ecx, [ebp + 0x1c]
call fcn.00420dfa
lea ecx, [ebp + 0x1c]
call fcn.00428a48
cmp dword [ebp + 0x28], ebx
jle 0x4228b3
push ebx
push dword [ebp + 0x28]
call fcn.0042cc91
pop ecx
pop ecx
mov ebx, dword [ebp + 0x60]
mov eax, 0x49b604
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
mov eax, ebx
pop ebx
add ebp, 0x74
leave
ret 4