Function at 0x4557ad
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x204
mov eax, 0x59f989
call fcn.0045f202
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x114]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
push 0x104
push 0
push eax
call fcn.0056f980
add esp, 0xc
lea ecx, [ebp - 0x1a4]
push str.MySoft
call fcn.0040f5b0
and dword [ebp - 4], 0
lea ecx, [ebp - 0x18c]
push str.ZHGameBox
call fcn.0040f5b0
push esi
lea ecx, [ebp - 0x1bc]
mov byte [ebp - 4], 1
mov dword [ebp - 0x1e8], 0x104
call fcn.0040f6c0
lea eax, [ebp - 0x1bc]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x174]
push eax
call fcn.0044da86
pop ecx
pop ecx
lea ecx, [ebp - 0x1bc]
mov byte [ebp - 4], 4
call fcn.004113b0
cmp dword [ebp - 0x190], 0x10
lea ecx, [ebp - 0x1e8]
push ecx
lea ecx, [ebp - 0x114]
push ecx
push dword [ebp - 0x194]
lea eax, [ebp - 0x1a4]
cmovae eax, dword [ebp - 0x1a4]
push eax
call fcn.00450220
add esp, 0x10
lea eax, [ebp - 0x114]
lea ecx, [ebp - 0x1d4]
push eax
call fcn.0040f5b0
lea eax, [ebp - 0x1d4]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x15c]
push eax
call fcn.0044d796
pop ecx
pop ecx
lea ecx, [ebp - 0x1d4]
mov byte [ebp - 4], 7
call fcn.00411360
mov esi, 0x104
lea eax, [ebp - 0x114]
push esi
push 0
push eax
call fcn.0056f980
cmp dword [ebp - 0x178], 0x10
lea ecx, [ebp - 0x1e8]
push ecx
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x1e8], esi
lea eax, [ebp - 0x18c]
cmovae eax, dword [ebp - 0x18c]
push ecx
push dword [ebp - 0x17c]
push eax
call fcn.00450220
add esp, 0x1c
lea eax, [ebp - 0x114]
lea ecx, [ebp - 0x1bc]
push eax
call fcn.0040f5b0
lea eax, [ebp - 0x1bc]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x144]
push eax
call fcn.0044d796
pop ecx
pop ecx
lea ecx, [ebp - 0x1bc]
mov byte [ebp - 4], 0xa
call fcn.00411360
push esi
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.0056f980
cmp dword [ebp - 0x160], 0x10
lea ecx, [ebp - 0x1e8]
push ecx
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x1e8], esi
push ecx
push dword [ebp - 0x164]
lea eax, [ebp - 0x174]
cmovae eax, dword [ebp - 0x174]
push eax
call fcn.00450220
add esp, 0x1c
lea eax, [ebp - 0x114]
lea ecx, [ebp - 0x1d4]
push eax
call fcn.0040f5b0
lea eax, [ebp - 0x1d4]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x12c]
push eax
call fcn.0044d796
pop ecx
pop ecx
lea ecx, [ebp - 0x1d4]
mov byte [ebp - 4], 0xd
call fcn.00411360
xor eax, eax
mov dword [ebp - 0x1ec], esi
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x1d8], eax
mov dword [ebp - 0x1dc], eax
mov dword [ebp - 0x1e0], eax
mov dword [ebp - 0x1e4], eax
call fcn.0045048a
lea ecx, [ebp - 0x210]
mov byte [ebp - 4], 0xe
call fcn.004504be
xor esi, esi
test eax, eax
lea eax, [ebp - 0x1d8]
push eax
je 0x455ad8
push 0xf013f
push esi
push str.SoftWare
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x455bdf
cmp dword [ebp - 0x148], 8
lea ecx, [ebp - 0x1dc]
push esi
push ecx
push esi
push 0xf013f
push esi
push esi
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea eax, [ebp - 0x15c]
cmovae eax, dword [ebp - 0x15c]
push eax
push dword [ebp - 0x1d8]
call esi
test eax, eax
jne 0x455b2e
cmp dword [ebp - 0x130], 8
lea eax, [ebp - 0x144]
lea ecx, [ebp - 0x1e0]
cmovae eax, dword [ebp - 0x144]
xor edx, edx
push edx
push ecx
push edx
push 0xf013f
push edx
push edx
push edx
push eax
push dword [ebp - 0x1dc]
call esi
test eax, eax
je 0x455a95
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x455bcf
cmp dword [ebp - 0x118], 8
lea eax, [ebp - 0x12c]
lea ecx, [ebp - 0x1e4]
cmovae eax, dword [ebp - 0x12c]
xor edx, edx
push edx
push ecx
push edx
push 0xf013f
push edx
push edx
push edx
push eax
push dword [ebp - 0x1e0]
call esi
test eax, eax
je 0x455ba0
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x455bc7
push 0xf003f
push esi
push str.SoftWare
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x455bdf
cmp dword [ebp - 0x148], 8
lea ecx, [ebp - 0x1dc]
push esi
push ecx
push esi
push 0xf003f
push esi
push esi
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea eax, [ebp - 0x15c]
cmovae eax, dword [ebp - 0x15c]
push eax
push dword [ebp - 0x1d8]
call esi
test eax, eax
je 0x455b3f
push dword [ebp - 0x1d8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x455bdf
cmp dword [ebp - 0x130], 8
lea eax, [ebp - 0x144]
lea ecx, [ebp - 0x1e0]
cmovae eax, dword [ebp - 0x144]
xor edx, edx
push edx
push ecx
push edx
push 0xf003f
push edx
push edx
push edx
push eax
push dword [ebp - 0x1dc]
call esi
test eax, eax
jne 0x455a8a
cmp dword [ebp - 0x118], 8
lea eax, [ebp - 0x12c]
lea ecx, [ebp - 0x1e4]
cmovae eax, dword [ebp - 0x12c]
xor edx, edx
push edx
push ecx
push edx
push 0xf003f
jmp 0x455ab9
lea eax, [ebp - 0x1ec]
push eax
push ebx
push 0
push 0
push edi
push dword [ebp - 0x1e4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x1e4]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x1e0]
call esi
push dword [ebp - 0x1dc]
call esi
push dword [ebp - 0x1d8]
call esi
lea ecx, [ebp - 0x210]
call fcn.0045049d
lea ecx, [ebp - 0x12c]
call fcn.004113b0
lea ecx, [ebp - 0x144]
call fcn.004113b0
lea ecx, [ebp - 0x15c]
call fcn.004113b0
lea ecx, [ebp - 0x174]
call fcn.00411360
lea ecx, [ebp - 0x18c]
call fcn.00411360
lea ecx, [ebp - 0x1a4]
call fcn.00411360
call fcn.0045f1bd
ret 0xc