Function at 0x4259c0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4501d8
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x4643c8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x24]
mov edi, ecx
mov dword [ebp - 0x5c], esi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
push 1
sub esp, 0x1c
mov ecx, esp
mov byte [ebp - 4], 1
mov dword [ebp - 0x30], esp
xor eax, eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], ebx
push ebx
lea edx, [ebp + 8]
mov word [ecx], ax
push edx
or eax, 0xffffffff
mov dword [ebp - 0x34], ebx
call fcn.004138c0
mov ecx, edi
call esi
mov esi, eax
cmp esi, ebx
jne 0x425c8e
test byte [edi + 0x94], 1
jne 0x425c8e
push 0x20019
push ebx
push edi
lea ecx, [ebp - 0x34]
lea edx, [ebp + 8]
call fcn.00424a00
mov esi, eax
cmp esi, ebx
je 0x425a74
cmp dword [ebp + 0x1c], 8
jb 0x425ca0
mov eax, dword [ebp + 8]
push eax
jmp 0x425c98
mov eax, 0x200
lea esi, [ebp - 0x58]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
call fcn.00414a30
push ebx
push ebx
push ebx
push ebx
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x58]
mov edx, dword [ebp - 0x34]
lea ecx, [ebp - 0x38]
push ecx
push esi
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [edi + 0x40], eax
mov dword [ebp - 0x30], 1
cmp eax, ebx
jne 0x425b4c
lea ebx, [ebx]
xor eax, eax
mov word [ebp - 0x2c], ax
mov eax, esi
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x425ad5
sub eax, edx
sar eax, 1
push eax
mov eax, esi
lea esi, [ebp - 0x2c]
call fcn.00413470
mov ecx, esi
lea ebx, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.0040a5d0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x18], 8
jb 0x425b13
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0043644d
add esp, 4
mov eax, dword [ebp - 0x58]
mov esi, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x38]
push edx
push eax
push esi
push ecx
mov dword [ebp - 0x38], 0x200
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
inc esi
xor ebx, ebx
mov dword [ebp - 0x30], esi
mov esi, dword [ebp - 0x58]
mov dword [edi + 0x40], eax
test eax, eax
je 0x425ac0
cmp dword [edi + 0x40], 0x103
mov eax, dword [ebp - 0x34]
je 0x425ba6
cmp eax, ebx
je 0x425b63
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
je 0x425b70
push esi
call fcn.0043644d
add esp, 4
mov esi, dword [ebp - 0x48]
cmp esi, ebx
je 0x425b8a
mov edi, dword [ebp - 0x44]
mov eax, esi
call fcn.00407790
push esi
call fcn.0043644d
add esp, 4
cmp dword [ebp + 0x1c], 8
jb 0x425b9c
mov edx, dword [ebp + 8]
push edx
call fcn.0043644d
add esp, 4
mov eax, 0x17
jmp 0x425ca2
mov dword [edi + 0x40], ebx
cmp eax, ebx
je 0x425bb4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x44]
sub ecx, dword [ebp - 0x48]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x425c2a
mov esi, dword [ebp - 0x48]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x5c]
push eax
push str.___
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x2c]
push edx
call fcn.00408320
mov ecx, eax
sub esp, 0x10
mov byte [ebp - 4], 4
mov eax, esi
mov ebx, esp
mov dword [ebp - 0x34], esp
call fcn.004082e0
mov ecx, edi
call fcn.004259c0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x18], 8
jb 0x425c1d
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0043644d
add esp, 4
add esi, 0x1c
dec dword [ebp - 0x30]
jne 0x425bd5
mov esi, dword [ebp - 0x58]
xor ebx, ebx
cmp esi, ebx
je 0x425c37
push esi
call fcn.0043644d
add esp, 4
mov esi, dword [ebp - 0x48]
cmp esi, ebx
je 0x425c78
mov edi, dword [ebp - 0x44]
cmp esi, edi
je 0x425c6c
cmp dword [esi + 0x14], 8
jb 0x425c56
mov ecx, dword [esi]
push ecx
call fcn.0043644d
add esp, 4
xor edx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov word [esi], dx
add esi, 0x1c
cmp esi, edi
jne 0x425c45
mov eax, dword [ebp - 0x48]
push eax
call fcn.0043644d
add esp, 4
cmp dword [ebp + 0x1c], 8
jb 0x425c8a
mov ecx, dword [ebp + 8]
push ecx
call fcn.0043644d
add esp, 4
xor eax, eax
jmp 0x425ca2
cmp dword [ebp + 0x1c], 8
jb 0x425ca0
mov edx, dword [ebp + 8]
push edx
call fcn.0043644d
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00436268
mov esp, ebp
pop ebp
ret 0x20