Function at 0x4258e2
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x78
mov eax, 0x483aa0
call fcn.004649f3
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp + 8]
xor ebx, ebx
push 7
mov dword [ebp - 0x70], eax
xor eax, eax
pop edx
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], ax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x3c], ebx
mov word [ebp - 0x4c], ax
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 1
push eax
lea edx, [ebp - 0x64]
call fcn.0042607c
pop ecx
test al, al
jne 0x42594a
push ebx
push 1
lea ecx, [ebp - 0x4c]
call fcn.0040224f
push ebx
push 1
lea ecx, [ebp - 0x64]
call fcn.0040224f
xor al, al
jmp 0x425c0a
xor edx, edx
lea ecx, [ebp - 0x64]
inc edx
call fcn.00425f67
mov ecx, eax
mov dword [ebp - 0x7c], ecx
test ecx, ecx
je 0x425bf0
xor esi, esi
mov dword [ebp - 0x68], esi
cmp dword [ebp - 0x3c], esi
jne 0x425970
mov eax, esi
jmp 0x42597b
cmp dword [ebp - 0x38], 8
lea eax, [ebp - 0x4c]
cmovae eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x68]
push edx
push esi
push esi
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push eax
push ecx
call esi
test eax, eax
jne 0x425be7
cmp dword [ebp - 0x68], eax
je 0x425be7
push dword [ebp - 0x68]
call fcn.00431519
cmp dword [ebp - 0x3c], 0
mov edi, eax
pop ecx
mov dword [ebp - 0x80], edi
jne 0x4259b7
xor eax, eax
mov ecx, eax
jmp 0x4259c2
cmp dword [ebp - 0x38], 8
lea ecx, [ebp - 0x4c]
cmovae ecx, dword [ebp - 0x4c]
lea eax, [ebp - 0x68]
push eax
push edi
push dword [ebp - 0x70]
xor eax, eax
push eax
push ecx
push dword [ebp - 0x7c]
call esi
test eax, eax
jne 0x425be0
mov eax, dword [ebp - 0x70]
cmp dword [eax], 1
jne 0x425a2a
xor eax, eax
mov bl, 1
mov esi, eax
mov eax, dword [ebp - 0x68]
add eax, 0xfffffffe
test eax, 0xfffffffe
jbe 0x425be0
movzx ecx, byte [edi + esi*2 + 1]
movzx eax, byte [edi + esi*2]
shl cx, 8
or cx, ax
movzx eax, cx
mov ecx, dword [ebp - 0x6c]
push eax
push 1
call fcn.00421ade
mov eax, dword [ebp - 0x68]
inc esi
add eax, 0xfffffffe
shr eax, 1
cmp esi, eax
jb 0x4259fa
jmp 0x425be0
cmp dword [eax], 4
jne 0x425b0a
cmp dword [ebp - 0x68], 4
jne 0x425be0
mov esi, 0x4992b4
mov bl, 1
push esi
call fcn.004026a2
pop ecx
mov ecx, dword [ebp - 0x6c]
push eax
push esi
call fcn.00403a06
push 0x10
push 0xb
lea eax, [ebp - 0x34]
push eax
movzx eax, byte [edi + 3]
shl ax, 8
movzx edx, ax
movzx eax, byte [edi + 2]
or edx, eax
movzx eax, byte [edi + 1]
shl ax, 8
movzx ecx, ax
movzx eax, byte [edi]
shl edx, 0x10
or ecx, eax
add edx, ecx
push edx
call fcn.00462276
add esp, 0x10
lea ecx, [ebp - 0x34]
xor eax, eax
lea edx, [ecx + 2]
mov dword [ebp - 0x74], eax
push 2
pop esi
mov ax, word [ecx]
add ecx, esi
cmp ax, word [ebp - 0x78]
jne 0x425a9a
sub ecx, edx
push 8
sar ecx, 1
pop eax
sub eax, ecx
je 0x425aee
mov edi, dword [ebp - 0x74]
push 0x499104
call fcn.004026a2
pop ecx
mov ecx, dword [ebp - 0x6c]
push eax
push 0x499104
call fcn.004038d0
lea ecx, [ebp - 0x34]
inc edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, esi
cmp ax, word [ebp - 0x78]
jne 0x425ad3
sub ecx, edx
push 8
sar ecx, 1
pop eax
sub eax, ecx
cmp edi, eax
jb 0x425ab3
mov edi, dword [ebp - 0x80]
lea eax, [ebp - 0x34]
push eax
call fcn.004026a2
pop ecx
mov ecx, dword [ebp - 0x6c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.004038d0
jmp 0x425be0
cmp dword [eax], 3
jne 0x425be0
xor eax, eax
mov bl, 1
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x68], eax
jbe 0x425be0
push 2
pop esi
movzx eax, byte [eax + edi]
lea ecx, [ebp - 0x34]
push 0x10
push 0xb
push ecx
push eax
call fcn.00462276
push esi
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004621e3
add esp, 0x1c
lea ecx, [ebp - 0x1c]
xor eax, eax
lea edx, [ecx + 2]
mov word [ebp - 0x18], ax
mov dword [ebp - 0x70], eax
mov ax, word [ecx]
add ecx, esi
cmp ax, word [ebp - 0x78]
jne 0x425b58
sub ecx, edx
mov eax, esi
sar ecx, 1
sub eax, ecx
je 0x425bb9
mov edi, dword [ebp - 0x6c]
push 0x499104
call fcn.004026a2
pop ecx
push eax
push 0x499104
mov ecx, edi
call fcn.004038d0
mov edx, dword [ebp - 0x70]
lea ecx, [ebp - 0x1c]
inc edx
lea eax, [ecx + 2]
mov dword [ebp - 0x70], edx
mov dword [ebp - 0x84], eax
mov ax, word [ecx]
add ecx, esi
cmp ax, word [ebp - 0x78]
jne 0x425b9b
sub ecx, dword [ebp - 0x84]
mov eax, esi
sar ecx, 1
sub eax, ecx
cmp edx, eax
jb 0x425b70
mov edi, dword [ebp - 0x80]
lea eax, [ebp - 0x1c]
push eax
call fcn.004026a2
pop ecx
mov ecx, dword [ebp - 0x6c]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004038d0
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp eax, dword [ebp - 0x68]
jb 0x425b26
push edi
call fcn.00431522
pop ecx
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
lea ecx, [ebp - 0x4c]
push esi
push 1
call fcn.0040224f
push esi
push 1
lea ecx, [ebp - 0x64]
call fcn.0040224f
mov al, bl
call fcn.004649a2
ret