Function at 0x4230a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f2aae
mov eax, dword fs:[0]
push eax
mov eax, 0x5054
call fcn.004cd260
mov eax, dword [0x521284]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x5041], dl
mov dword [ebp - 0x5048], ecx
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x501c], 0
movq qword [ebp - 0x5024], xmm0
mov dword [ebp - 0x5024], 0
mov dword [ebp - 0x5020], 0
mov dword [ebp - 0x501c], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x5060]
push 1
xor eax, eax
mov dword [ebp - 0x5060], 0
push 0x50cd8c
mov dword [ebp - 0x5050], 0
mov dword [ebp - 0x504c], 7
mov word [ebp - 0x5060], ax
call fcn.00402a90
lea eax, [ebp - 0x5060]
mov byte [ebp - 4], 4
push eax
lea edx, [ebp + 8]
lea ecx, [ebp - 0x5024]
call fcn.0041a9c0
add esp, 4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x5060]
call fcn.00402a30
mov edi, dword [ebp - 0x5020]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x5024]
mov ecx, edi
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x4231d0
lea eax, [ebp + 8]
push eax
cmp edi, dword [ebp - 0x501c]
je 0x4231be
mov ecx, edi
call fcn.00402eb0
add dword [ebp - 0x5020], 0x18
jmp 0x4231ca
push edi
lea ecx, [ebp - 0x5024]
call fcn.00403940
mov esi, dword [ebp - 0x5024]
mov eax, dword [esi + 0x14]
mov edi, esi
cmp eax, 8
jb 0x4231dc
mov edi, dword [esi]
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0x5014], ecx
cmp ecx, 0x11
jne 0x423217
mov edx, ecx
mov ecx, str.HKEY_CLASSES_ROOT
sub edi, ecx
mov ax, word [edi + ecx]
cmp ax, word [ecx]
jne 0x42320e
add ecx, 2
sub edx, 1
jne 0x4231f3
mov esi, SysReAllocString
jmp 0x4233ca
mov eax, dword [esi + 0x14]
mov ecx, dword [ebp - 0x5014]
mov edi, esi
cmp eax, 8
jb 0x423220
mov edi, dword [esi]
cmp ecx, 0x11
jne 0x423254
mov edx, ecx
mov ecx, str.HKEY_CURRENT_USER
sub edi, ecx
nop
mov ax, word [edi + ecx]
cmp ax, word [ecx]
jne 0x42324b
add ecx, 2
sub edx, 1
jne 0x423230
mov esi, SysReAllocString
jmp 0x4233ca
mov eax, dword [esi + 0x14]
mov ecx, dword [ebp - 0x5014]
mov edi, esi
cmp eax, 8
jb 0x42325d
mov edi, dword [esi]
cmp ecx, 0x12
jne 0x423294
mov edx, ecx
mov ecx, str.HKEY_LOCAL_MACHINE
sub edi, ecx
nop dword [eax + eax]
mov ax, word [edi + ecx]
cmp ax, word [ecx]
jne 0x42328b
add ecx, 2
sub edx, 1
jne 0x423270
mov esi, reloc.OLEAUT32.dll_SysReAllocString
jmp 0x4233ca
mov eax, dword [esi + 0x14]
mov ecx, dword [ebp - 0x5014]
mov edi, esi
cmp eax, 8
jb 0x42329d
mov edi, dword [esi]
cmp ecx, 0xa
jne 0x4232d4
mov edx, ecx
mov ecx, str.HKEY_USERS
sub edi, ecx
nop dword [eax + eax]
mov ax, word [edi + ecx]
cmp ax, word [ecx]
jne 0x4232cb
add ecx, 2
sub edx, 1
jne 0x4232b0
mov esi, SysStringLen
jmp 0x4233ca
mov eax, dword [esi + 0x14]
mov ecx, dword [ebp - 0x5014]
mov edi, esi
cmp eax, 8
jb 0x4232dd
mov edi, dword [esi]
cmp ecx, 0x13
jne 0x423314
mov edx, ecx
mov ecx, str.HKEY_CURRENT_CONFIG
sub edi, ecx
nop dword [eax + eax]
mov ax, word [edi + ecx]
cmp ax, word [ecx]
jne 0x42330b
add ecx, 2
sub edx, 1
jne 0x4232f0
mov esi, SysStringLen
jmp 0x4233ca
mov eax, dword [esi + 0x14]
mov ecx, dword [ebp - 0x5014]
mov edi, esi
cmp eax, 8
jb 0x42331d
mov edi, dword [esi]
cmp ecx, 0x15
jne 0x423354
mov edx, ecx
mov ecx, str.HKEY_PERFORMANCE_DATA
sub edi, ecx
nop dword [eax + eax]
mov ax, word [edi + ecx]
cmp ax, word [ecx]
jne 0x42334b
add ecx, 2
sub edx, 1
jne 0x423330
mov esi, SysStringLen
jmp 0x4233ca
mov eax, dword [esi + 0x14]
mov ecx, dword [ebp - 0x5014]
mov edi, esi
cmp eax, 8
jb 0x42335d
mov edi, dword [esi]
cmp ecx, 0x18
jne 0x423391
mov edx, ecx
mov ecx, str.HKEY_PERFORMANCE_NLSTEXT
sub edi, ecx
nop dword [eax + eax]
mov ax, word [edi + ecx]
cmp ax, word [ecx]
jne 0x423388
add ecx, 2
sub edx, 1
jne 0x423370
mov esi, 0x80000060
jmp 0x4233ca
mov eax, dword [esi + 0x14]
mov ecx, dword [ebp - 0x5014]
cmp eax, 8
jb 0x423398
mov esi, dword [esi]
cmp ecx, 0x15
jne 0x4237e4
mov edx, ecx
mov ecx, str.HKEY_PERFORMANCE_TEXT
sub esi, ecx
nop word [eax + eax]
mov ax, word [esi + ecx]
cmp ax, word [ecx]
jne 0x4237e4
add ecx, 2
sub edx, 1
jne 0x4233b0
mov esi, 0x80000050
xor eax, eax
mov dword [ebp - 0x503c], 0
mov dword [ebp - 0x502c], 0
mov dword [ebp - 0x5028], 7
mov word [ebp - 0x503c], ax
mov byte [ebp - 4], 5
lea ecx, [ebp + 8]
push dword [ebp - 0x5018]
cmp dword [ebp + 0x1c], 8
mov edi, dword [ebp + 0x18]
mov edx, edi
cmovae ecx, dword [ebp + 8]
push 1
sub esp, 8
call fcn.004077e0
add esp, 0x10
cmp eax, 0xffffffff
je 0x4234c1
lea edx, [eax + 1]
mov dword [ebp - 0x5060], 0
mov dword [ebp - 0x5050], 0
mov dword [ebp - 0x504c], 7
cmp edi, edx
jb 0x42382f
sub edi, edx
lea eax, [ebp + 8]
or ecx, 0xffffffff
cmp edi, 0xffffffff
cmovb ecx, edi
cmp dword [ebp + 0x1c], 8
push ecx
cmovae eax, dword [ebp + 8]
lea ecx, [ebp - 0x5060]
lea eax, [eax + edx*2]
push eax
call fcn.00402a90
lea ecx, [ebp - 0x503c]
call fcn.00402a30
movups xmm0, xmmword [ebp - 0x5060]
xor eax, eax
lea ecx, [ebp - 0x5060]
mov word [ebp - 0x5060], ax
movups xmmword [ebp - 0x503c], xmm0
movq xmm0, qword [ebp - 0x5050]
movq qword [ebp - 0x502c], xmm0
mov dword [ebp - 0x5050], 0
mov dword [ebp - 0x504c], 7
call fcn.00402a30
cmp byte [ebp - 0x5041], 0
lea ecx, [ebp - 0x5040]
lea eax, [ebp - 0x503c]
push ecx
je 0x4234de
push 0x20019
jmp 0x4234e3
push 0x20119
cmp dword [ebp - 0x5028], 8
push 0
cmovae eax, dword [ebp - 0x503c]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x423593
mov esi, dword [0x524fac]
test esi, esi
je 0x42354d
push eax
push str.getRegistryValue:_RegOpenKeyExW_failed_with_error__ld
push 0x50cdf8
push 0x50cdf8
push str.OSUtils
push str.OOBEUtils
push 0x28
mov ecx, esi
call dword [0x4f4350]
call esi
add esp, 0x1c
mov byte [ebp - 0x5041], 0
lea ecx, [ebp - 0x503c]
call fcn.00402a30
jmp 0x4237eb
mov ecx, dword [0x524fb0]
test ecx, ecx
je 0x42357c
mov esi, dword [ecx]
push eax
push str.getRegistryValue:_RegOpenKeyExW_failed_with_error__ld
push str.OSUtils
mov esi, dword [esi + 0x34]
push 0x50cdf8
push 0x28
push ecx
mov ecx, esi
call dword [0x4f4350]
call esi
add esp, 0x18
lea ecx, [ebp - 0x503c]
mov byte [ebp - 0x5041], 0
call fcn.00402a30
jmp 0x4237eb
cmp dword [ebp + 0x4c], 8
lea esi, [ebp + 0x38]
mov byte [ebp - 0x5041], 0
cmovae esi, dword [ebp + 0x38]
cmp dword [ebp + 0x48], 9
jne 0x423672
mov ecx, str.REG_DWORD
mov edx, 9
sub esi, ecx
nop dword [eax + eax]
mov ax, word [ecx + esi]
cmp ax, word [ecx]
jne 0x423672
add ecx, 2
sub edx, 1
jne 0x4235c0
cmp dword [ebp + 0x34], 8
lea ecx, [ebp - 0x5018]
push ecx
lea ecx, [ebp - 0x5014]
mov dword [ebp - 0x5018], 4
push ecx
push edx
lea eax, [ebp + 0x20]
mov dword [ebp - 0x5014], edx
cmovae eax, dword [ebp + 0x20]
push edx
push eax
push dword [ebp - 0x5040]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, eax
test ecx, ecx
jne 0x423636
mov edi, dword [ebp - 0x5048]
mov ecx, edi
push eax
push dword [ebp - 0x5014]
call fcn.00417170
add esp, 8
mov byte [ebp - 0x5041], 1
jmp 0x423724
mov esi, dword [0x524fac]
test esi, esi
je 0x4236f0
push ecx
push str.getRegistryValue:_RegQueryValueExW_failed_with_error__ld
push 0x50cdf8
push 0x50cdf8
push str.OSUtils
push str.OOBEUtils
push 0x28
mov ecx, esi
call dword [0x4f4350]
call esi
add esp, 0x1c
jmp 0x42371e
cmp dword [ebp + 0x34], 8
lea ecx, [ebp - 0x5018]
push ecx
lea ecx, [ebp - 0x5010]
mov dword [ebp - 0x5018], 0x5000
push ecx
push 0
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
push 0
push eax
push dword [ebp - 0x5040]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, eax
test ecx, ecx
jne 0x4236e2
lea ecx, [ebp - 0x5010]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4236b5
mov edi, dword [ebp - 0x5048]
lea eax, [ebp - 0x5010]
sub ecx, edx
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.00402a90
mov byte [ebp - 0x5041], 1
jmp 0x423724
mov esi, dword [0x524fac]
test esi, esi
jne 0x423644
mov eax, dword [0x524fb0]
test eax, eax
je 0x42371e
mov esi, dword [eax]
push ecx
push str.getRegistryValue:_RegQueryValueExW_failed_with_error__ld
push str.OSUtils
mov esi, dword [esi + 0x34]
mov ecx, esi
push 0x50cdf8
push 0x28
push eax
call dword [0x4f4350]
call esi
add esp, 0x18
mov edi, dword [ebp - 0x5048]
push dword [ebp - 0x5040]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x524fac], 0
je 0x42378c
cmp dword [edi + 0x14], 8
jb 0x423741
mov edi, dword [edi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [0x524fac]
mov ecx, esi
push eax
movzx eax, byte [ebp - 0x5041]
push edi
push eax
push str.getRegistryValue:_Status:_d_Value:_s_Error:_d
push 0x50cdf8
push 0x50cdf8
push str.OSUtils
push str.OOBEUtils
push 0xa
call dword [0x4f4350]
call esi
add esp, 0x24
lea ecx, [ebp - 0x503c]
call fcn.00402a30
jmp 0x4237eb
mov esi, dword [0x524fb0]
test esi, esi
je 0x4237d7
cmp dword [edi + 0x14], 8
jb 0x42379e
mov edi, dword [edi]
mov esi, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [esi + 0x34]
mov ecx, esi
push eax
movzx eax, byte [ebp - 0x5041]
push edi
push eax
push str.getRegistryValue:_Status:_d_Value:_s_Error:_d
push str.OSUtils
push 0x50cdf8
push 0xa
push dword [0x524fb0]
call dword [0x4f4350]
call esi
add esp, 0x20
lea ecx, [ebp - 0x503c]
call fcn.00402a30
jmp 0x4237eb
mov byte [ebp - 0x5041], 0
lea ecx, [ebp - 0x5024]
call fcn.00403850
lea ecx, [ebp + 8]
call fcn.00402a30
lea ecx, [ebp + 0x20]
call fcn.00402a30
lea ecx, [ebp + 0x38]
call fcn.00402a30
mov al, byte [ebp - 0x5041]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004cc21a
mov esp, ebp
pop ebp
ret
call fcn.00402ba0
int3