Function at 0x43ab90
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xa4
push ebx
push ebp
push esi
mov esi, dword [esp + 0xb4]
test esi, esi
push edi
jne 0x43abb5
pop edi
pop esi
pop ebp
mov eax, 0x32
pop ebx
add esp, 0xa4
ret
mov ecx, 0x27
xor eax, eax
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], 0x9c
call edi
mov ebp, eax
test ebp, ebp
jne 0x43ac00
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], 0x94
push ecx
call edi
test eax, eax
jne 0x43ac00
pop edi
pop esi
pop ebp
mov eax, 0x10
pop ebx
add esp, 0xa4
ret
mov eax, dword [esp + 0x28]
sub eax, 2
je 0x43ac24
push str.........
push esi
call fcn.00467d68
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa4
ret
mov eax, dword [str.SYSTEMCurrentControlSetControlSession_ManagerEnvironment]
lea edx, [esp + 0x10]
push edx
push 1
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x43ac52
pop edi
pop esi
pop ebp
mov eax, 0x10
pop ebx
add esp, 0xa4
ret
mov edx, dword [str.PROCESSOR_ARCHITECTURE]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x43ac8e
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
mov eax, 0x10
pop ebx
add esp, 0xa4
ret
mov edx, dword [esp + 0x14]
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push edx
push 8
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
jne 0x43acc5
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
mov eax, 0x10
pop ebx
add esp, 0xa4
ret
mov edx, dword [str.PROCESSOR_ARCHITECTURE]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push edi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov ecx, dword [str.ver_platform_win32_nt]
push edi
push edx
push eax
push ecx
push str._s._d._d._s
push esi
call fcn.00467d68
add esp, 0x18
push edi
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
test ebp, ebp
je 0x43adf1
mov al, byte [esp + 0xb2]
cmp al, 1
jne 0x43ad55
mov edx, dword [str.ver_nt_workstation]
push edx
push esi
push str._s._s
push esi
call fcn.00467d68
mov eax, dword [esp + 0xc0]
add esp, 0x10
test ah, 2
je 0x43adae
mov eax, dword [str.ver_suite_personal]
push eax
jmp 0x43adb3
cmp al, 3
je 0x43ad5d
cmp al, 2
jne 0x43adc2
mov ecx, dword [str.ver_nt_server]
push ecx
push esi
push str._s._s
push esi
call fcn.00467d68
mov eax, dword [esp + 0xc0]
add esp, 0x10
test al, 0x80
je 0x43ad87
mov edx, dword [str.ver_suite_datacenter]
push edx
jmp 0x43adb3
test al, 2
je 0x43ad93
mov eax, dword [str.ver_suite_enterprise]
push eax
jmp 0x43adb3
test ah, 4
je 0x43ada1
mov ecx, dword [str.ver_suite_blade]
push ecx
jmp 0x43adb3
test al, 0x20
je 0x43adae
mov edx, dword [str.ver_suite_smallbusiness_restricted]
push edx
jmp 0x43adb3
push 0x4e5d84
push esi
push str._s._s
push esi
call fcn.00467d68
add esp, 0x10
mov eax, dword [esp + 0xae]
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0x24]
and eax, 0xffff
and ecx, 0xffff
push eax
push ecx
push edx
push esi
push str._s._d._d._d
push esi
call fcn.00467d68
add esp, 0x18
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xa4
ret