Function at 0x42ae60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
lea eax, [esp + 0x20]
mov dword [esp], 0x20019
mov dword [esp + 4], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenCurrentUser]
sub esp, 8
test eax, eax
je 0x42ae90
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [esp + 0x24]
mov dword [esp + 0xc], 0x20019
mov dword [esp + 0x10], eax
mov eax, dword [0x452484]
mov dword [esp + 8], 0
add eax, 0xa86
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
sub esp, 0x14
mov ebx, eax
test eax, eax
jne 0x42b19e
xor eax, eax
lea ebp, [esp + 0x28]
lea edi, [esp + 0x30]
mov esi, 0x45ae80
mov dword [esp + 0x30], 0x69004c
mov dword [esp + 0x34], 0x65006e
mov word [esp + 0x3a], ax
lea esi, [esi]
lea eax, [ebx + 0x31]
mov dword [esp + 0x14], ebp
add ebx, 1
mov word [esp + 0x38], ax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
sub esp, 0x18
test eax, eax
jne 0x42af4a
cmp dword [esp + 0x28], 4
je 0x42b1b8
mov dword [esi], 0
add esi, 4
cmp ebx, 6
jne 0x42af00
mov eax, dword [esp + 0x24]
mov dword [esp + 0x30], 0x700053
mov dword [esp + 0x34], 0x740061
mov dword [esp + 0x38], 0x68
mov dword [esp + 0x28], 0x800
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], 0x4573e0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
sub esp, 0x18
test eax, eax
je 0x42afb4
xor eax, eax
mov word [0x4573e0], ax
mov eax, 0x74
mov dword [esp + 0x30], 0x630042
mov word [esp + 0x38], ax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x34], 0x730061
mov dword [esp + 0x28], 4
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], 0x4583e0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
sub esp, 0x18
test eax, eax
je 0x42b014
mov dword [0x4583e0], 0
mov esi, dword [esp + 0x60]
test esi, esi
je 0x42b210
mov eax, dword [esp + 0x24]
mov ebx, 0x68
mov dword [esp + 0x14], ebp
mov dword [esp + 0x30], 0x6f0054
mov dword [esp + 0x34], 0x630075
mov word [esp + 0x38], bx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
sub esp, 0x18
test eax, eax
mov eax, dword [esp + 0x24]
jne 0x42b0d0
cmp dword [esp + 0x28], 4
jne 0x42b0d0
lea edx, [esp + 0x2c]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
sub esp, 0x18
test eax, eax
jne 0x42b210
mov edx, dword [esp + 0x2c]
cmp edx, 0x32a
je 0x42b201
mov eax, dword [esp + 0x24]
cmp edx, 0x41
jne 0x42b0d0
mov ecx, dword [esp + 0x60]
mov dword [ecx], 0
mov ecx, dword [esp + 0x64]
test ecx, ecx
je 0x42b190
mov edx, 0x6e
mov dword [esp + 0x30], 0x530066
mov dword [esp + 0x34], 0x720063
mov word [esp + 0x38], dx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
sub esp, 0x18
test eax, eax
mov eax, dword [esp + 0x24]
jne 0x42b190
cmp dword [esp + 0x28], 4
jne 0x42b190
lea edx, [esp + 0x2c]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
sub esp, 0x18
test eax, eax
jne 0x42b223
mov edx, dword [esp + 0x2c]
cmp edx, 0xe
je 0x42b219
mov eax, dword [esp + 0x24]
cmp edx, 0x191
jne 0x42b190
mov ecx, dword [esp + 0x64]
mov dword [ecx], 0
lea esi, [esi]
nop
mov dword [esp], eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
sub esp, 4
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call esi
sub esp, 4
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
sub esp, 0x18
test eax, eax
jne 0x42af4a
mov eax, dword [esi]
test eax, eax
je 0x42af50
mov dword [0x45ae4c], ebx
jmp 0x42af50
mov eax, dword [esp + 0x60]
mov dword [eax], 1
lea esi, [esi]
nop
mov eax, dword [esp + 0x24]
jmp 0x42b0d0
mov eax, dword [esp + 0x64]
mov dword [eax], 1
mov eax, dword [esp + 0x24]
jmp 0x42b190