Function at 0x42b3c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
push edi
push esi
push ebx
xor ebx, ebx
sub esp, 0x47c
lea esi, [esi]
mov eax, dword [ebx*4 + 0x45ae60]
test eax, eax
je 0x42b3ee
mov dword [esp], eax
call sub.msvcrt.dll_free
mov dword [ebx*4 + 0x45ae60], 0
add ebx, 1
cmp ebx, 8
jne 0x42b3d0
mov eax, dword [0x452484]
lea edi, [esp + 0x5c]
mov dword [esp + 0xc], 0x20019
mov dword [esp + 0x10], edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
add eax, 0xab6
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], 0x80000002
call esi
sub esp, 0x14
mov ebx, eax
test eax, eax
je 0x42b488
mov dword [esp + 0x38], 0
xor ebx, ebx
mov eax, dword [0x452484]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0x20019
add eax, 0xb02
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], 0x80000002
call esi
sub esp, 0x14
test eax, eax
je 0x42b670
add esp, 0x47c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [esp + 0x60]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x28], 0
mov dword [esp], eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp + 0x3c], eax
call eax
sub esp, 0x30
mov dword [esp + 0x38], eax
test eax, eax
jne 0x42b878
mov eax, dword [esp + 0x60]
mov ecx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x42b886
mov eax, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
xor edx, edx
mov dword [esp + 0x48], ebx
lea ebp, [esp + 0x74]
mov dword [esp + 0x40], esi
mov esi, edx
mov dword [esp + 0x44], ecx
mov ebx, eax
jmp 0x42b53d
add esi, 1
cmp esi, dword [esp + 0x60]
jae 0x42b897
lea eax, [esp + 0x64]
mov dword [esp + 0x64], 0xff
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 8], ebp
mov dword [esp + 4], esi
mov dword [esp], eax
call ebx
sub esp, 0x20
test eax, eax
jne 0x42b530
mov eax, dword [esp + 0x64]
test eax, eax
je 0x42b530
mov eax, dword [0x452484]
mov dword [esp], ebp
add eax, 0xb6a
mov dword [esp + 4], eax
call sub.msvcrt.dll_wcsstr
test eax, eax
je 0x42b530
lea eax, [esp + 0x68]
mov dword [esp + 0xc], 0x20019
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 8], 0
mov dword [esp], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], ebp
call eax
sub esp, 0x14
test eax, eax
jne 0x42b530
lea eax, [esp + 0x6c]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x28], 0
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call eax
sub esp, 0x30
test eax, eax
jne 0x42b653
mov ecx, dword [esp + 0x6c]
test ecx, ecx
jne 0x42b8a5
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov eax, dword [esp + 0x44]
call eax
sub esp, 4
jmp 0x42b530
lea eax, [esp + 0x68]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
sub esp, 0x30
mov edi, eax
test eax, eax
jne 0x42b855
mov edx, dword [esp + 0x68]
test edx, edx
je 0x42b855
mov eax, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [esp + 0x3c], ebx
lea ebp, [esp + 0x74]
mov ebx, edi
lea esi, [esp + 0x6c]
mov edi, eax
jmp 0x42b715
add ebx, 1
cmp ebx, dword [esp + 0x68]
jae 0x42b851
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x6c], 0xff
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebp
mov dword [esp + 4], ebx
mov dword [esp], eax
call edi
sub esp, 0x20
test eax, eax
jne 0x42b708
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x42b708
mov eax, dword [0x452484]
mov dword [esp + 0x70], 0x1fe
mov dword [esp + 0x18], 0
add eax, 0xbbc
mov dword [esp + 0x14], 0
mov dword [esp + 8], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xffff
mov dword [esp + 4], ebp
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
sub esp, 0x1c
cmp eax, 1
mov eax, dword [0x452484]
adc dword [esp + 0x3c], 0
add eax, 0xb7a
mov dword [esp + 4], 0xff
mov dword [esp + 8], eax
mov dword [esp], ebp
call dword [sym.imp.msvcrt.dll_wcscat_s]
lea eax, [esp + 0x70]
lea ecx, [esp + 0x272]
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], eax
mov eax, dword [0x452484]
mov dword [esp + 0x14], ecx
add eax, 0xba0
mov dword [esp + 0xc], 2
mov dword [esp + 8], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], ebp
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
sub esp, 0x1c
cmp dword [esp + 0x38], 7
jg 0x42b708
test eax, eax
lea ecx, [esp + 0x272]
jne 0x42b708
mov dword [esp], ecx
call dword [sym.imp.msvcrt.dll__wcsdup]
mov edx, dword [esp + 0x38]
mov dword [edx*4 + 0x45ae60], eax
lea eax, [edx + 1]
mov dword [esp + 0x38], eax
jmp 0x42b708
mov ebx, dword [esp + 0x3c]
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
sub esp, 4
add esp, 0x47c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x38], 0
mov ecx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call ecx
sub esp, 4
jmp 0x42b43e
mov ebx, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
jmp 0x42b886
mov edx, dword [0x452484]
lea eax, [esp + 0x70]
lea ecx, [esp + 0x272]
mov dword [esp + 0x70], 0x1fe
mov dword [esp + 0x18], eax
lea eax, [edx + 0xba0]
mov dword [esp + 0x14], ecx
mov dword [esp + 8], eax
lea eax, [edx + 0xb72]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x10], 0
mov dword [esp], eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov dword [esp + 0xc], 2
mov dword [esp + 0x4c], eax
call eax
sub esp, 0x1c
cmp dword [esp + 0x38], 7
jg 0x42b911
test eax, eax
lea ecx, [esp + 0x272]
je 0x42b966
mov eax, dword [0x452484]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
lea ecx, [eax + 0xbbc]
add eax, 0xbb2
mov dword [esp + 0x10], 0
mov dword [esp + 4], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0xc], 0xffff
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 8], ecx
call eax
sub esp, 0x1c
cmp eax, 1
adc dword [esp + 0x48], 0
jmp 0x42b653
mov dword [esp], ecx
call dword [sym.imp.msvcrt.dll__wcsdup]
mov edx, dword [esp + 0x38]
mov dword [edx*4 + 0x45ae60], eax
lea eax, [edx + 1]
mov dword [esp + 0x38], eax
jmp 0x42b911