Function at 0x455160
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x467c18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18c
mov eax, dword [ecx + 0x48]
push ebx
push esi
lea esi, [ecx + 0x48]
xor ebx, ebx
push edi
cmp eax, ebx
mov dword [ebp - 0x24], esi
je 0x455198
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi], ebx
mov dword [ebp - 0x10], 0x80004005
mov dword [ebp - 0x14], ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea edx, [ebp - 0x20]
push edx
push 0x20019
push ebx
push str.SoftwareBaldor
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], ebx
mov dword [ebp - 0x20], ebx
call esi
cmp eax, ebx
jne 0x4552d9
mov ecx, dword [ebp + 8]
mov edi, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x14], edi
push eax
push 0x20019
push ebx
push ecx
push edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
call esi
cmp eax, ebx
jne 0x4552b6
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp - 0x1c]
lea edx, [ebp - 0x198]
push 0xa
push edx
push eax
mov dword [ebp - 0x18], esi
call dword [sym.imp.MSVCRT.dll__itoa]
add esp, 0xc
lea ecx, [ebp + 8]
lea edx, [ebp - 0x198]
lea eax, [ebp + 0xc]
push ecx
push edx
push eax
lea ecx, [ebp - 0x198]
push ebx
push ecx
push esi
mov dword [ebp + 8], 0xff
mov dword [ebp + 0xc], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4552a8
lea edx, [ebp - 0x198]
test edx, edx
je 0x455280
lea eax, [ebp - 0x198]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.00465990
mov edi, esp
push esi
push edi
lea ecx, [ebp - 0x198]
push 0xffffffffffffffff
push ecx
push ebx
push ebx
mov word [edi], bx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, dword [ebp - 0x1c]
mov eax, edi
mov edi, dword [ebp - 0x20]
lea edx, [ebp - 0x34]
push edx
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
test eax, eax
jl 0x4552a8
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x34]
push eax
push 0x47cda8
push 1
push ebx
push ecx
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x10], eax
cmp esi, ebx
je 0x4552b6
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x18], ebx
cmp edi, ebx
je 0x4552c4
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x4552d2
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x10]
cmp esi, ebx
jge 0x455342
lea edx, [ebp - 0x98]
push 0x487
push edx
call fcn.00401020
lea eax, [ebp - 0x98]
add esp, 8
test eax, eax
je 0x455325
lea ecx, [ebp - 0x98]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.00465990
mov eax, esp
push ebx
lea edx, [ebp - 0x98]
push esi
push edx
push eax
call fcn.0044d230
push ebx
push 0x80040687
push 0x47c6d8
push ebx
push ebx
push eax
push 0x47c718
call fcn.00458ac0
mov dword [ebp - 0x10], eax
mov esi, eax
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x455350
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
lea esp, [ebp - 0x1a4]
mov eax, esi
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8