Function at 0x424790
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46ec5a
mov eax, dword fs:[0]
push eax
sub esp, 0x524
mov eax, dword [0x490120]
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.0042a6d4
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x424805
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 0x42482b
lea eax, [ebp + 0x10]
push eax
lea ecx, [ebp - 0x440]
push 0x473b4c
push ecx
call fcn.00403be0
mov edx, dword [ebp + 0x20]
add esp, 0xc
push edi
push 0x4739f5
push edx
push edi
lea ecx, [ebp + 0xc]
call fcn.00424210
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 0x424c8f
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 0x424c8f
mov ecx, dword [ebp - 0x458]
add dword [ebp + 0x44], ecx
mov dword [ebp - 0x454], eax
lea ecx, [ecx]
cmp eax, dword [ebp - 0x458]
jae 0x424c8a
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 0x424c79
call fcn.0042a6d4
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x424918
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 0x424937
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x214]
push ecx
lea ecx, [ebp - 0x438]
call fcn.00403400
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 0x4249a3
sub eax, esi
push eax
push edx
lea ecx, [ebp - 0x430]
call fcn.00403b00
mov eax, dword [ebp - 0x514]
lea ecx, [ebp - 0x510]
mov byte [ebp - 4], 5
cmp eax, ecx
je 0x4249d6
push eax
call fcn.0044d4dd
add esp, 4
push 1
push edi
lea edx, [ebp - 0x464]
push edx
lea ecx, [ebp - 0x438]
call fcn.00409b80
push 0x476634
push eax
mov byte [ebp - 4], 7
call fcn.00424460
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 0x424a25
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x424b0f
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.00409b80
mov eax, dword [eax]
cmp eax, edi
jne 0x424a56
or eax, 0xffffffff
jmp 0x424a81
mov ecx, dword [0x49189c]
cmp dword [ecx - 0xc], edi
jge 0x424a66
or eax, 0xffffffff
jmp 0x424a81
push eax
push ecx
call fcn.0044e037
add esp, 8
cmp eax, edi
jne 0x424a79
or eax, 0xffffffff
jmp 0x424a81
sub eax, dword [0x49189c]
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 0x424aa9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x424b0f
mov eax, dword [esi - 0xc]
push eax
push 1
lea ecx, [ebp - 0x43c]
push ecx
lea ecx, [ebp - 0x438]
call fcn.00409b80
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, 0x49189c
mov byte [ebp - 4], 8
call fcn.00403400
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 0x424b00
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x476630
mov ecx, 0x49189c
call fcn.00403c00
mov ecx, dword [ebp + 0x20]
push edi
push 0x4739f5
push ecx
push edi
lea ecx, [ebp + 0xc]
call fcn.00424210
cmp eax, edi
je 0x424bc1
push 0x4741f4
lea edx, [ebp + 0xc]
push edx
lea eax, [ebp - 0x530]
push eax
call fcn.00424640
add esp, 0xc
lea ecx, [ebp - 0x430]
push ecx
push eax
lea edx, [ebp - 0x490]
push edx
mov byte [ebp - 4], 9
call fcn.004246f0
add esp, 0xc
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp - 0x430]
mov byte [ebp - 4], 0xa
call fcn.004039d0
mov esi, 0x10
cmp dword [ebp - 0x478], esi
jb 0x424b8c
mov eax, dword [ebp - 0x48c]
push eax
call fcn.0042a20f
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 0x424bc9
mov ecx, dword [ebp - 0x52c]
push ecx
call fcn.0042a20f
add esp, 4
jmp 0x424bc9
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.00403b00
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.004039d0
mov eax, dword [ebp - 0x434]
push eax
mov byte [ebp - 4], 5
call fcn.00424790
add dword [ebp + 0x44], eax
add esp, 0x40
cmp dword [ebp - 0x418], esi
jb 0x424c40
mov ecx, dword [ebp - 0x42c]
push ecx
call fcn.0042a20f
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 0x424c79
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 0x4248c0
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 0x424cc2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp + 0x24], esi
jb 0x424cd3
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.0042a20f
add esp, 4
mov dword [ebp + 0x24], 0xf
mov dword [ebp + 0x20], edi
mov byte [ebp + 0x10], 0
cmp dword [ebp + 0x40], esi
jb 0x424cf2
mov edx, dword [ebp + 0x2c]
push edx
call fcn.0042a20f
add esp, 4
mov eax, dword [ebp + 0x44]
jmp 0x424de7
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.0044dcfc
mov esp, ebp
pop ebp
ret