Function at 0x43b870
Capabilities:
Print debug messages
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
push ebx
push esi
push edi
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x21c], 0
lea eax, [ebp - 0x218]
push eax
push 2
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.OLEAUT32.dll_SystemTimeToVariantTime]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x43b8d5
mov eax, dword [ebp - 0x218]
jmp 0x43bd2c
mov eax, dword [ebp + 8]
cmp word [eax], 0x7b
je 0x43b90a
lea eax, [ebp - 0x22c]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ole32.dll_CLSIDFromProgID]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x43b936
push str.5002_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
jmp 0x43bd2c
lea eax, [ebp - 0x22c]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x43b936
push str.5003a_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
jmp 0x43bd2c
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x43b94d
mov edi, dword [ebp + 0xc]
lea esi, [ebp - 0x22c]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x234]
push eax
push 0x20019
push 0
push str.CLSID
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, eax
test ebx, ebx
je 0x43b983
push str.5004_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
jmp 0x43bd2c
mov eax, dword [ebp + 8]
cmp word [eax], 0x7b
je 0x43b9bb
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.ole32.dll_StringFromCLSID]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x43b9c4
push str.5003_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
jmp 0x43bd2c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x230]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 0x21c]
push eax
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
mov eax, dword [ebp - 0x21c]
mov edx, dword [ebp + 8]
cmp eax, edx
je 0x43ba02
mov eax, dword [ebp - 0x21c]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
test ebx, ebx
je 0x43ba25
push str.5005_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x43bd2c
lea eax, [ebp - 0x214]
push eax
push 0x20019
push 0
push str.TypeLib
mov eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, eax
test ebx, ebx
je 0x43bac7
lea eax, [ebp - 0x214]
push eax
push 0x20019
push 0
push str.LocalServer32
mov eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, eax
test eax, eax
je 0x43bac7
lea eax, [ebp - 0x214]
push eax
push 0x20019
push 0
push str.InprocServer32
mov eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, eax
test eax, eax
je 0x43bac7
push str.5006_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x43bd2c
mov dword [ebp - 0x240], 0x20a
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x20e]
push eax
push 0
mov eax, dword [ebp - 0x214]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov ebx, eax
mov eax, dword [ebp - 0x214]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x43bb2d
push str.5007_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
jmp 0x43bd2c
cmp word [ebp - 0x20e], 0x7b
jne 0x43bc3c
mov dword [ebp - 0x24c], 0
lea eax, [ebp - 0x214]
push eax
push 0x20019
push 0
push str.TypeLib
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, eax
test ebx, ebx
je 0x43bb7b
push str.5008_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
jmp 0x43bd2c
lea eax, [ebp - 0x248]
push eax
push 8
push 0
lea eax, [ebp - 0x20e]
push eax
mov eax, dword [ebp - 0x214]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test ebx, ebx
je 0x43bbbf
push str.5009_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp - 0x214]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x43bd2c
mov dword [ebp - 0x240], 0x20a
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x20e]
push eax
push 0x5d4c5c
mov eax, dword [ebp - 0x248]
push eax
call fcn.0043bd40
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x248]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x214]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], 0
jl 0x43bc9e
lea eax, [ebp - 0x218]
push eax
push 2
lea eax, [ebp - 0x20e]
push eax
call dword [sym.imp.OLEAUT32.dll_SystemTimeToVariantTime]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x43bc9e
mov eax, dword [ebp - 0x218]
jmp 0x43bd2c
push 0x2f
lea eax, [ebp - 0x20e]
push eax
call fcn.0052ffd0
add esp, 8
mov dword [ebp - 0x248], eax
test eax, eax
je 0x43bc74
mov eax, dword [ebp - 0x248]
lea edx, [ebp - 0x20e]
sub eax, edx
cdq
sub eax, edx
sar eax, 1
mov word [ebp + eax*2 - 0x20e], 0
lea eax, [ebp - 0x218]
push eax
push 2
lea eax, [ebp - 0x20e]
push eax
call dword [sym.imp.OLEAUT32.dll_SystemTimeToVariantTime]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x43bc9e
mov eax, dword [ebp - 0x218]
jmp 0x43bd2c
push str.Last_resort___Instanciate_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [ebp - 0x238]
push eax
push 0
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.OLEAUT32.dll_SafeArrayAllocDescriptor]
test eax, eax
jge 0x43bce4
lea eax, [ebp - 0x23c]
push eax
push 0x6055f8
push 0x15
push 0
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x43bd26
mov eax, dword [ebp + 0xc]
push eax
push 0
mov eax, dword [ebp - 0x238]
push eax
mov eax, dword [ebp - 0x23c]
push eax
call fcn.0043b5f0
add esp, 0x10
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x238]
test eax, eax
je 0x43bd16
push eax
mov eax, dword [eax]
call dword [eax + 8]
mov eax, dword [ebp - 0x23c]
test eax, eax
je 0x43bd26
push eax
mov eax, dword [eax]
call dword [eax + 8]
mov eax, dword [ebp - 0x218]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret