Function at 0x438cb0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49a169
mov eax, dword fs:[0]
push eax
mov eax, 0x5054
call fcn.0046a7a0
mov eax, dword [0x4c4014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x5041], dl
mov edi, ecx
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x5018], 0
movq qword [ebp - 0x5020], xmm0
mov dword [ebp - 0x5020], 0
mov dword [ebp - 0x501c], 0
mov dword [ebp - 0x5018], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x505c]
push 1
push 0x4af2bc
mov dword [ebp - 0x505c], 0
mov dword [ebp - 0x504c], 0
mov dword [ebp - 0x5048], 0
call fcn.00402060
lea eax, [ebp - 0x505c]
mov byte [ebp - 4], 4
push eax
lea edx, [ebp + 8]
lea ecx, [ebp - 0x5020]
call fcn.004276e0
mov byte [ebp - 4], 3
add esp, 4
mov ecx, dword [ebp - 0x5048]
cmp ecx, 8
jb 0x438db8
mov edx, dword [ebp - 0x505c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x438dae
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x439422
push ecx
push edx
call fcn.00469a08
add esp, 8
mov ebx, dword [ebp - 0x501c]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x5020]
mov ecx, ebx
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x438e09
lea eax, [ebp + 8]
push eax
cmp ebx, dword [ebp - 0x5018]
je 0x438df7
mov ecx, ebx
call fcn.00403570
add dword [ebp - 0x501c], 0x18
jmp 0x438e03
push ebx
lea ecx, [ebp - 0x5020]
call fcn.00403380
mov esi, dword [ebp - 0x5020]
push str.HKEY_CLASSES_ROOT
mov ecx, esi
call fcn.00404700
test al, al
je 0x438e23
mov esi, 0x80000000
jmp 0x438ec9
push str.HKEY_CURRENT_USER
mov ecx, esi
call fcn.00404700
test al, al
je 0x438e3d
mov esi, 0x80000001
jmp 0x438ec9
push str.HKEY_LOCAL_MACHINE
mov ecx, esi
call fcn.00404700
test al, al
je 0x438e54
mov esi, 0x80000002
jmp 0x438ec9
push str.HKEY_USERS
mov ecx, esi
call fcn.00404700
test al, al
je 0x438e6b
mov esi, 0x80000003
jmp 0x438ec9
push str.HKEY_CURRENT_CONFIG
mov ecx, esi
call fcn.00404700
test al, al
je 0x438e82
mov esi, VariantCopy
jmp 0x438ec9
push str.HKEY_PERFORMANCE_DATA
mov ecx, esi
call fcn.00404700
test al, al
je 0x438e99
mov esi, 0x80000004
jmp 0x438ec9
push str.HKEY_PERFORMANCE_NLSTEXT
mov ecx, esi
call fcn.00404700
test al, al
je 0x438eb0
mov esi, 0x80000060
jmp 0x438ec9
push str.HKEY_PERFORMANCE_TEXT
mov ecx, esi
call fcn.00404700
test al, al
je 0x439324
mov esi, 0x80000050
mov ebx, 7
mov dword [ebp - 0x503c], 0
xor eax, eax
mov dword [ebp - 0x502c], 0
mov dword [ebp - 0x5028], ebx
mov word [ebp - 0x503c], ax
mov byte [ebp - 4], 5
lea ecx, [ebp + 8]
cmp dword [ebp + 0x1c], 8
mov edx, dword [ebp + 0x18]
cmovae ecx, dword [ebp + 8]
push 1
push 0x4af2bc
push ecx
call fcn.0040abd0
add esp, 0xc
cmp eax, 0xffffffff
je 0x438fc6
lea edx, [eax + 1]
mov dword [ebp - 0x505c], 0
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x504c], 0
mov dword [ebp - 0x5048], 0
cmp eax, edx
jb 0x43941d
sub eax, edx
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x505c]
lea eax, [eax + edx*2]
push eax
call fcn.00402060
lea eax, [ebp - 0x505c]
push eax
lea ecx, [ebp - 0x503c]
call fcn.00402cf0
mov ecx, dword [ebp - 0x5048]
cmp ecx, 8
jb 0x438fc0
mov edx, dword [ebp - 0x505c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x438fb6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x439422
push ecx
push edx
call fcn.00469a08
add esp, 8
mov ebx, dword [ebp - 0x5028]
cmp byte [ebp - 0x5041], 0
lea ecx, [ebp - 0x5040]
lea eax, [ebp - 0x503c]
push ecx
je 0x438fe3
push 0x20019
jmp 0x438fe8
push 0x20119
cmp ebx, 8
push 0
cmovae eax, dword [ebp - 0x503c]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x439070
mov esi, dword [0x4c8c94]
test esi, esi
je 0x43903a
push eax
push str.getRegistryValue:_RegOpenKeyExW_failed_with_error__ld
push 0x4aea60
push 0x4aea60
push str.OSUtils
push str.OOBEUtils
push 0x28
mov ecx, esi
call dword [0x49e2d4]
call esi
add esp, 0x1c
xor bl, bl
jmp 0x4392c5
mov ecx, dword [0x4c8c98]
test ecx, ecx
je 0x439069
mov esi, dword [ecx]
push eax
push str.getRegistryValue:_RegOpenKeyExW_failed_with_error__ld
push str.OSUtils
mov esi, dword [esi + 0x34]
push 0x4aea60
push 0x28
push ecx
mov ecx, esi
call dword [0x49e2d4]
call esi
add esp, 0x18
xor bl, bl
jmp 0x4392c5
mov edx, dword [ebp + 0x48]
lea esi, [ebp + 0x38]
xor bl, bl
cmp dword [ebp + 0x4c], 8
cmovae esi, dword [ebp + 0x38]
cmp edx, 9
jne 0x439158
mov ecx, str.REG_DWORD
test edx, edx
je 0x4390b5
sub esi, ecx
nop dword [eax]
nop dword [eax + eax]
mov ax, word [esi + ecx]
cmp ax, word [ecx]
jne 0x439158
add ecx, 2
sub edx, 1
jne 0x4390a0
cmp dword [ebp + 0x34], 8
lea ecx, [ebp - 0x5014]
push ecx
lea ecx, [ebp - 0x5024]
mov dword [ebp - 0x5014], 4
push ecx
push 0
lea eax, [ebp + 0x20]
mov dword [ebp - 0x5024], 0
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 0x4391c2
mov esi, dword [ebp - 0x5024]
push 0xb0
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.0046bbb0
add esp, 8
lea ecx, [ebp - 0xc0]
call fcn.00413ca0
push 0
push esi
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 6
call fcn.00416b20
mov edx, edi
lea ecx, [ebp - 0xc0]
call fcn.004188b0
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 5
call fcn.00413110
mov bl, 1
jmp 0x439225
cmp dword [ebp + 0x34], 8
lea ecx, [ebp - 0x5014]
push ecx
lea ecx, [ebp - 0x5010]
mov dword [ebp - 0x5014], 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 0x4391c2
lea ecx, [ebp - 0x5010]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4391a0
sub ecx, edx
lea eax, [ebp - 0x5010]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.00402e00
mov bl, 1
jmp 0x439225
mov esi, dword [0x4c8c94]
test esi, esi
je 0x4391f7
push ecx
push str.getRegistryValue:_RegQueryValueExW_failed_with_error__ld
push 0x4aea60
push 0x4aea60
push str.OSUtils
push str.OOBEUtils
push 0x28
mov ecx, esi
call dword [0x49e2d4]
call esi
add esp, 0x1c
jmp 0x439225
mov eax, dword [0x4c8c98]
test eax, eax
je 0x439225
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 0x4aea60
push 0x28
push eax
call dword [0x49e2d4]
call esi
add esp, 0x18
push dword [ebp - 0x5040]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x4c8c94], 0
je 0x43927e
cmp dword [edi + 0x14], 8
jb 0x439242
mov edi, dword [edi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [0x4c8c94]
mov ecx, esi
push eax
push edi
movzx eax, bl
push eax
push str.getRegistryValue:_Status:_d_Value:_s_Error:_d
push 0x4aea60
push 0x4aea60
push str.OSUtils
push str.OOBEUtils
push 0xa
call dword [0x49e2d4]
call esi
add esp, 0x24
jmp 0x4392c5
mov esi, dword [0x4c8c98]
test esi, esi
je 0x4392c5
cmp dword [edi + 0x14], 8
jb 0x439290
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
push edi
movzx eax, bl
push eax
push str.getRegistryValue:_Status:_d_Value:_s_Error:_d
push str.OSUtils
push 0x4aea60
push 0xa
push dword [0x4c8c98]
call dword [0x49e2d4]
call esi
add esp, 0x20
mov ecx, dword [ebp - 0x5028]
cmp ecx, 8
jb 0x439305
mov edx, dword [ebp - 0x503c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4392fb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x439422
push ecx
push edx
call fcn.00469a08
add esp, 8
xor eax, eax
mov dword [ebp - 0x502c], 0
mov dword [ebp - 0x5028], 7
mov word [ebp - 0x503c], ax
jmp 0x439326
xor bl, bl
lea ecx, [ebp - 0x5020]
call fcn.00402d80
mov ecx, dword [ebp + 0x1c]
cmp ecx, 8
jb 0x43936b
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x439361
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x439422
push ecx
push edx
call fcn.00469a08
add esp, 8
mov ecx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
cmp ecx, 8
jb 0x4393b5
mov edx, dword [ebp + 0x20]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4393ab
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x439422
push ecx
push edx
call fcn.00469a08
add esp, 8
mov ecx, dword [ebp + 0x4c]
xor eax, eax
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 7
mov word [ebp + 0x20], ax
cmp ecx, 8
jb 0x4393ff
mov edx, dword [ebp + 0x38]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4393f5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x439422
push ecx
push edx
call fcn.00469a08
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004699ca
mov esp, ebp
pop ebp
ret
call fcn.0040a6b0
call fcn.00479631
int3