Function at 0x44d590
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4d5902
push eax
mov eax, 0x424c
mov dword fs:[0], esp
call fcn.004a0690
push ebx
push ebp
push esi
lea eax, [esp + 0x14]
push edi
push eax
xor esi, esi
push 0x20019
push esi
push str.SoftwareMicrosoftWindowsCurrentVersionpeizaiwangcn_EndCity
mov ebp, ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x44d7e1
mov cl, byte [0x533b8c]
lea edi, [esp + 0x59]
mov byte [esp + 0x58], cl
mov ecx, 0x40
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea edx, [esp + 0x44]
lea eax, [esp + 0x4c]
push edx
lea ecx, [esp + 0x44]
push eax
lea edx, [esp + 0x5c]
push ecx
lea eax, [esp + 0x34]
push edx
lea ecx, [esp + 0x4c]
push eax
lea edx, [esp + 0x64]
push ecx
lea eax, [esp + 0x38]
push edx
push eax
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x50]
push esi
lea edx, [esp + 0x7c]
push ecx
push edx
push eax
mov dword [esp + 0x60], 0x104
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], 0x3fff
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov eax, dword [esp + 0x20]
cmp eax, esi
je 0x44d686
jbe 0x44d686
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov ebx, 0xff
lea ecx, [esp + 0x44]
lea edx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x1c]
push 0
push 0
push 0
lea eax, [esp + 0x16c]
push edx
push eax
push esi
push ecx
mov dword [esp + 0x58], ebx
call edi
mov eax, dword [esp + 0x20]
inc esi
cmp esi, eax
jb 0x44d659
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x44d7e1
mov eax, dword [0x5317dc]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x4264], 0
mov dword [esp + 0x10], eax
mov bl, 1
xor esi, esi
test ecx, ecx
mov byte [esp + 0x4264], bl
jbe 0x44d7bc
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov ecx, dword [esp + 0x18]
push 0
push 0
push 0
lea edx, [esp + 0x30]
push 0
lea eax, [esp + 0x26c]
push edx
push eax
push esi
push ecx
mov dword [esp + 0x44], 0x3fff
mov byte [esp + 0x27c], 0
call edi
test eax, eax
jne 0x44d7af
lea edx, [esp + 0x25c]
lea eax, [esp + 0x1c]
push edx
push 0x505480
push eax
call fcn.004b1390
add esp, 8
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.004b7771
mov ecx, dword [ebp + 0x5c]
lea eax, [esp + 0x30]
push str.SoftwareMicrosoftWindowsCurrentVersionpeizaiwangcn_EndCity_
push eax
mov byte [esp + 0x4270], bl
call fcn.00406ef0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x4268], 3
call fcn.004b7b35
lea ecx, [esp + 0x2c]
mov byte [esp + 0x4264], bl
call fcn.004b79fc
mov ecx, dword [esp + 0x10]
push str.Error
push ecx
call fcn.0049fe02
add esp, 8
test eax, eax
je 0x44d7af
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.004b7771
mov ecx, ebp
mov byte [esp + 0x4268], bl
call fcn.0044d890
test eax, eax
je 0x44d7af
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x1e4]
push eax
push 0
push 0x180
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x28]
inc esi
cmp esi, eax
jb 0x44d6c3
lea ecx, [esp + 0x10]
mov byte [esp + 0x4264], 0
call fcn.004b79fc
lea ecx, [esp + 0x1c]
mov dword [esp + 0x4264], 0xffffffff
call fcn.004b79fc
mov edx, dword [ebp + 0x1e4]
push 0
push 0
push 0x18b
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [0x5317dc]
mov dword [esp + 0x14], ecx
test eax, eax
mov dword [esp + 0x4264], 5
jle 0x44d84b
lea esi, [eax - 1]
test esi, esi
jl 0x44d84b
lea ebx, [ebp + 0x1c8]
lea edi, [ebp + 0x240]
lea edx, [esp + 0x14]
mov ecx, ebx
push edx
push esi
call fcn.004c19b4
mov eax, dword [esp + 0x14]
mov ecx, edi
push eax
call fcn.00403130
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, edi
call fcn.00402200
dec esi
jns 0x44d823
push 0x526dec
lea ecx, [ebp + 0x240]
call fcn.00403130
lea ecx, [esp + 0x14]
mov dword [esp + 0x4264], 0xffffffff
call fcn.004b79fc
mov ecx, dword [esp + 0x425c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x4258
ret