Function at 0x424850
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46ef2a
mov eax, dword fs:[0]
push eax
sub esp, 0x524
mov eax, dword [0x491120]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x444], eax
xor edi, edi
mov dword [ebp - 4], edi
mov ecx, eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x458], edi
mov dword [ebp - 0x45c], 0x104
mov dword [ebp - 0x434], ecx
call fcn.0042a9c4
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4248c5
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x440], eax
mov eax, dword [ebp + 0x10]
mov esi, 0x10
mov byte [ebp - 4], 3
cmp dword [ebp + 0x24], esi
jae 0x4248eb
lea eax, [ebp + 0x10]
push eax
lea ecx, [ebp - 0x440]
push 0x473b4c
push ecx
call fcn.00403c30
mov edx, dword [ebp + 0x20]
add esp, 0xc
push edi
push 0x4739f5
push edx
push edi
lea ecx, [ebp + 0xc]
call fcn.004242d0
mov ecx, dword [ebp - 0x440]
mov edx, dword [ebp - 0x444]
lea eax, [ebp - 0x444]
push eax
push 0x20019
push edi
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x424d4f
push edi
push edi
push edi
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x458]
push eax
mov eax, dword [ebp - 0x444]
push edi
lea ecx, [ebp - 0x45c]
push ecx
lea edx, [ebp - 0x414]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x424d4f
mov ecx, dword [ebp - 0x458]
add dword [ebp + 0x44], ecx
mov dword [ebp - 0x454], eax
lea ecx, [ecx]
cmp eax, dword [ebp - 0x458]
jae 0x424d4a
push edi
push edi
push edi
push edi
lea edx, [ebp - 0x460]
push edx
mov edx, dword [ebp - 0x444]
lea ecx, [ebp - 0x214]
push ecx
push eax
push edx
mov dword [ebp - 0x460], 0xff
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x424d39
call fcn.0042a9c4
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4249d8
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x438], eax
lea eax, [ebp - 0x214]
mov byte [ebp - 4], 4
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4249f7
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x214]
push ecx
lea ecx, [ebp - 0x438]
call fcn.00403450
mov dword [ebp - 0x418], 0xf
mov dword [ebp - 0x41c], edi
mov byte [ebp - 0x42c], 0
mov eax, dword [ebp - 0x438]
push 3
lea edx, [ebp - 0x510]
push eax
lea ecx, [ebp - 0x514]
mov byte [ebp - 4], 5
mov dword [ebp - 0x514], edx
call fcn.004016f0
mov edx, dword [ebp - 0x514]
mov eax, edx
mov byte [ebp - 4], 6
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x424a63
sub eax, esi
push eax
push edx
lea ecx, [ebp - 0x430]
call fcn.00403b50
mov eax, dword [ebp - 0x514]
lea ecx, [ebp - 0x510]
mov byte [ebp - 4], 5
cmp eax, ecx
je 0x424a96
push eax
call fcn.0044d7cf
add esp, 4
push 1
push edi
lea edx, [ebp - 0x464]
push edx
lea ecx, [ebp - 0x438]
call fcn.00409c10
push 0x476abc
push eax
mov byte [ebp - 4], 7
call fcn.00424520
mov bl, al
mov eax, dword [ebp - 0x464]
add eax, 0xfffffff0
add esp, 8
mov byte [ebp - 4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x424ae5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x424bcf
mov esi, dword [ebp - 0x438]
mov eax, dword [esi - 0xc]
push eax
push 1
lea ecx, [ebp - 0x450]
push ecx
lea ecx, [ebp - 0x438]
call fcn.00409c10
mov eax, dword [eax]
cmp eax, edi
jne 0x424b16
or eax, 0xffffffff
jmp 0x424b41
mov ecx, dword [0x49289c]
cmp dword [ecx - 0xc], edi
jge 0x424b26
or eax, 0xffffffff
jmp 0x424b41
push eax
push ecx
call fcn.0044e327
add esp, 8
cmp eax, edi
jne 0x424b39
or eax, 0xffffffff
jmp 0x424b41
sub eax, dword [0x49289c]
sar eax, 1
cmp eax, 0xffffffff
mov eax, dword [ebp - 0x450]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x424b69
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x424bcf
mov eax, dword [esi - 0xc]
push eax
push 1
lea ecx, [ebp - 0x43c]
push ecx
lea ecx, [ebp - 0x438]
call fcn.00409c10
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, 0x49289c
mov byte [ebp - 4], 8
call fcn.00403450
mov eax, dword [ebp - 0x43c]
add eax, 0xfffffff0
mov byte [ebp - 4], 5
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x424bc0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x476ab8
mov ecx, 0x49289c
call fcn.00403c50
mov ecx, dword [ebp + 0x20]
push edi
push 0x4739f5
push ecx
push edi
lea ecx, [ebp + 0xc]
call fcn.004242d0
cmp eax, edi
je 0x424c81
push 0x4741dc
lea edx, [ebp + 0xc]
push edx
lea eax, [ebp - 0x530]
push eax
call fcn.00424700
add esp, 0xc
lea ecx, [ebp - 0x430]
push ecx
push eax
lea edx, [ebp - 0x490]
push edx
mov byte [ebp - 4], 9
call fcn.004247b0
add esp, 0xc
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp - 0x430]
mov byte [ebp - 4], 0xa
call fcn.00403a20
mov esi, 0x10
cmp dword [ebp - 0x478], esi
jb 0x424c4c
mov eax, dword [ebp - 0x48c]
push eax
call fcn.0042a4ff
add esp, 4
mov ebx, 0xf
mov dword [ebp - 0x478], ebx
mov dword [ebp - 0x47c], edi
mov byte [ebp - 0x48c], 0
mov byte [ebp - 4], 5
cmp dword [ebp - 0x518], esi
jb 0x424c89
mov ecx, dword [ebp - 0x52c]
push ecx
call fcn.0042a4ff
add esp, 4
jmp 0x424c89
mov ebx, 0xf
lea esi, [ebx + 1]
push edi
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x448], esp
push 7
mov dword [ecx + 0x18], ebx
mov dword [ecx + 0x14], edi
push str.nothing
mov byte [ecx + 4], 0
call fcn.00403b50
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x44c], esp
push 0xffffffffffffffff
push edi
lea edx, [ebp - 0x430]
mov dword [ecx + 0x18], ebx
mov dword [ecx + 0x14], edi
push edx
mov byte [ebp - 4], 0xb
mov byte [ecx + 4], 0
call fcn.00403a20
mov eax, dword [ebp - 0x434]
push eax
mov byte [ebp - 4], 5
call fcn.00424850
add dword [ebp + 0x44], eax
add esp, 0x40
cmp dword [ebp - 0x418], esi
jb 0x424d00
mov ecx, dword [ebp - 0x42c]
push ecx
call fcn.0042a4ff
add esp, 4
mov eax, dword [ebp - 0x438]
add eax, 0xfffffff0
mov dword [ebp - 0x418], ebx
mov dword [ebp - 0x41c], edi
mov byte [ebp - 0x42c], 0
mov byte [ebp - 4], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x424d39
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
inc dword [ebp - 0x454]
mov eax, dword [ebp - 0x454]
jmp 0x424980
mov esi, 0x10
mov ecx, dword [ebp - 0x444]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x440]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x424d82
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp + 0x24], esi
jb 0x424d93
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.0042a4ff
add esp, 4
mov dword [ebp + 0x24], 0xf
mov dword [ebp + 0x20], edi
mov byte [ebp + 0x10], 0
cmp dword [ebp + 0x40], esi
jb 0x424db2
mov edx, dword [ebp + 0x2c]
push edx
call fcn.0042a4ff
add esp, 4
mov eax, dword [ebp + 0x44]
jmp 0x424ea7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0044dfec
mov esp, ebp
pop ebp
ret