Function at 0x43f5b0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4d2b6f
push eax
mov eax, 0x4248
mov dword fs:[0], esp
call fcn.004a0690
push ebx
push ebp
push esi
push edi
mov ebp, ecx
lea eax, [esp + 0x1c]
xor esi, esi
push eax
push 0x20019
push esi
push str.SoftwareMicrosoftWindowsCurrentVersionpeizaiwangcn
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x4274], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x43f80a
mov cl, byte [0x533b8c]
lea edi, [esp + 0x55]
mov byte [esp + 0x54], cl
mov ecx, 0x40
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea edx, [esp + 0x40]
lea eax, [esp + 0x38]
push edx
lea ecx, [esp + 0x40]
push eax
lea edx, [esp + 0x58]
push ecx
lea eax, [esp + 0x30]
push edx
lea ecx, [esp + 0x58]
push eax
lea edx, [esp + 0x60]
push ecx
lea eax, [esp + 0x30]
push edx
push eax
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x50]
push esi
lea edx, [esp + 0x78]
push ecx
push edx
push eax
mov dword [esp + 0x60], 0x104
mov dword [esp + 0x48], esi
mov dword [esp + 0x50], 0x3fff
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x43f6ad
jbe 0x43f6ad
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov ebx, 0xff
lea ecx, [esp + 0x40]
lea edx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x20]
push 0
push 0
push 0
lea eax, [esp + 0x168]
push edx
push eax
push esi
push ecx
mov dword [esp + 0x48], ebx
call edi
mov eax, dword [esp + 0x18]
inc esi
cmp esi, eax
jb 0x43f680
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x43f80a
mov eax, dword [0x5317dc]
mov dword [esp + 0x10], eax
mov byte [esp + 0x4260], 1
mov dword [esp + 0x14], eax
mov bl, 2
xor esi, esi
test ecx, ecx
mov byte [esp + 0x4260], bl
jbe 0x43f7e8
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov ecx, dword [esp + 0x1c]
push 0
push 0
push 0
lea edx, [esp + 0x2c]
push 0
lea eax, [esp + 0x268]
push edx
push eax
push esi
push ecx
mov dword [esp + 0x40], 0x3fff
mov byte [esp + 0x278], 0
call edi
test eax, eax
jne 0x43f7db
lea edx, [esp + 0x258]
lea eax, [esp + 0x10]
push edx
push 0x505480
push eax
call fcn.004b1390
add esp, 8
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.004b7771
mov ecx, dword [ebp + 0x2048]
lea eax, [esp + 0x30]
push str.SoftwareMicrosoftWindowsCurrentVersionpeizaiwangcn_
push eax
mov byte [esp + 0x426c], bl
call fcn.00406ef0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x4264], 4
call fcn.004b7b35
lea ecx, [esp + 0x2c]
mov byte [esp + 0x4260], bl
call fcn.004b79fc
mov ecx, dword [esp + 0x14]
push str.Error
push ecx
call fcn.0049fe02
add esp, 8
test eax, eax
je 0x43f7db
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x4268]
push edx
push eax
call fcn.0049fe02
add esp, 8
test eax, eax
jne 0x43f7db
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.004b7771
mov ecx, dword [ebp + 0x2048]
push str.SoftwareMicrosoftWindowsCurrentVersionpeizaiwangcn_
mov byte [esp + 0x4268], bl
call fcn.00407800
mov eax, dword [esp + 0x24]
inc esi
cmp esi, eax
jb 0x43f6e7
lea ecx, [esp + 0x14]
mov byte [esp + 0x4260], 1
call fcn.004b79fc
lea ecx, [esp + 0x10]
mov byte [esp + 0x4260], 0
call fcn.004b79fc
lea ecx, [esp + 0x4268]
mov dword [esp + 0x4260], 0xffffffff
call fcn.004b79fc
mov ecx, dword [esp + 0x4258]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x4254
ret 4