Function at 0x411aa0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43f6f2
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x5058
call fcn.0041de00
mov eax, dword [0x456014]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x5049], dl
mov dword [ebp - 0x5050], ecx
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x5024], 0
movq qword [ebp - 0x502c], xmm0
mov dword [ebp - 0x502c], 0
mov dword [ebp - 0x5028], 0
mov dword [ebp - 0x5024], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x5068]
push 1
push 0x44fc9c
mov dword [ebp - 0x5068], 0
mov dword [ebp - 0x5058], 0
mov dword [ebp - 0x5054], 0
call fcn.00402120
lea eax, [ebp - 0x5068]
mov byte [ebp - 4], 4
push eax
lea edx, [ebx + 8]
lea ecx, [ebp - 0x502c]
call fcn.00416fc0
mov byte [ebp - 4], 3
add esp, 4
mov ecx, dword [ebp - 0x5054]
cmp ecx, 8
jb 0x411bbf
mov edx, dword [ebp - 0x5068]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x411bb5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4123cf
push ecx
push edx
call fcn.0041cdfe
add esp, 8
mov edi, dword [ebp - 0x5028]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x502c]
mov ecx, edi
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x411c10
lea eax, [ebx + 8]
push eax
cmp edi, dword [ebp - 0x5024]
je 0x411bfe
mov ecx, edi
call fcn.004047a0
add dword [ebp - 0x5028], 0x18
jmp 0x411c0a
push edi
lea ecx, [ebp - 0x502c]
call fcn.0040dcb0
mov esi, dword [ebp - 0x502c]
mov eax, esi
mov edx, eax
mov ecx, dword [edx + 0x14]
mov dword [ebp - 0x5020], ecx
cmp ecx, 8
jb 0x411c24
mov eax, dword [esi]
mov edx, dword [edx + 0x10]
cmp edx, 0x11
jne 0x411c67
mov ecx, str.HKEY_CLASSES_ROOT
mov edi, edx
sub eax, ecx
mov dword [ebp - 0x501c], eax
nop dword [eax + eax]
mov ax, word [eax + ecx]
cmp ax, word [ecx]
jne 0x411c61
mov eax, dword [ebp - 0x501c]
add ecx, 2
sub edi, 1
jne 0x411c40
mov esi, 0x80000000
jmp 0x411e3a
mov ecx, dword [ebp - 0x5020]
mov eax, esi
cmp ecx, 8
jb 0x411c70
mov eax, dword [esi]
cmp edx, 0x11
jne 0x411cab
mov ecx, str.HKEY_CURRENT_USER
mov edi, edx
sub eax, ecx
mov dword [ebp - 0x501c], eax
mov ax, word [eax + ecx]
cmp ax, word [ecx]
jne 0x411ca5
mov eax, dword [ebp - 0x501c]
add ecx, 2
sub edi, 1
jne 0x411c84
mov esi, 0x80000001
jmp 0x411e3a
mov ecx, dword [ebp - 0x5020]
mov eax, esi
cmp ecx, 8
jb 0x411cb4
mov eax, dword [esi]
cmp edx, 0x12
jne 0x411cf7
mov ecx, str.HKEY_LOCAL_MACHINE
mov edi, edx
sub eax, ecx
mov dword [ebp - 0x501c], eax
nop dword [eax + eax]
mov ax, word [eax + ecx]
cmp ax, word [ecx]
jne 0x411cf1
mov eax, dword [ebp - 0x501c]
add ecx, 2
sub edi, 1
jne 0x411cd0
mov esi, 0x80000002
jmp 0x411e3a
mov ecx, dword [ebp - 0x5020]
mov eax, esi
cmp ecx, 8
jb 0x411d00
mov eax, dword [esi]
cmp edx, 0xa
jne 0x411d3b
mov ecx, str.HKEY_USERS
mov edi, edx
sub eax, ecx
mov dword [ebp - 0x501c], eax
mov ax, word [eax + ecx]
cmp ax, word [ecx]
jne 0x411d35
mov eax, dword [ebp - 0x501c]
add ecx, 2
sub edi, 1
jne 0x411d14
mov esi, 0x80000003
jmp 0x411e3a
mov ecx, dword [ebp - 0x5020]
mov eax, esi
cmp ecx, 8
jb 0x411d44
mov eax, dword [esi]
cmp edx, 0x13
jne 0x411d87
mov ecx, str.HKEY_CURRENT_CONFIG
mov edi, edx
sub eax, ecx
mov dword [ebp - 0x501c], eax
nop dword [eax + eax]
mov ax, word [ecx + eax]
cmp ax, word [ecx]
jne 0x411d81
mov eax, dword [ebp - 0x501c]
add ecx, 2
sub edi, 1
jne 0x411d60
mov esi, VariantCopy
jmp 0x411e3a
mov ecx, dword [ebp - 0x5020]
mov eax, esi
cmp ecx, 8
jb 0x411d90
mov eax, dword [esi]
cmp edx, 0x15
jne 0x411dc8
mov ecx, str.HKEY_PERFORMANCE_DATA
mov edi, edx
sub eax, ecx
mov dword [ebp - 0x501c], eax
mov ax, word [ecx + eax]
cmp ax, word [ecx]
jne 0x411dc2
mov eax, dword [ebp - 0x501c]
add ecx, 2
sub edi, 1
jne 0x411da4
mov esi, 0x80000004
jmp 0x411e3a
mov ecx, dword [ebp - 0x5020]
mov eax, esi
cmp ecx, 8
jb 0x411dd1
mov eax, dword [esi]
cmp edx, 0x18
jne 0x411e09
mov ecx, str.HKEY_PERFORMANCE_NLSTEXT
mov edi, edx
sub eax, ecx
mov dword [ebp - 0x501c], eax
mov ax, word [ecx + eax]
cmp ax, word [ecx]
jne 0x411e03
mov eax, dword [ebp - 0x501c]
add ecx, 2
sub edi, 1
jne 0x411de5
mov esi, 0x80000060
jmp 0x411e3a
mov ecx, dword [ebp - 0x5020]
cmp ecx, 8
jb 0x411e10
mov esi, dword [esi]
cmp edx, 0x15
jne 0x4122c6
mov ecx, str.HKEY_PERFORMANCE_TEXT
sub esi, ecx
mov ax, word [ecx + esi]
cmp ax, word [ecx]
jne 0x4122c6
add ecx, 2
sub edx, 1
jne 0x411e20
mov esi, 0x80000050
mov edi, 7
mov dword [ebp - 0x5044], 0
xor eax, eax
mov dword [ebp - 0x5034], 0
mov dword [ebp - 0x5030], edi
mov word [ebp - 0x5044], ax
push ecx
push 0x44fc9c
lea ecx, [ebx + 8]
mov byte [ebp - 4], 5
call fcn.00410f70
cmp eax, 0xffffffff
je 0x411f33
lea edx, [eax + 1]
mov dword [ebp - 0x5068], 0
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x5058], 0
mov dword [ebp - 0x5054], 0
cmp eax, edx
jb 0x4123ca
sub eax, edx
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebx + 0x1c], 8
lea eax, [ebx + 8]
cmovae eax, dword [ebx + 8]
push ecx
lea ecx, [ebp - 0x5068]
lea eax, [eax + edx*2]
push eax
call fcn.00402120
mov ecx, dword [ebp - 0x5030]
cmp ecx, 8
jb 0x411f0f
mov edx, dword [ebp - 0x5044]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x411f05
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4123cf
push ecx
push edx
call fcn.0041cdfe
add esp, 8
movups xmm0, xmmword [ebp - 0x5068]
movups xmmword [ebp - 0x5044], xmm0
movq xmm0, qword [ebp - 0x5058]
movq qword [ebp - 0x5034], xmm0
mov edi, dword [ebp - 0x5030]
cmp byte [ebp - 0x5049], 0
lea ecx, [ebp - 0x5048]
lea eax, [ebp - 0x5044]
push ecx
je 0x411f50
push 0x20019
jmp 0x411f55
push 0x20119
cmp edi, 8
push 0
cmovae eax, dword [ebp - 0x5044]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x411fe7
mov esi, dword [0x458214]
test esi, esi
je 0x411fac
push eax
push str.getRegistryValue:_RegOpenKeyExW_failed_with_error__ld
push 0x44cf3c
push 0x44cf3c
push str.OSUtils
push str.OOBEUtils
push 0x28
mov ecx, esi
call dword [0x44123c]
call esi
add esp, 0x1c
mov byte [ebp - 0x5049], 0
jmp 0x412267
mov ecx, dword [0x458218]
test ecx, ecx
je 0x411fdb
mov esi, dword [ecx]
push eax
push str.getRegistryValue:_RegOpenKeyExW_failed_with_error__ld
push str.OSUtils
mov esi, dword [esi + 0x34]
push 0x44cf3c
push 0x28
push ecx
mov ecx, esi
call dword [0x44123c]
call esi
add esp, 0x18
mov byte [ebp - 0x5049], 0
jmp 0x412267
cmp dword [ebx + 0x4c], 8
lea esi, [ebx + 0x38]
mov edx, dword [ebx + 0x48]
cmovae esi, dword [ebx + 0x38]
mov byte [ebp - 0x5049], 0
cmp edx, 9
jne 0x41210b
mov ecx, str.REG_DWORD
test edx, edx
je 0x412025
sub esi, ecx
mov ax, word [ecx + esi]
cmp ax, word [ecx]
jne 0x41210b
add ecx, 2
sub edx, 1
jne 0x412010
cmp dword [ebx + 0x34], 8
lea ecx, [ebp - 0x501c]
push ecx
lea ecx, [ebp - 0x5020]
mov dword [ebp - 0x501c], 4
push ecx
push 0
lea eax, [ebx + 0x20]
mov dword [ebp - 0x5020], 0
cmovae eax, dword [ebx + 0x20]
push 0
push eax
push dword [ebp - 0x5048]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, eax
test ecx, ecx
jne 0x4120cf
mov esi, dword [ebp - 0x5020]
push 0xb0
push eax
lea eax, [ebp - 0xc8]
push eax
call fcn.0041ef60
add esp, 8
lea ecx, [ebp - 0xc8]
call fcn.0040a080
push 0
push esi
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 6
call fcn.00417d80
mov edi, dword [ebp - 0x5050]
lea ecx, [ebp - 0xc8]
mov edx, edi
call fcn.00417360
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 5
call fcn.004065a0
mov byte [ebp - 0x5049], 1
jmp 0x4121bf
mov esi, dword [0x458214]
test esi, esi
je 0x41218b
push ecx
push str.getRegistryValue:_RegQueryValueExW_failed_with_error__ld
push 0x44cf3c
push 0x44cf3c
push str.OSUtils
push str.OOBEUtils
push 0x28
mov ecx, esi
call dword [0x44123c]
call esi
add esp, 0x1c
jmp 0x4121b9
cmp dword [ebx + 0x34], 8
lea ecx, [ebp - 0x501c]
push ecx
lea ecx, [ebp - 0x5018]
mov dword [ebp - 0x501c], 0x5000
push ecx
push 0
lea eax, [ebx + 0x20]
cmovae eax, dword [ebx + 0x20]
push 0
push eax
push dword [ebp - 0x5048]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, eax
test ecx, ecx
jne 0x41217d
lea ecx, [ebp - 0x5018]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x412150
mov edi, dword [ebp - 0x5050]
lea eax, [ebp - 0x5018]
sub ecx, edx
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.00403270
mov byte [ebp - 0x5049], 1
jmp 0x4121bf
mov esi, dword [0x458214]
test esi, esi
jne 0x4120dd
mov eax, dword [0x458218]
test eax, eax
je 0x4121b9
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 0x44cf3c
push 0x28
push eax
call dword [0x44123c]
call esi
add esp, 0x18
mov edi, dword [ebp - 0x5050]
push dword [ebp - 0x5048]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x458214], 0
je 0x41221c
cmp dword [edi + 0x14], 8
jb 0x4121dc
mov edi, dword [edi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [0x458214]
mov ecx, esi
push eax
movzx eax, byte [ebp - 0x5049]
push edi
push eax
push str.getRegistryValue:_Status:_d_Value:_s_Error:_d
push 0x44cf3c
push 0x44cf3c
push str.OSUtils
push str.OOBEUtils
push 0xa
call dword [0x44123c]
call esi
add esp, 0x24
jmp 0x412267
mov esi, dword [0x458218]
test esi, esi
je 0x412267
cmp dword [edi + 0x14], 8
jb 0x41222e
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 - 0x5049]
push edi
push eax
push str.getRegistryValue:_Status:_d_Value:_s_Error:_d
push str.OSUtils
push 0x44cf3c
push 0xa
push dword [0x458218]
call dword [0x44123c]
call esi
add esp, 0x20
mov ecx, dword [ebp - 0x5030]
cmp ecx, 8
jb 0x4122a7
mov edx, dword [ebp - 0x5044]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41229d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4123cf
push ecx
push edx
call fcn.0041cdfe
add esp, 8
xor eax, eax
mov dword [ebp - 0x5034], 0
mov dword [ebp - 0x5030], 7
mov word [ebp - 0x5044], ax
jmp 0x4122cd
mov byte [ebp - 0x5049], 0
lea ecx, [ebp - 0x502c]
call fcn.0040a450
mov ecx, dword [ebx + 0x1c]
cmp ecx, 8
jb 0x412312
mov edx, dword [ebx + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x412308
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4123cf
push ecx
push edx
call fcn.0041cdfe
add esp, 8
mov ecx, dword [ebx + 0x34]
xor eax, eax
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 7
mov word [ebx + 8], ax
cmp ecx, 8
jb 0x41235c
mov edx, dword [ebx + 0x20]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x412352
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4123cf
push ecx
push edx
call fcn.0041cdfe
add esp, 8
mov ecx, dword [ebx + 0x4c]
xor eax, eax
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 7
mov word [ebx + 0x20], ax
cmp ecx, 8
jb 0x4123a6
mov edx, dword [ebx + 0x38]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41239c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4123cf
push ecx
push edx
call fcn.0041cdfe
add esp, 8
mov al, byte [ebp - 0x5049]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041cdc0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0040c870
call fcn.0042200f
int3