Function at 0x424e20
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x451ab6
mov eax, dword fs:[0]
push eax
sub esp, 0x844
mov eax, dword [0x4612b0]
xor eax, esp
mov dword [esp + 0x840], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4612b0]
xor eax, esp
push eax
lea eax, [esp + 0x858]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x86c]
mov eax, dword [esp + 0x868]
xor ebx, ebx
mov esi, 0x10
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], ebp
mov dword [esp + 0x1c], ebx
cmp dword [ebp + 0x1c], esi
jb 0x424e86
mov eax, dword [ebp + 8]
jmp 0x424e89
lea eax, [ebp + 8]
mov edx, dword [ebp]
lea ecx, [esp + 0x1c]
push ecx
push 0x20019
push ebx
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x425138
mov edi, dword [esp + 0x1c]
cmp edi, ebx
je 0x425138
mov dword [esp + 0x24], ebx
cmp dword [ebp + 0x80], ebx
je 0x424fb0
push 0x3ff
lea eax, [esp + 0x59]
push ebx
push eax
mov byte [esp + 0x60], bl
call fcn.00440440
add esp, 0xc
mov dword [esp + 0x18], 0x400
cmp dword [ebp + 0x38], esi
jb 0x424eec
mov eax, dword [ebp + 0x24]
jmp 0x424eef
lea eax, [ebp + 0x24]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x58]
push edx
push ebx
push ebx
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
jne 0x425115
lea eax, [esp + 0x54]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x424f12
sub eax, edx
je 0x425115
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
lea eax, [esp + 0x38]
push eax
sub esp, 0x1c
mov dword [esp + 0x880], ebx
lea edx, [esp + 0x74]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
lea edi, [esp + 0x38]
call fcn.00402930
mov esi, dword [esp + 0x48]
push esi
mov ecx, edi
call fcn.0040f3b0
cmp eax, ebx
jge 0x424f72
lea ecx, [esp + 0x38]
call fcn.004029a0
jmp 0x425115
sub esp, 0x1c
lea eax, [esp + 0x70]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.00402930
push ebp
push esi
call fcn.00421c10
cmp eax, ebx
lea ecx, [esp + 0x38]
jge 0x424f9e
call fcn.004029a0
jmp 0x425115
mov dword [esp + 0x24], 1
call fcn.004029a0
jmp 0x425115
xor ebp, ebp
jmp 0x424fc4
mov edi, dword [esp + 0x1c]
push 0x3ff
lea ecx, [esp + 0x59]
push ebx
push ecx
mov byte [esp + 0x60], bl
call fcn.00440440
add esp, 0xc
push 0x3ff
lea edx, [esp + 0x459]
push ebx
push edx
mov byte [esp + 0x460], bl
call fcn.00440440
add esp, 0xc
mov eax, 0x400
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x458]
push ecx
lea edx, [esp + 0x20]
push edx
push ebx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x68]
push ecx
push ebp
push edi
mov dword [esp + 0x38], ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, ebx
jne 0x425115
mov edi, 1
cmp dword [esp + 0x18], edi
jne 0x4250f6
lea eax, [esp + 0x54]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x425050
sub eax, edx
je 0x4250f6
lea eax, [esp + 0x454]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x425070
sub eax, edx
je 0x4250f6
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
lea edx, [esp + 0x34]
push edx
sub esp, 0x1c
lea eax, [esp + 0x74]
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
mov dword [esp + 0x884], edi
lea ebx, [esp + 0x5c]
call fcn.00402930
mov esi, dword [esp + 0x48]
call fcn.0040f2a0
test eax, eax
jl 0x4250e0
sub esp, 0x1c
lea edx, [esp + 0x470]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
call fcn.00402930
mov eax, dword [esp + 0x30]
push eax
push esi
call fcn.00421c10
test eax, eax
jge 0x425106
lea ecx, [esp + 0x38]
mov dword [esp + 0x860], 0xffffffff
call fcn.004029a0
xor ebx, ebx
add ebp, edi
cmp ebp, 0xc8
jb 0x424fc0
jmp 0x425115
lea ecx, [esp + 0x38]
mov dword [esp + 0x24], edi
call fcn.004029a0
xor ebx, ebx
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x425124
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x24]
neg eax
sbb eax, eax
and eax, 0x7fffbffb
add eax, 0x80004005
jmp 0x42513d
mov eax, 0x80004005
mov ecx, dword [esp + 0x858]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x840]
xor ecx, esp
call fcn.00439641
add esp, 0x850
ret 8