Function at 0x428910
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x586330
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x5ea6c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x28]
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 1
call fcn.0040a770
mov ecx, eax
test ecx, ecx
je 0x428d38
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x2c], esi
xor eax, eax
mov byte [ebp - 4], 2
cmp dword [ebp + 0x20], 8
lea ecx, [ebp - 0x34]
push ecx
push dword [ebp + 0x24]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], eax
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push 0
push eax
push dword [ebp - 0x30]
mov dword [ebp - 0x38], 0x208
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
or ecx, 0xffffffff
test eax, eax
jne 0x428cd2
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x4289c6
push 0x104
lea ecx, [ebp - 0x2c]
call fcn.0040c8c0
mov esi, dword [ebp - 0x2c]
cmp dword [esi - 8], 0x104
jl 0x428d42
xor eax, eax
mov dword [esi - 0xc], 0x104
push eax
push eax
push eax
push eax
mov word [esi + 0x208], ax
lea eax, [ebp - 0x38]
push eax
push esi
push 0
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push dword [esi - 8]
mov dword [ebp - 0x30], eax
push esi
call fcn.00564d02
add esp, 8
test eax, eax
js 0x428d42
cmp eax, dword [esi - 8]
jg 0x428d42
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x428cc6
nop dword [eax + eax]
cmp eax, 0xea
je 0x428cc6
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push eax
push 0x20019
push 0
push esi
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x428bfe
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x428a83
push 0x104
lea ecx, [ebp - 0x2c]
call fcn.0040c8c0
mov esi, dword [ebp - 0x2c]
cmp dword [esi - 8], 0x104
jl 0x428d42
mov ecx, esi
mov dword [esi - 0xc], 0x104
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [esi + 0x208], ax
mov dword [ebp - 0x18], eax
mov word [ebp - 0x28], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x428ab3
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.00414120
mov eax, dword [edi + 4]
mov byte [ebp - 4], 3
cmp dword [edi + 8], eax
je 0x428afa
movups xmm0, xmmword [ebp - 0x28]
xor ecx, ecx
mov word [ebp - 0x28], cx
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [eax + 0x10], xmm0
mov eax, 7
add dword [edi + 4], 0x18
jmp 0x428b09
lea ecx, [ebp - 0x28]
push ecx
push eax
mov ecx, edi
call fcn.00420d00
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 2
cmp eax, 8
jb 0x428b44
mov ecx, dword [ebp - 0x28]
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428b3a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428d4c
push edx
push ecx
call fcn.0051238c
add esp, 8
mov ecx, dword [edi + 4]
mov eax, 0x2aaaaaab
sub ecx, dword [edi]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x428bf5
push 4
push 0x599880
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00414120
mov eax, dword [edi + 4]
mov byte [ebp - 4], 4
cmp dword [edi + 8], eax
je 0x428bab
movups xmm0, xmmword [ebp - 0x28]
mov edx, 7
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [eax + 0x10], xmm0
xor eax, eax
add dword [edi + 4], 0x18
mov word [ebp - 0x28], ax
jmp 0x428bba
lea ecx, [ebp - 0x28]
push ecx
push eax
mov ecx, edi
call fcn.00420d00
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x428bf5
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428beb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428d4c
push edx
push ecx
call fcn.0051238c
add esp, 8
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp - 0x3c]
mov dword [ebp - 0x38], 0x208
cmp dword [esi - 0xc], 0
lea edx, [esi - 0x10]
mov eax, dword [edx]
mov byte [ebp - 4], 5
mov dword [ebp - 0x40], eax
je 0x428c63
mov eax, dword [edx + 0xc]
lea ecx, [edx + 0xc]
shr eax, 0x1f
test al, al
je 0x428c3f
cmp dword [edx + 8], 0
jl 0x428d42
xor eax, eax
mov dword [edx + 4], 0
mov word [esi], ax
jmp 0x428c63
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x428c53
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x40]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x2c], esi
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or ecx, eax
mov byte [ebp - 4], 2
jge 0x428c8b
push 0x104
lea ecx, [ebp - 0x2c]
call fcn.0040c8c0
mov esi, dword [ebp - 0x2c]
cmp dword [esi - 8], 0x104
jl 0x428d42
xor eax, eax
mov dword [esi - 0xc], 0x104
push eax
push eax
push eax
push eax
mov word [esi + 0x208], ax
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x3c]
push esi
push eax
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x428a30
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or ecx, 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x428ce7
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0x20]
cmp edx, 8
jb 0x428d1d
mov ecx, dword [ebp + 0xc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428d13
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428d4c
push edx
push ecx
call fcn.0051238c
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00512634
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00409c80
push 0x80070057
call fcn.00409c80
call fcn.00556b30
int3