Function at 0x425ab0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46f1d9
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x491120]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor edi, edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], 2
call fcn.0042a9c4
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x425b01
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x20]
push ecx
push 0x20019
push edi
push edx
push eax
mov byte [ebp - 4], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x425bc4
mov edi, dword [ebp + 8]
push 0x473bc4
mov ecx, edi
call fcn.00404810
mov ebx, 1
lea eax, [esi - 0x10]
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425b6b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425b8d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425bb0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x20]
push edi
lea edx, [ebp - 0x24]
push edx
push edi
push eax
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x24], edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push ecx
mov byte [ebp - 4], 5
call edi
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [esi - 8]
mov ebx, 1
mov ecx, ebx
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x425c0d
push edx
lea ecx, [ebp - 0x14]
call fcn.00401dc0
mov esi, dword [ebp - 0x14]
mov edx, dword [ebp + 0x14]
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x20]
push esi
lea ecx, [ebp - 0x24]
push ecx
push 0
push edx
push eax
call edi
mov edi, eax
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.0045059c
add esp, 8
test eax, eax
jl 0x425dca
cmp eax, dword [esi - 8]
jg 0x425dca
xor edx, edx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], dx
test edi, edi
je 0x425d39
mov edi, dword [ebp + 8]
push 0x476b20
mov ecx, edi
call fcn.00403db0
lea eax, [esi - 0x10]
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425c96
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425cb8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425bb0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
add esi, 0xfffffff0
push esi
call fcn.00401e10
mov edi, dword [ebp + 8]
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 2
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425d6d
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425d8f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425bb0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00401090
sub esp, 0xc
lea edx, [ebp - 0x44]
mov ecx, esp
mov dword [ebp - 0x2c], esp
push edx
mov byte [ebp - 4], 9
call fcn.0044d97c
call fcn.0041aed0
mov ecx, dword [ebp + 8]
add esp, 0xc
push 0x476b20
call fcn.00403db0
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x18], 1
mov byte [ebp - 4], 8
call fcn.0044d9d9
mov eax, 0x425e17
ret