Function at 0x428d6d
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push 0xa38
mov eax, 0x42cca9
call fcn.0042bade
mov eax, edx
mov dword [ebp - 0xa28], eax
mov ebx, ecx
lea ecx, [ebp - 0xa2c]
mov dword [ebp - 0xa40], ebx
push ecx
push 0x20019
xor edi, edi
mov dword [ebp - 0xa44], eax
push edi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42909f
mov esi, edi
lea eax, [ebp - 0xa34]
mov dword [ebp - 0xa38], 0x200
push eax
lea eax, [ebp - 0x214]
mov dword [ebp - 0xa34], 0x200
push eax
lea eax, [ebp - 0xa24]
push eax
push edi
lea eax, [ebp - 0xa38]
push eax
lea eax, [ebp - 0xa14]
push eax
push esi
push dword [ebp - 0xa2c]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x428e65
cmp dword [ebp - 0xa24], 4
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0xa14]
jne 0x428e29
push 4
push eax
push esi
push 0x4017d0
push dword [ebp + 8]
push 0x40d320
jmp 0x428e43
cmp dword [ebp - 0xa24], 3
jne 0x428e4e
push 3
push eax
push esi
push 0x4017d0
push dword [ebp + 8]
push 0x40d350
push ebx
call fcn.00428abe
add esp, 0x20
jmp 0x428e81
push dword [ebp - 0xa24]
push eax
push esi
push 0x4017d0
push dword [ebp + 8]
push 0x40d380
jmp 0x428e43
cmp eax, 5
jne 0x428e87
push esi
push 0x4017d0
push dword [ebp + 8]
push 0x40d3b0
push ebx
call fcn.00428abe
add esp, 0x14
inc esi
jmp 0x428db7
cmp eax, 0xea
jne 0x428e9e
push esi
push 0x4017d0
push dword [ebp + 8]
push 0x40d400
jmp 0x428e78
inc esi
cmp eax, 0x103
jne 0x428db7
mov dword [ebp - 0xa30], 0x200
mov eax, edi
mov ecx, edi
mov dword [ebp - 0xa1c], eax
cmp ecx, 0x103
je 0x429093
push edi
push edi
push edi
push edi
lea ecx, [ebp - 0xa30]
mov dword [ebp - 0xa30], 0x200
push ecx
lea ecx, [ebp - 0x614]
push ecx
push eax
push dword [ebp - 0xa2c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ecx, eax
mov dword [ebp - 0xa20], ecx
test ecx, ecx
jne 0x429043
cmp dword [ebp + 8], 8
jge 0x429087
mov edx, 0x40d44c
lea eax, [ebp - 0x614]
mov si, word [eax]
cmp si, word [edx]
mov esi, dword [ebp + 8]
jne 0x428f51
cmp word [eax], 0
je 0x428f4d
mov si, word [eax + 2]
cmp si, word [edx + 2]
mov word [ebp - 0xa16], si
mov esi, dword [ebp + 8]
jne 0x428f51
add eax, 4
add edx, 4
cmp word [ebp - 0xa16], 0
jne 0x428f18
mov eax, edi
jmp 0x428f56
sbb eax, eax
or eax, 1
test eax, eax
je 0x429087
lea eax, [ebp - 0x614]
push eax
push dword [ebp - 0xa1c]
push 0x4017d0
push esi
push 0x40d464
push ebx
call fcn.00428abe
mov ecx, dword [ebp - 0xa28]
add esp, 0x18
mov dword [ebp - 4], edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x428f8b
sub ecx, edx
lea edx, [ebp - 0x614]
lea eax, [edx + 2]
sar ecx, 1
mov dword [ebp - 0xa18], eax
mov ax, word [edx]
add edx, 2
cmp ax, di
jne 0x428fa9
sub edx, dword [ebp - 0xa18]
lea eax, [ecx + 2]
sar edx, 1
xor ecx, ecx
add eax, edx
push 2
pop edx
mov dword [ebp - 0xa18], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042ad56
pop ecx
lea ecx, [ebp - 0x614]
mov dword [ebp - 0xa3c], eax
push ecx
push dword [ebp - 0xa28]
push 0x40d280
push dword [ebp - 0xa18]
push eax
call fcn.0042b6b1
lea eax, [esi + 1]
mov ecx, ebx
mov esi, dword [ebp - 0xa3c]
mov edx, esi
push eax
call fcn.00428d6d
add esp, 0x18
push esi
call fcn.0042a934
or dword [ebp - 4], 0xffffffff
pop ecx
jmp 0x429081
cmp ecx, 5
jne 0x42905d
push dword [ebp - 0xa1c]
push 0x4017d0
push dword [ebp + 8]
push 0x40d480
jmp 0x429078
cmp ecx, 0xea
jne 0x429087
push dword [ebp - 0xa1c]
push 0x4017d0
push dword [ebp + 8]
push 0x40d4d0
push ebx
call fcn.00428abe
add esp, 0x14
mov ecx, dword [ebp - 0xa20]
mov eax, dword [ebp - 0xa1c]
inc eax
jmp 0x428eb8
push dword [ebp - 0xa2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
call fcn.0042ba54
ret