Function at 0x43aa90
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 0x5eac12
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x5058
call fcn.005a6630
mov eax, dword [0x6780cc]
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 0x647518
mov dword [ebp - 0x5068], 0
mov dword [ebp - 0x5058], 0
mov dword [ebp - 0x5054], 0
call fcn.00403460
lea eax, [ebp - 0x5068]
mov byte [ebp - 4], 4
push eax
lea edx, [ebx + 8]
lea ecx, [ebp - 0x502c]
call fcn.00426820
mov byte [ebp - 4], 3
add esp, 4
mov ecx, dword [ebp - 0x5054]
cmp ecx, 8
jb 0x43abaf
mov edx, dword [ebp - 0x5068]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x43aba5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43b3cf
push ecx
push edx
call fcn.005a5f31
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 0x43ac00
lea eax, [ebx + 8]
push eax
cmp edi, dword [ebp - 0x5024]
je 0x43abee
mov ecx, edi
call fcn.00408fe0
add dword [ebp - 0x5028], 0x18
jmp 0x43abfa
push edi
lea ecx, [ebp - 0x502c]
call fcn.0042a6c0
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 0x43ac14
mov eax, dword [esi]
mov edx, dword [edx + 0x10]
cmp edx, 0x11
jne 0x43ac57
mov ecx, str.HKEY_CLASSES_ROOT
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 0x43ac51
mov eax, dword [ebp - 0x501c]
add ecx, 2
sub edi, 1
jne 0x43ac30
mov esi, SysReAllocStringLen
jmp 0x43ae2a
mov ecx, dword [ebp - 0x5020]
mov eax, esi
cmp ecx, 8
jb 0x43ac60
mov eax, dword [esi]
cmp edx, 0x11
jne 0x43ac9b
mov ecx, str.HKEY_CURRENT_USER
mov edi, edx
sub eax, ecx
mov dword [ebp - 0x501c], eax
mov ax, word [ecx + eax]
cmp ax, word [ecx]
jne 0x43ac95
mov eax, dword [ebp - 0x501c]
add ecx, 2
sub edi, 1
jne 0x43ac74
mov esi, SysReAllocStringLen
jmp 0x43ae2a
mov ecx, dword [ebp - 0x5020]
mov eax, esi
cmp ecx, 8
jb 0x43aca4
mov eax, dword [esi]
cmp edx, 0x12
jne 0x43ace7
mov ecx, str.HKEY_LOCAL_MACHINE
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 0x43ace1
mov eax, dword [ebp - 0x501c]
add ecx, 2
sub edi, 1
jne 0x43acc0
mov esi, reloc.OLEAUT32.dll_SysReAllocString
jmp 0x43ae2a
mov ecx, dword [ebp - 0x5020]
mov eax, esi
cmp ecx, 8
jb 0x43acf0
mov eax, dword [esi]
cmp edx, 0xa
jne 0x43ad2b
mov ecx, str.HKEY_USERS
mov edi, edx
sub eax, ecx
mov dword [ebp - 0x501c], eax
mov ax, word [ecx + eax]
cmp ax, word [ecx]
jne 0x43ad25
mov eax, dword [ebp - 0x501c]
add ecx, 2
sub edi, 1
jne 0x43ad04
mov esi, SysStringLen
jmp 0x43ae2a
mov ecx, dword [ebp - 0x5020]
mov eax, esi
cmp ecx, 8
jb 0x43ad34
mov eax, dword [esi]
cmp edx, 0x13
jne 0x43ad77
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 0x43ad71
mov eax, dword [ebp - 0x501c]
add ecx, 2
sub edi, 1
jne 0x43ad50
mov esi, SysStringLen
jmp 0x43ae2a
mov ecx, dword [ebp - 0x5020]
mov eax, esi
cmp ecx, 8
jb 0x43ad80
mov eax, dword [esi]
cmp edx, 0x15
jne 0x43adb8
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 0x43adb2
mov eax, dword [ebp - 0x501c]
add ecx, 2
sub edi, 1
jne 0x43ad94
mov esi, reloc.OLEAUT32.dll_SysReAllocStringLen
jmp 0x43ae2a
mov ecx, dword [ebp - 0x5020]
mov eax, esi
cmp ecx, 8
jb 0x43adc1
mov eax, dword [esi]
cmp edx, 0x18
jne 0x43adf9
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 0x43adf3
mov eax, dword [ebp - 0x501c]
add ecx, 2
sub edi, 1
jne 0x43add5
mov esi, 0x80000060
jmp 0x43ae2a
mov ecx, dword [ebp - 0x5020]
cmp ecx, 8
jb 0x43ae00
mov esi, dword [esi]
cmp edx, 0x15
jne 0x43b2c6
mov ecx, str.HKEY_PERFORMANCE_TEXT
sub esi, ecx
mov ax, word [ecx + esi]
cmp ax, word [ecx]
jne 0x43b2c6
add ecx, 2
sub edx, 1
jne 0x43ae10
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
mov byte [ebp - 4], 5
lea ecx, [ebx + 8]
cmp dword [ebx + 0x1c], 8
mov edx, dword [ebx + 0x18]
cmovae ecx, dword [ebx + 8]
push 1
push 0x647518
push ecx
call fcn.00414070
add esp, 0xc
cmp eax, 0xffffffff
je 0x43af33
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 0x43b3ca
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.00403460
mov ecx, dword [ebp - 0x5030]
cmp ecx, 8
jb 0x43af0f
mov edx, dword [ebp - 0x5044]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x43af05
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43b3cf
push ecx
push edx
call fcn.005a5f31
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 0x43af50
push 0x20019
jmp 0x43af55
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 0x43afe7
mov esi, dword [0x6830d8]
test esi, esi
je 0x43afac
push eax
push str.getRegistryValue:_RegOpenKeyExW_failed_with_error__ld
push 0x6424a4
push 0x6424a4
push str.OSUtils
push 0x64f5e4
push 0x28
mov ecx, esi
call dword [0x5feab8]
call esi
add esp, 0x1c
mov byte [ebp - 0x5049], 0
jmp 0x43b267
mov ecx, dword [0x6830dc]
test ecx, ecx
je 0x43afdb
mov esi, dword [ecx]
push eax
push str.getRegistryValue:_RegOpenKeyExW_failed_with_error__ld
push str.OSUtils
mov esi, dword [esi + 0x34]
push 0x6424a4
push 0x28
push ecx
mov ecx, esi
call dword [0x5feab8]
call esi
add esp, 0x18
mov byte [ebp - 0x5049], 0
jmp 0x43b267
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 0x43b10b
mov ecx, str.REG_DWORD
test edx, edx
je 0x43b025
sub esi, ecx
mov ax, word [ecx + esi]
cmp ax, word [ecx]
jne 0x43b10b
add ecx, 2
sub edx, 1
jne 0x43b010
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 0x43b0cf
mov esi, dword [ebp - 0x5020]
push 0xb0
push eax
lea eax, [ebp - 0xc8]
push eax
call fcn.005b9e00
add esp, 8
lea ecx, [ebp - 0xc8]
call fcn.00427560
push 0
push esi
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 6
call fcn.00435490
mov edi, dword [ebp - 0x5050]
lea ecx, [ebp - 0xc8]
mov edx, edi
call fcn.004293a0
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 5
call fcn.00426b30
mov byte [ebp - 0x5049], 1
jmp 0x43b1bf
mov esi, dword [0x6830d8]
test esi, esi
je 0x43b18b
push ecx
push str.getRegistryValue:_RegQueryValueExW_failed_with_error__ld
push 0x6424a4
push 0x6424a4
push str.OSUtils
push 0x64f5e4
push 0x28
mov ecx, esi
call dword [0x5feab8]
call esi
add esp, 0x1c
jmp 0x43b1b9
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 0x43b17d
lea ecx, [ebp - 0x5018]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43b150
mov edi, dword [ebp - 0x5050]
lea eax, [ebp - 0x5018]
sub ecx, edx
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.00404650
mov byte [ebp - 0x5049], 1
jmp 0x43b1bf
mov esi, dword [0x6830d8]
test esi, esi
jne 0x43b0dd
mov eax, dword [0x6830dc]
test eax, eax
je 0x43b1b9
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 0x6424a4
push 0x28
push eax
call dword [0x5feab8]
call esi
add esp, 0x18
mov edi, dword [ebp - 0x5050]
push dword [ebp - 0x5048]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x6830d8], 0
je 0x43b21c
cmp dword [edi + 0x14], 8
jb 0x43b1dc
mov edi, dword [edi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [0x6830d8]
mov ecx, esi
push eax
movzx eax, byte [ebp - 0x5049]
push edi
push eax
push str.getRegistryValue:_Status:_d_Value:_s_Error:_d
push 0x6424a4
push 0x6424a4
push str.OSUtils
push 0x64f5e4
push 0xa
call dword [0x5feab8]
call esi
add esp, 0x24
jmp 0x43b267
mov esi, dword [0x6830dc]
test esi, esi
je 0x43b267
cmp dword [edi + 0x14], 8
jb 0x43b22e
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 0x6424a4
push 0xa
push dword [0x6830dc]
call dword [0x5feab8]
call esi
add esp, 0x20
mov ecx, dword [ebp - 0x5030]
cmp ecx, 8
jb 0x43b2a7
mov edx, dword [ebp - 0x5044]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x43b29d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43b3cf
push ecx
push edx
call fcn.005a5f31
add esp, 8
xor eax, eax
mov dword [ebp - 0x5034], 0
mov dword [ebp - 0x5030], 7
mov word [ebp - 0x5044], ax
jmp 0x43b2cd
mov byte [ebp - 0x5049], 0
lea ecx, [ebp - 0x502c]
call fcn.004076c0
mov ecx, dword [ebx + 0x1c]
cmp ecx, 8
jb 0x43b312
mov edx, dword [ebx + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x43b308
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43b3cf
push ecx
push edx
call fcn.005a5f31
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 0x43b35c
mov edx, dword [ebx + 0x20]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x43b352
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43b3cf
push ecx
push edx
call fcn.005a5f31
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 0x43b3a6
mov edx, dword [ebx + 0x38]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x43b39c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43b3cf
push ecx
push edx
call fcn.005a5f31
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.005a5aba
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00413de0
call fcn.005bd02a
int3