Function at 0x408a70
Capabilities:
Get installed programs
Query or enumerate registry key
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x444b91
mov eax, dword fs:[0]
push eax
sub esp, 0x470
mov eax, dword [0x45ba98]
xor eax, esp
mov dword [esp + 0x468], eax
push ebx
push esi
push edi
mov eax, dword [0x45ba98]
xor eax, esp
push eax
lea eax, [esp + 0x480]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor edi, edi
mov ebx, ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x60], esi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov eax, dword [esi + 0x20]
push 0x30000
push edi
push 0x401
push eax
mov dword [esp + 0x498], edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi + 0x20]
push edi
push 1
push 0x404
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebx + 0x144]
mov dword [esp + 0x1c], eax
cmp eax, edi
je 0x408e5e
jmp 0x408b10
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x408f0f
mov esi, dword [eax + 8]
mov edx, dword [eax]
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
sub esi, 0x10
mov dword [esp + 0x1c], edx
mov edx, dword [eax + 0x10]
call edx
cmp dword [esi + 0xc], edi
lea ecx, [esi + 0xc]
jl 0x408b4b
cmp eax, dword [esi]
jne 0x408b4b
mov ebx, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x408b86
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
cmp ebx, edi
je 0x408f14
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [ebx + 0x10]
push eax
call fcn.00430abf
add esp, 0x10
lea eax, [ebx + 0x10]
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x20]
push ecx
push 0x20019
push edi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [esp + 0x49c], 1
mov dword [esp + 0x34], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x408e24
mov ecx, dword [esp + 0x44]
xor eax, eax
cmp ecx, edi
je 0x408bc9
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], edx
cmp eax, edi
jne 0x408e24
mov edx, dword [esp + 0x14]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x408c03
push esi
lea ecx, [esp + 0x18]
call fcn.00401240
mov edx, dword [esp + 0x14]
lea eax, [esi + 1]
push eax
push edx
call fcn.00431987
add esp, 8
cmp esi, edi
jl 0x408f23
mov eax, dword [esp + 0x14]
cmp esi, dword [eax - 8]
jg 0x408f23
mov dword [eax - 0xc], esi
mov edx, dword [esp + 0x14]
xor ecx, ecx
mov word [edx + esi*2], cx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
push edi
add ecx, 0x10
push eax
call fcn.004206d9
test eax, eax
jne 0x408e0d
call fcn.00411999
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
je 0x408f19
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x2c], esi
mov ecx, dword [esp + 0x14]
xor ebx, ebx
cmp dword [ecx - 0xc], edi
mov byte [esp + 0x488], 2
jl 0x408d57
push str.SUBSYS_
push ecx
call fcn.004316ba
mov ecx, dword [esp + 0x1c]
add esp, 8
cmp eax, edi
je 0x408d57
sub eax, ecx
sar eax, 1
cmp eax, edi
jle 0x408d57
push 8
add eax, 7
push eax
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x20]
call fcn.004075e0
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x48c], 3
call fcn.00401870
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
mov byte [esp + 0x488], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x408cfb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x2c]
mov edx, dword [esi - 0xc]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x408d21
push edx
lea ecx, [esp + 0x30]
call fcn.00401240
mov esi, dword [esp + 0x2c]
push 0x10
push edi
push esi
call fcn.00431f1b
mov ebx, eax
mov eax, dword [esi - 8]
push eax
push esi
call fcn.00430ec7
add esp, 0x14
cmp eax, edi
jl 0x408f23
cmp eax, dword [esi - 8]
jg 0x408f23
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
mov ecx, dword [esp + 0x14]
mov dl, byte [0x45cecc]
mov eax, ebx
and eax, 0xfc000000
cmp eax, 0x8000000
je 0x408d76
test dl, dl
je 0x408dd8
cmp eax, 0x8000000
jne 0x408d7b
cmp dl, 1
je 0x408dd8
cmp dword [ecx - 0xc], edi
jl 0x408d9f
push str.SUBSYS_
push ecx
call fcn.004316ba
mov ecx, dword [esp + 0x1c]
add esp, 8
cmp eax, edi
je 0x408d9f
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
jne 0x408da8
cmp byte [0x45cecc], 0
je 0x408dd8
mov eax, dword [str.INTASHIELD]
cmp eax, edi
je 0x408de9
cmp dword [ecx - 0xc], edi
jl 0x408de9
push eax
push ecx
call fcn.004316ba
add esp, 8
cmp eax, edi
je 0x408de9
sub eax, dword [esp + 0x14]
sar eax, 1
cmp eax, 0xffffffff
je 0x408de9
cmp byte [0x45cecc], 1
jne 0x408de9
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x14]
push edx
add ecx, 0x10
call fcn.00420786
lea eax, [esi - 0x10]
mov byte [esp + 0x488], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408e0d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
cmp eax, edi
je 0x408e20
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x488], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408e4c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x1c], edi
jne 0x408b10
mov esi, dword [esp + 0x60]
mov ebx, dword [esp + 0x28]
mov ecx, dword [esi + 0x20]
push edi
push edi
push 0x405
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [str.SoftwareMicrosoftWindowsCurrentVersionUninstallBoost.PCIe]
lea ecx, [ebx + 0x10]
push edx
call fcn.0042083e
mov ebx, dword [ebx + 0xf0]
cmp ebx, edi
je 0x40958e
mov eax, ebx
cmp ebx, edi
je 0x408f0f
mov eax, dword [eax + 8]
mov ebx, dword [ebx]
sub eax, 0x10
push eax
mov dword [esp + 0x58], ebx
call fcn.00401760
lea esi, [eax + 0x10]
add esp, 4
mov dword [esp + 0x4c], esi
lea eax, [esp + 0x14]
push eax
push 0x20019
push edi
push esi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x408ef2
mov ecx, dword [esp + 0x44]
xor eax, eax
cmp ecx, edi
je 0x408ede
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], esi
cmp eax, edi
je 0x408f2d
mov esi, dword [esp + 0x4c]
lea eax, [esi - 0x10]
mov byte [esp + 0x488], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x40957a
call fcn.004118ba
call fcn.004010b0
push 0x80004005
call fcn.00401000
push 0x80070057
call fcn.00401000
push 0x104
lea ecx, [esp + 0x78]
push ecx
push edi
push esi
mov dword [esp + 0x3c], edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x40954b
mov dword [esp + 0x34], edi
lea edx, [esp + 0x30]
push edx
push 0x20019
push edi
lea eax, [esp + 0x80]
push eax
push esi
mov byte [esp + 0x49c], 5
mov dword [esp + 0x44], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x40902a
mov edi, dword [esp + 0x30]
xor esi, esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], edi
call fcn.00411999
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
je 0x408f19
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x18], ebx
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
sub eax, 0x104
or eax, ecx
mov byte [esp + 0x488], 6
mov dword [esp + 0x3c], 0x104
jge 0x408fe5
push 0x104
lea ecx, [esp + 0x1c]
call fcn.00401240
mov ebx, dword [esp + 0x18]
lea ecx, [esp + 0x3c]
push ecx
push ebx
push str.DriverDesc
lea ecx, [esp + 0x40]
call fcn.00406d60
test eax, eax
je 0x409033
add ebx, 0xfffffff0
mov byte [esp + 0x488], 5
lea edx, [ebx + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x40950b
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
jmp 0x40950b
mov dword [esp + 0x38], edi
jmp 0x409524
mov eax, dword [ebx - 8]
push eax
push ebx
call fcn.00430ec7
add esp, 8
cmp eax, esi
jl 0x408f23
cmp eax, dword [ebx - 8]
jg 0x408f23
mov dword [ebx - 0xc], eax
xor ecx, ecx
mov word [ebx + eax*2], cx
mov esi, dword [ebx - 0xc]
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
sub eax, esi
or eax, ecx
jge 0x40907c
push esi
lea ecx, [esp + 0x1c]
call fcn.00401240
mov ebx, dword [esp + 0x18]
lea edx, [esi + 1]
push edx
push ebx
call fcn.00431987
add esp, 8
test esi, esi
jl 0x408f23
cmp esi, dword [ebx - 8]
jg 0x408f23
xor eax, eax
mov dword [ebx - 0xc], esi
mov word [ebx + esi*2], ax
mov eax, dword [str.INTASHIELD]
test eax, eax
je 0x4090c9
cmp dword [ebx - 0xc], 0
jl 0x4090c9
push eax
push ebx
call fcn.004316ba
add esp, 8
test eax, eax
je 0x4090c9
sub eax, ebx
sar eax, 1
cmp eax, 0xffffffff
jne 0x409116
cmp byte [0x45cecc], 1
jne 0x409116
add ebx, 0xfffffff0
mov byte [esp + 0x488], 5
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4090f6
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
test edi, edi
je 0x409109
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
jmp 0x40951e
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x1b4]
test eax, eax
je 0x4094c6
jmp 0x409134
mov eax, dword [esp + 0x24]
test eax, eax
je 0x408f0f
mov ecx, dword [eax]
mov esi, dword [eax + 8]
mov dword [esp + 0x24], ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
sub esi, 0x10
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x40916c
cmp eax, dword [esi]
jne 0x40916c
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x4091a7
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x408f14
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.00430abf
add esp, 0x10
add edi, 0x10
mov dword [esp + 0x3c], edi
mov byte [esp + 0x488], 7
je 0x4091da
cmp dword [ebx - 0xc], 0
jl 0x4091da
push edi
push ebx
call fcn.004316ba
add esp, 8
test eax, eax
je 0x4091da
sub eax, ebx
sar eax, 1
jne 0x4091da
lea eax, [edi - 0x10]
jmp 0x409496
call fcn.00411999
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x408f19
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x20], esi
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
mov byte [esp + 0x488], 8
jge 0x40922c
push 0x104
lea ecx, [esp + 0x24]
call fcn.00401240
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x40]
push ecx
push esi
lea edx, [esp + 0x58]
push edx
push 0
push str.MatchingDeviceId
push eax
mov dword [esp + 0x58], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40927d
mov eax, dword [esp + 0x50]
cmp eax, 1
je 0x409263
cmp eax, 2
jne 0x40927d
test esi, esi
je 0x4092ae
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4092a9
test al, 1
jne 0x40927d
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x4092ae
add esi, 0xfffffff0
mov byte [esp + 0x488], 7
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x4092a1
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
lea eax, [edi - 0x10]
jmp 0x409496
xor ecx, ecx
mov word [esi], cx
mov eax, dword [esi - 8]
push eax
push esi
call fcn.00430ec7
add esp, 8
test eax, eax
jl 0x408f23
cmp eax, dword [esi - 8]
jg 0x408f23
mov dword [esi - 0xc], eax
xor ecx, ecx
mov word [esi + eax*2], cx
mov edi, dword [esi - 0xc]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x4092f7
push edi
lea ecx, [esp + 0x24]
call fcn.00401240
mov esi, dword [esp + 0x20]
lea edx, [edi + 1]
push edx
push esi
call fcn.00431987
add esp, 8
test edi, edi
jl 0x408f23
cmp edi, dword [esi - 8]
jg 0x408f23
mov ecx, dword [esp + 0x28]
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
mov edi, dword [ecx + 0x198]
test edi, edi
je 0x40946b
mov eax, edi
test edi, edi
je 0x408f0f
mov eax, dword [eax + 8]
mov edi, dword [edi]
sub eax, 0x10
push eax
call fcn.00401760
add eax, 0x10
add esp, 4
mov dword [esp + 0x40], eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x488], 9
call fcn.00405e20
mov ebx, dword [esp + 0x40]
test ebx, ebx
je 0x409385
cmp dword [esi - 0xc], 0
jl 0x409385
push ebx
push esi
call fcn.004316ba
add esp, 8
test eax, eax
je 0x409385
sub eax, esi
sar eax, 1
jns 0x4093b2
lea eax, [ebx - 0x10]
mov byte [esp + 0x488], 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4093a9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test edi, edi
jne 0x409330
jmp 0x40946b
call fcn.00411999
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x408f19
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x4c]
lea ecx, [esp + 0x74]
push ecx
push edx
lea eax, [esp + 0x24]
push str._s_s
push eax
mov byte [esp + 0x498], 0xa
call fcn.004018f0
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x38]
add esp, 0x10
push 0
push ecx
add edi, 0x10
mov ecx, edi
call fcn.004206d9
test eax, eax
jne 0x40941f
lea edx, [esp + 0x1c]
push edx
mov ecx, edi
call fcn.00420786
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x488], 9
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409447
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebx, 0xfffffff0
mov byte [esp + 0x488], 8
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40946b
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
add esi, 0xfffffff0
mov byte [esp + 0x488], 7
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40948f
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
mov byte [esp + 0x488], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4094b7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x24], 0
mov ebx, dword [esp + 0x18]
jne 0x409130
mov eax, dword [esp + 0x30]
xor esi, esi
cmp eax, esi
je 0x4094df
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
mov dword [esp + 0x34], edi
jmp 0x4094e3
mov edi, dword [esp + 0x34]
add ebx, 0xfffffff0
mov dword [esp + 0x38], esi
mov byte [esp + 0x488], 5
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40950b
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
cmp edi, esi
je 0x40951a
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov esi, dword [esp + 0x14]
xor edi, edi
mov eax, dword [esp + 0x2c]
push 0x104
lea ecx, [esp + 0x78]
inc eax
push ecx
push eax
push esi
mov dword [esp + 0x3c], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x408f4b
mov ebx, dword [esp + 0x54]
cmp esi, edi
je 0x40955a
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x44], edi
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
mov dword [esp + 0x48], edi
mov byte [esp + 0x488], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x409586
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp ebx, edi
jne 0x408e8c
mov ecx, dword [esp + 0x60]
mov edx, dword [ecx + 0x20]
push 0
push 0
push 0x405
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x28]
mov edi, dword [eax + 0xb8]
test edi, edi
je 0x409f94
jmp 0x4095c0
mov eax, edi
test edi, edi
je 0x408f0f
mov esi, dword [eax + 8]
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov edi, dword [edi]
mov eax, dword [edx + 0x10]
sub esi, 0x10
mov dword [esp + 0x64], edi
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x4095fa
cmp eax, dword [esi]
jne 0x4095fa
mov ebx, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x409635
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x408f14
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [ebx + 0x10]
push eax
call fcn.00430abf
add esp, 0x10
add ebx, 0x10
mov dword [esp + 0x3c], ebx
lea ecx, [esp + 0x4c]
push ecx
push 0x20019
push 0
push ebx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x60], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x409f4d
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x409673
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], ebx
test eax, eax
jne 0x409f4d
push 0x200
lea edx, [esp + 0x78]
push edx
push eax
push ebx
mov dword [esp + 0x3c], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x409f4d
lea esp, [esp]
xor esi, esi
mov dword [esp + 0x68], esi
lea eax, [esp + 0x20]
push eax
push 0x20019
push esi
lea ecx, [esp + 0x80]
push ecx
push ebx
mov dword [esp + 0x34], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x409f22
mov esi, dword [esp + 0x20]
push 0x200
xor eax, eax
lea edx, [esp + 0x278]
push edx
push eax
push esi
mov dword [esp + 0x7c], eax
mov dword [esp + 0x78], esi
mov dword [esp + 0x60], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x409f0f
jmp 0x409710
xor edi, edi
mov dword [esp + 0x58], edi
lea eax, [esp + 0x1c]
push eax
push 0x20019
push edi
lea ecx, [esp + 0x280]
push ecx
push esi
mov byte [esp + 0x49c], 0xd
mov dword [esp + 0x30], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x409ed1
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], edx
call fcn.00411999
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x408f19
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x30], ebx
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
sub eax, 0x104
or eax, ecx
mov byte [esp + 0x488], 0xe
jge 0x4097a2
push 0x104
lea ecx, [esp + 0x34]
call fcn.00401240
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x1c]
lea ecx, [esp + 0x24]
push ecx
push ebx
lea edx, [esp + 0x5c]
push edx
push 0
push str.Class
push edi
mov dword [esp + 0x3c], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x4097cf
mov esi, eax
jmp 0x40980c
mov eax, dword [esp + 0x54]
cmp eax, 1
je 0x4097e4
cmp eax, 2
je 0x4097e4
mov esi, 0xd
jmp 0x40980c
test ebx, ebx
je 0x40980a
mov eax, dword [esp + 0x24]
test eax, eax
je 0x409805
test al, 1
jne 0x4097fe
shr eax, 1
cmp word [ebx + eax*2 - 2], 0
je 0x40980a
mov esi, 0xd
jmp 0x40980c
xor eax, eax
mov word [ebx], ax
xor esi, esi
mov eax, dword [ebx - 8]
push eax
push ebx
call fcn.00430ec7
add esp, 8
test eax, eax
jl 0x408f23
cmp eax, dword [ebx - 8]
jg 0x408f23
xor ecx, ecx
mov dword [ebx - 0xc], eax
mov word [ebx + eax*2], cx
test esi, esi
jne 0x40996c
mov esi, dword [ebx - 0xc]
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
sub eax, esi
or eax, ecx
jge 0x40985d
push esi
lea ecx, [esp + 0x34]
call fcn.00401240
mov ebx, dword [esp + 0x30]
lea edx, [esi + 1]
push edx
push ebx
call fcn.00431987
add esp, 8
test esi, esi
jl 0x408f23
cmp esi, dword [ebx - 8]
jg 0x408f23
mov ecx, dword [esp + 0x28]
xor eax, eax
push eax
mov dword [ebx - 0xc], esi
push ebx
add ecx, 0x1cc
mov word [ebx + esi*2], ax
call fcn.004206d9
test eax, eax
je 0x40996c
call fcn.00411999
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x408f19
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
mov byte [esp + 0x488], 0xf
jge 0x4098ef
push 0x104
lea ecx, [esp + 0x1c]
call fcn.00401240
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x24]
push ecx
push esi
lea edx, [esp + 0x78]
push edx
push 0
push str.Service
push edi
mov dword [esp + 0x3c], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x409948
mov eax, dword [esp + 0x70]
cmp eax, 1
je 0x409922
cmp eax, 2
jne 0x409948
test esi, esi
je 0x409a70
mov eax, dword [esp + 0x24]
test eax, eax
je 0x409a6b
test al, 1
jne 0x409948
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x409a70
add esi, 0xfffffff0
mov byte [esp + 0x488], 0xe
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40996c
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
call fcn.00411999
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x408f19
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x18], edi
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, 0x104
or eax, ecx
mov byte [esp + 0x488], 0x10
mov dword [esp + 0x24], 0x104
jge 0x4099c6
push 0x104
lea ecx, [esp + 0x1c]
call fcn.00401240
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x24]
push ecx
push edi
push str.HardwareID
lea ecx, [esp + 0x64]
call fcn.00406de0
mov esi, eax
mov eax, dword [edi - 8]
push eax
push edi
call fcn.00430ec7
add esp, 8
test eax, eax
jl 0x408f23
cmp eax, dword [edi - 8]
jg 0x408f23
xor edx, edx
mov dword [edi - 0xc], eax
mov word [edi + eax*2], dx
test esi, esi
jne 0x409e72
mov esi, dword [edi - 0xc]
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, esi
or eax, ecx
jge 0x409a2d
push esi
lea ecx, [esp + 0x1c]
call fcn.00401240
mov edi, dword [esp + 0x18]
lea eax, [esi + 1]
push eax
push edi
call fcn.00431987
add esp, 8
test esi, esi
jl 0x408f23
cmp esi, dword [edi - 8]
jg 0x408f23
mov edx, dword [esp + 0x28]
xor ecx, ecx
mov dword [edi - 0xc], esi
mov word [edi + esi*2], cx
mov eax, dword [edx + 0x198]
test eax, eax
je 0x409e72
jmp 0x409b64
xor eax, eax
mov word [esi], ax
mov eax, dword [esi - 8]
push eax
push esi
call fcn.00430ec7
add esp, 8
test eax, eax
jl 0x408f23
cmp eax, dword [esi - 8]
jg 0x408f23
mov dword [esi - 0xc], eax
xor ecx, ecx
mov word [esi + eax*2], cx
mov edi, dword [esi - 0xc]
mov ecx, dword [esi - 8]
mov eax, 1
sub eax, dword [esi - 4]
sub ecx, edi
or eax, ecx
jge 0x409ab9
push edi
lea ecx, [esp + 0x1c]
call fcn.00401240
mov esi, dword [esp + 0x18]
lea edx, [edi + 1]
push edx
push esi
call fcn.00431987
add esp, 8
test edi, edi
jl 0x408f23
cmp edi, dword [esi - 8]
jg 0x408f23
mov ecx, dword [esp + 0x28]
xor eax, eax
push eax
mov dword [esi - 0xc], edi
push esi
add ecx, 0x178
mov word [esi + edi*2], ax
call fcn.004206d9
test eax, eax
jne 0x409948
add esi, 0xfffffff0
mov byte [esp + 0x488], 0xe
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409b1d
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
add ebx, 0xfffffff0
mov byte [esp + 0x488], 0xd
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x409b41
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov eax, dword [esp + 0x1c]
xor esi, esi
cmp eax, esi
je 0x409b56
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
jmp 0x409ed9
mov eax, dword [esp + 0x40]
test eax, eax
je 0x408f0f
mov ecx, dword [eax]
mov esi, dword [eax + 8]
mov dword [esp + 0x40], ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
sub esi, 0x10
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x409b9c
cmp eax, dword [esi]
jne 0x409b9c
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x409bd7
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x408f14
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.00430abf
add esp, 0x10
lea ebx, [edi + 0x10]
mov dword [esp + 0x24], ebx
mov esi, dword [ebx - 0xc]
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
sub eax, esi
or eax, ecx
mov byte [esp + 0x488], 0x11
jge 0x409c08
push esi
lea ecx, [esp + 0x28]
call fcn.00401240
mov ebx, dword [esp + 0x24]
lea ecx, [esi + 1]
push ecx
push ebx
call fcn.00431987
add esp, 8
test esi, esi
jl 0x408f23
cmp esi, dword [ebx - 8]
jg 0x408f23
mov eax, dword [esp + 0x18]
xor edx, edx
mov dword [ebx - 0xc], esi
mov word [ebx + esi*2], dx
cmp dword [eax - 0xc], edx
jl 0x409e3b
mov ecx, eax
push ebx
push ecx
call fcn.004316ba
add esp, 8
test eax, eax
je 0x409e3b
sub eax, dword [esp + 0x18]
sar eax, 1
js 0x409e3b
call fcn.00411999
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x408f19
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov edi, dword [esp + 0x3c]
lea ecx, [esp + 0x74]
push ecx
push edi
lea edx, [esp + 0x1c]
push str._s_s
push edx
mov byte [esp + 0x498], 0x12
call fcn.004018f0
mov edx, dword [esp + 0x24]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
add esp, 0x10
or eax, ecx
jge 0x409cca
push esi
lea ecx, [esp + 0x18]
call fcn.00401240
mov edx, dword [esp + 0x14]
lea eax, [esi + 1]
push eax
push edx
call fcn.00431987
add esp, 8
test esi, esi
jl 0x408f23
mov eax, dword [esp + 0x14]
cmp esi, dword [eax - 8]
jg 0x408f23
mov dword [eax - 0xc], esi
mov edx, dword [esp + 0x14]
xor ecx, ecx
mov word [edx + esi*2], cx
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
push ecx
add esi, 0x10
push eax
mov ecx, esi
call fcn.004206d9
test eax, eax
jne 0x409d1d
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.00420786
lea edx, [esp + 0x274]
push edx
lea eax, [esp + 0x78]
push eax
push edi
lea ecx, [esp + 0x20]
push str._s_s_s
push ecx
call fcn.004018f0
mov edx, dword [esp + 0x28]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
add esp, 0x14
or eax, ecx
jge 0x409d63
push esi
lea ecx, [esp + 0x18]
call fcn.00401240
mov edx, dword [esp + 0x14]
lea eax, [esi + 1]
push eax
push edx
call fcn.00431987
add esp, 8
test esi, esi
jl 0x408f23
mov eax, dword [esp + 0x14]
cmp esi, dword [eax - 8]
jg 0x408f23
mov dword [eax - 0xc], esi
mov edx, dword [esp + 0x14]
xor ecx, ecx
mov word [edx + esi*2], cx
mov esi, dword [esp + 0x14]
push ecx
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
add esi, 0xfffffff0
mov dword [esp + 0x38], esp
mov dword [esp + 0x38], esp
call edx
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x409dc6
cmp eax, dword [esi]
jne 0x409dc6
mov edi, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x409e01
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x408f14
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.00430abf
add esp, 0x10
mov ecx, dword [esp + 0x38]
add edi, 0x10
mov dword [ecx], edi
mov ecx, dword [esp + 0x2c]
call fcn.004077b0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x488], 0x11
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x409e3b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [esp + 0x488], 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409e5f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x40], 0
jne 0x409b60
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x30]
add edi, 0xfffffff0
mov byte [esp + 0x488], 0xe
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409e96
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
add ebx, 0xfffffff0
mov byte [esp + 0x488], 0xd
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x409eba
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x409ed1
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x20]
push 0x200
lea ecx, [esp + 0x278]
inc eax
push ecx
push eax
push edx
mov dword [esp + 0x60], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov esi, dword [esp + 0x20]
test eax, eax
je 0x409710
mov ebx, dword [esp + 0x4c]
mov edi, dword [esp + 0x64]
test esi, esi
je 0x409f22
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x68], 0
mov eax, dword [esp + 0x2c]
push 0x200
lea ecx, [esp + 0x78]
inc eax
push ecx
push eax
push ebx
mov dword [esp + 0x7c], 0
mov dword [esp + 0x3c], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x4096b0
mov edx, dword [esp + 0x60]
mov eax, dword [edx + 0x20]
push 0
push 0
push 0x405
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
mov byte [esp + 0x488], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409f8c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test edi, edi
jne 0x4095c0
mov ecx, dword [esp + 0x28]
add ecx, 4
call fcn.00405af0
mov eax, dword [esp + 0x44]
test eax, eax
je 0x409faf
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x480]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x468]
xor ecx, esp
call fcn.00430eb8
mov esp, ebp
pop ebp
ret 4