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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
mov eax, dword [0x4a80a0]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, word [0x49e5b4]
lea edx, [ebp - 0x18]
movdqu xmm0, xmmword [0x49e5a4]
push ebx
mov word [ebp - 8], ax
mov al, byte [0x49e5b6]
push esi
mov dword [ebp - 0x148], ecx
mov ecx, edx
push edi
movdqu xmmword [ebp - 0x18], xmm0
mov byte [ebp - 6], al
call fcn.00447390
movdqu xmm0, xmmword [0x49ecf8]
movzx eax, word [0x49ed08]
lea edx, [ebp - 0x2c]
mov ecx, edx
mov word [ebp - 0x1c], ax
movdqu xmmword [ebp - 0x2c], xmm0
call fcn.00447390
lea eax, [ebp - 0x140]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x18]
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x455800
xor esi, esi
mov byte [ebp - 0x12c], 0
push 0xff
lea eax, [ebp - 0x12b]
mov dword [ebp - 0x144], esi
push esi
push eax
call fcn.004644a0
add esp, 0xc
lea eax, [ebp - 0x12c]
push 0x100
push eax
push esi
push dword [ebp - 0x140]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
cmp eax, 0x103
je 0x4557f8
jmp 0x455610
lea ecx, [ebp - 0x18]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x455616
sub ecx, edx
lea eax, [ecx + 0x102]
push eax
call fcn.0046243d
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x455808
lea ecx, [ebp - 0x18]
lea edx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x455640
lea eax, [ebp - 0x12c]
sub ecx, edx
push eax
lea eax, [ebp - 0x18]
push eax
push 0x49d954
lea eax, [ecx + 0x102]
push eax
push ebx
call fcn.0046158b
add esp, 0x14
lea eax, [ebp - 0x13c]
push eax
push 0x20019
push 0
push ebx
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4557a2
push eax
push eax
mov dword [ebp - 0x138], eax
lea eax, [ebp - 0x138]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp - 0x13c]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x4557a2
mov eax, dword [ebp - 0x138]
inc eax
push eax
call fcn.0046243d
mov edi, eax
add esp, 4
test edi, edi
je 0x455808
mov ecx, dword [ebp - 0x138]
lea eax, [ebp - 0x130]
push eax
push edi
push 0
push 0
push 0x49e5b8
push dword [ebp - 0x13c]
mov dword [ebp - 0x130], ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x455793
lea ecx, [ebp - 0x2c]
mov eax, edi
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x455730
test dl, dl
je 0x45572c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x455730
add eax, 2
add ecx, 2
test dl, dl
jne 0x455710
xor eax, eax
jmp 0x455735
sbb eax, eax
or eax, 1
test eax, eax
jne 0x455793
mov eax, dword [ebp - 0x138]
inc eax
push eax
call fcn.0046243d
mov esi, eax
add esp, 4
test esi, esi
je 0x455808
mov ecx, dword [ebp - 0x138]
lea eax, [ebp - 0x134]
push eax
push esi
push 0
push 0
push str.Version
push dword [ebp - 0x13c]
mov dword [ebp - 0x134], ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x455819
push esi
call fcn.004624b3
mov esi, dword [ebp - 0x144]
add esp, 4
push edi
call fcn.004624b3
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 4
push dword [ebp - 0x13c]
call edi
push ebx
call fcn.004624b3
push 0xff
lea eax, [ebp - 0x12b]
mov byte [ebp - 0x12c], 0
push 0
inc esi
push eax
mov dword [ebp - 0x144], esi
call fcn.004644a0
add esp, 0x10
lea eax, [ebp - 0x12c]
push 0x100
push eax
push esi
push dword [ebp - 0x140]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
cmp eax, 0x103
jne 0x455610
push dword [ebp - 0x140]
call edi
push dword [ebp - 0x140]
call edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046125f
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi]
movzx eax, cx
push eax
mov eax, ecx
shr ecx, 0x18
shr eax, 0x10
and eax, 0xff
push eax
push ecx
push str._d._d._d
push 0x400
push dword [ebp - 0x148]
call fcn.0046158b
push esi
call fcn.004624b3
push edi
call fcn.004624b3
add esp, 0x20
push dword [ebp - 0x13c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
call fcn.004624b3
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0046125f
mov esp, ebp
pop ebp
ret