Function at 0x428720
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5de86d
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x65fff4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xe8], ecx
mov dword [ebp - 0x118], 0x80
mov dword [ebp - 0x114], 0
lea eax, [ebp - 0x108]
push eax
push 1
push 0
push 0x62d0e4
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0xf4], eax
cmp dword [ebp - 0xf4], 0
jne 0x428cbb
mov cx, word [ebp + 8]
mov word [ebp - 0xec], cx
mov dword [ebp - 0x110], 0x20
push str.Device_ssudmdm
lea ecx, [ebp - 0xe0]
call fcn.00404970
mov dword [ebp - 4], 0
push str.Device_sscdmdm
lea ecx, [ebp - 0xdc]
call fcn.00404970
mov byte [ebp - 4], 1
push str.Device_ssaemdm
lea ecx, [ebp - 0xd8]
call fcn.00404970
mov byte [ebp - 4], 2
push str.Device_ssadmdm
lea ecx, [ebp - 0xd4]
call fcn.00404970
mov dword [ebp - 4], 3
lea edx, [ebp - 0x140]
push edx
call fcn.0042cb70
add esp, 4
mov dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x134], eax
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x110]
push ecx
lea edx, [ebp - 0x50]
push edx
mov eax, dword [ebp - 0x134]
push eax
mov ecx, dword [ebp - 0x108]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov dword [ebp - 0xf4], eax
mov edx, dword [ebp - 0xf8]
add edx, 1
mov dword [ebp - 0xf8], edx
cmp dword [ebp - 0xf4], 0x103
je 0x428be1
mov dword [ebp - 0x110], 0x20
mov dword [ebp - 0x118], 0x80
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0xd0]
push ecx
push 0
push 0
lea edx, [ebp - 0x50]
push edx
mov eax, dword [ebp - 0x108]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xf4], eax
cmp dword [ebp - 0xf4], 0
jne 0x428b94
mov byte [ebp - 0xe1], 0
mov dword [ebp - 0xfc], 0
jmp 0x4288db
mov ecx, dword [ebp - 0xfc]
add ecx, 1
mov dword [ebp - 0xfc], ecx
cmp dword [ebp - 0xfc], 4
jge 0x428b94
movzx edx, byte [ebp - 0xe1]
cmp edx, 1
jne 0x4288f9
jmp 0x428b94
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x104]
call fcn.00404970
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0xfc]
lea ecx, [ebp + ecx*4 - 0xe0]
call fcn.004041e0
push eax
lea edx, [ebp - 0x11c]
push edx
lea ecx, [ebp - 0x104]
call fcn.00426840
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x138], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x138]
push ecx
lea ecx, [ebp - 0x104]
call fcn.004270c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x11c]
call fcn.00403cb0
mov edx, dword [ebp - 0xfc]
lea ecx, [ebp + edx*4 - 0xe0]
call fcn.00404200
push eax
lea ecx, [ebp - 0x104]
call fcn.004269a0
test eax, eax
jne 0x428b80
mov byte [ebp - 0xe1], 1
lea ecx, [ebp - 0x10c]
call fcn.00428f60
lea eax, [ebp - 0xca]
push eax
call fcn.005c117f
add esp, 4
mov dword [ebp - 0x100], eax
mov dword [ebp - 0xf0], 0
jmp 0x4289d0
mov ecx, dword [ebp - 0xf0]
add ecx, 1
mov dword [ebp - 0xf0], ecx
mov ecx, dword [ebp - 0xe8]
add ecx, 0x330
call fcn.00429ef0
cmp dword [ebp - 0xf0], eax
jge 0x428b80
mov edx, dword [ebp - 0xf0]
push edx
mov ecx, dword [ebp - 0xe8]
add ecx, 0x330
call fcn.00429eb0
cmp dword [eax], 0xffffffff
je 0x428a71
mov eax, dword [ebp - 0xf0]
push eax
mov ecx, dword [ebp - 0xe8]
add ecx, 0x330
call fcn.00429eb0
mov ecx, dword [eax]
cmp ecx, dword [ebp - 0x100]
jne 0x428a6c
mov dword [ebp - 0x120], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x104]
call fcn.00403cb0
mov dword [ebp - 4], 0xffffffff
push fcn.00403cb0
push 4
push 4
lea edx, [ebp - 0xe0]
push edx
call fcn.005ab8e6
mov eax, dword [ebp - 0x120]
jmp 0x428cbe
jmp 0x4289c1
mov eax, dword [ebp - 0xf0]
push eax
mov ecx, dword [ebp - 0xe8]
add ecx, 0x330
call fcn.00429eb0
mov ecx, dword [ebp - 0x100]
mov dword [eax], ecx
lea edx, [ebp - 0x100]
push edx
lea eax, [ebp - 0x14c]
push eax
mov ecx, dword [ebp - 0xe8]
add ecx, 0x354
call fcn.004290a0
mov ecx, dword [eax]
mov dword [ebp - 0x10c], ecx
lea edx, [ebp - 0x150]
push edx
mov ecx, dword [ebp - 0xe8]
add ecx, 0x354
call fcn.004298c0
push eax
lea ecx, [ebp - 0x10c]
call fcn.00428f80
movzx eax, al
test eax, eax
je 0x428b0e
mov ecx, dword [ebp - 0x10c]
mov dword [ebp - 0x124], ecx
mov edx, dword [ebp - 0x124]
push edx
lea eax, [ebp - 0x154]
push eax
mov ecx, dword [ebp - 0xe8]
add ecx, 0x354
call fcn.00429140
lea ecx, [ebp - 0xf0]
push ecx
lea edx, [ebp - 0x100]
push edx
lea ecx, [ebp - 0x164]
call fcn.0042b8a0
push eax
lea eax, [ebp - 0x16c]
push eax
mov ecx, dword [ebp - 0xe8]
add ecx, 0x354
call fcn.0042b8e0
push 0
push 0x64
push str.Added__
push 0xfbd
mov ecx, dword [ebp - 0x100]
push ecx
call fcn.00427bb0
mov ecx, eax
call fcn.00403ae0
push eax
call fcn.00425370
add esp, 0x18
mov edx, dword [ebp - 0x114]
add edx, 1
mov dword [ebp - 0x114], edx
jmp 0x428b80
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x104]
call fcn.00403cb0
jmp 0x4288cc
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x128], eax
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x110]
push ecx
lea edx, [ebp - 0x50]
push edx
mov eax, dword [ebp - 0x128]
push eax
mov ecx, dword [ebp - 0x108]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov dword [ebp - 0xf4], eax
mov edx, dword [ebp - 0xf8]
add edx, 1
mov dword [ebp - 0xf8], edx
jmp 0x42885f
lea eax, [ebp - 0x148]
push eax
call fcn.0042cb70
add esp, 4
mov ecx, dword [ebp - 0x13c]
push ecx
mov edx, dword [ebp - 0x140]
push edx
mov eax, dword [ebp - 0x144]
push eax
mov ecx, dword [ebp - 0x148]
push ecx
call fcn.0042cb50
add esp, 0x10
fstp qword [ebp - 0x15c]
movsd xmm0, qword [ebp - 0x15c]
cvttsd2si edx, xmm0
movsx eax, dx
movsx ecx, word [ebp - 0xec]
sub ecx, eax
mov word [ebp - 0xec], cx
movsx edx, word [ebp + 8]
cmp edx, 1
je 0x428c55
movsx eax, word [ebp + 8]
test eax, eax
je 0x428c92
movsx ecx, word [ebp - 0xec]
test ecx, ecx
jg 0x428c92
mov edx, dword [ebp - 0x108]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x12c], eax
mov dword [ebp - 4], 0xffffffff
push fcn.00403cb0
push 4
push 4
lea ecx, [ebp - 0xe0]
push ecx
call fcn.005ab8e6
mov eax, dword [ebp - 0x12c]
jmp 0x428cbe
cmp dword [ebp - 0xf4], 0
jne 0x4287fe
mov dword [ebp - 4], 0xffffffff
push fcn.00403cb0
push 4
push 4
lea edx, [ebp - 0xe0]
push edx
call fcn.005ab8e6
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005ab173
mov esp, ebp
pop ebp
ret 4