Function at 0x455ed0
Capabilities:
Connect to wmi namespace via wbemlocator
Print debug messages
Set registry value via stdregprov

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d7dd0
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x516108]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov ebx, eax
test ebx, ebx
jns 0x455f86
call fcn.004049b0
mov ecx, eax
test ecx, ecx
jne 0x455f1f
push 0x80004005
call fcn.00404710
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x24]
push str._______XD999_initialize_COM_Error_d
push eax
call fcn.004140d0
mov esi, dword [ebp - 0x24]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x455f72
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
jns 0x456016
cmp eax, 0x80010119
je 0x456016
lea ecx, [ebp - 0x24]
call fcn.00404a30
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x24]
push str._______XD999_initialize_COM_Error2:_d
push eax
call fcn.004140d0
mov esi, dword [ebp - 0x24]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x455ff9
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push 0x4e2e80
push 1
push 0
push 0x4e2f50
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
test ebx, ebx
jns 0x4560c1
call fcn.004049b0
mov ecx, eax
test ecx, ecx
jne 0x456054
push 0x80004005
call fcn.00404710
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x24]
push str._______XD999_create_IWbemLocator_d
push eax
call fcn.004140d0
mov esi, dword [ebp - 0x24]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4560a7
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.ROOTDEFAULT
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], 0
call fcn.0043ddc0
mov dword [ebp - 4], 3
mov eax, dword [eax]
test eax, eax
je 0x4560e6
mov edx, dword [eax]
jmp 0x4560e8
xor edx, edx
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x14]
push esi
push 0
push 0
mov ecx, dword [eax]
push 0
push 0
push 0
push 0
push edx
push eax
call dword [ecx + 0xc]
mov dword [ebp - 4], 0xffffffff
mov ebx, eax
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x456117
call fcn.0043de90
lea ecx, [ebp - 0x24]
test ebx, ebx
jns 0x45618e
call fcn.00404a30
mov dword [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x24]
push str._______XD999_Could_not_connect_to_WMI_server_d
push eax
call fcn.004140d0
mov esi, dword [ebp - 0x24]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x45616b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.StdRegProv
mov dword [ebp - 0x20], 0
call fcn.00455aa0
mov dword [ebp - 4], 5
mov edx, dword [eax]
test edx, edx
je 0x4561b0
mov edx, dword [edx]
jmp 0x4561b2
xor edx, edx
mov eax, dword [ebp - 0x14]
lea esi, [ebp - 0x20]
push 0
push esi
push 0
mov ecx, dword [eax]
push 0
push edx
push eax
call dword [ecx + 0x18]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x4561d9
call fcn.0043de90
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
push 0
push edx
push 0
mov dword [ebp - 0x1c], 0
mov ecx, dword [eax]
push 0x4f9954
push eax
call dword [ecx + 0x4c]
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x10]
push edx
mov dword [ebp - 0x10], 0
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x3c]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0x38]
push eax
call esi
mov eax, 3
mov dword [ebp - 0x30], SysStringLen
push 0
mov word [ebp - 0x38], ax
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0x10]
push edx
push 0
push str.hDefKey
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x38]
push eax
call ebx
lea eax, [ebp - 0x38]
push eax
call esi
mov eax, 8
mov word [ebp - 0x38], ax
cmp dword [edi + 0x14], eax
jb 0x456262
mov eax, dword [edi]
jmp 0x456264
mov eax, edi
push eax
lea ecx, [ebp - 0x24]
call fcn.0043ddc0
mov eax, dword [eax]
test eax, eax
je 0x45627a
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
jmp 0x456281
mov dword [ebp - 0x30], 0
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x45628d
call fcn.0043de90
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x38]
push 0
push edx
push 0
mov ecx, dword [eax]
push str.sSubKeyName
push eax
call dword [ecx + 0x14]
lea eax, [ebp - 0x38]
push eax
call ebx
lea eax, [ebp - 0x38]
push eax
call esi
mov eax, 8
mov word [ebp - 0x38], ax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x4562c3
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x24]
call fcn.0043ddc0
mov eax, dword [eax]
test eax, eax
je 0x4562d9
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
jmp 0x4562e0
mov dword [ebp - 0x30], 0
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x4562ec
call fcn.0043de90
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x38]
push 0
push edx
push 0
mov ecx, dword [eax]
push str.sValueName
push eax
call dword [ecx + 0x14]
lea eax, [ebp - 0x38]
push eax
call ebx
lea eax, [ebp - 0x38]
push eax
call esi
mov eax, 8
mov word [ebp - 0x38], ax
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x14], 8
jb 0x456322
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x24]
call fcn.0043ddc0
mov eax, dword [eax]
test eax, eax
je 0x456338
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
jmp 0x45633f
mov dword [ebp - 0x30], 0
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x45634b
call fcn.0043de90
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x38]
push 0
push edx
push 0
mov ecx, dword [eax]
push str.sValue
push eax
call dword [ecx + 0x14]
lea eax, [ebp - 0x38]
push eax
call ebx
push str.SetStringValue
lea ecx, [ebp - 0x28]
call fcn.00455aa0
mov esi, eax
push str.StdRegProv
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 6
call fcn.00455aa0
mov byte [ebp - 4], 7
mov esi, dword [esi]
test esi, esi
je 0x456398
mov esi, dword [esi]
jmp 0x45639a
xor esi, esi
mov eax, dword [eax]
test eax, eax
je 0x4563a4
mov edx, dword [eax]
jmp 0x4563a6
xor edx, edx
mov eax, dword [ebp - 0x14]
push 0
push 0
push dword [ebp - 0x10]
mov ecx, dword [eax]
push 0
push 0
push esi
push edx
push eax
call dword [ecx + 0x60]
mov ecx, dword [ebp - 0x24]
mov esi, eax
test ecx, ecx
je 0x4563d1
call fcn.0043de90
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x4563e4
call fcn.0043de90
test esi, esi
jns 0x456442
mov edx, str.Could_not_execute_method.
mov ecx, 0x51aab8
call fcn.00449140
push eax
call fcn.0045da60
add esp, 4
lea ecx, [ebp - 0x24]
call fcn.00404a30
mov dword [ebp - 4], 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
lea eax, [ebp - 0x24]
push str._______XD999_ExecMethod_Error_d__d
push eax
call fcn.004140d0
add esp, 0x10
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.00401f50
jmp 0x45645a
mov edx, str.Registry_value_set_successfully.
mov ecx, 0x51ab78
call fcn.00449140
push eax
call fcn.0045da60
add esp, 4
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0x38]
push eax
call esi
mov eax, 3
mov dword [ebp - 0x30], SysStringLen
push 0
mov word [ebp - 0x38], ax
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0x10]
push edx
push 0
push str.hDefKey
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
lea eax, [ebp - 0x38]
push eax
call ebx
lea eax, [ebp - 0x38]
push eax
call esi
mov eax, 8
mov word [ebp - 0x38], ax
cmp dword [edi + 0x14], eax
jb 0x4564a8
mov edi, dword [edi]
push edi
lea ecx, [ebp - 0x28]
call fcn.0043ddc0
mov eax, dword [eax]
test eax, eax
je 0x4564be
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
jmp 0x4564c5
mov dword [ebp - 0x30], 0
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x4564d1
call fcn.0043de90
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x38]
push 0
push edx
push 0
mov ecx, dword [eax]
push str.sSubKeyName
push eax
call dword [ecx + 0x14]
lea eax, [ebp - 0x38]
push eax
call ebx
lea eax, [ebp - 0x38]
push eax
call esi
mov eax, dword [ebp + 0x10]
mov edi, 8
mov word [ebp - 0x38], di
cmp dword [eax + 0x14], edi
jb 0x456506
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x28]
call fcn.0043ddc0
mov eax, dword [eax]
test eax, eax
je 0x45651c
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
jmp 0x456523
mov dword [ebp - 0x30], 0
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x45652f
call fcn.0043de90
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x38]
push 0
push edx
push 0
mov ecx, dword [eax]
push str.sValueName
push eax
call dword [ecx + 0x14]
lea eax, [ebp - 0x38]
push eax
call ebx
lea eax, [ebp - 0x38]
push eax
call esi
mov eax, dword [ebp + 0x14]
mov word [ebp - 0x38], di
cmp dword [eax + 0x14], edi
jb 0x45655f
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x28]
call fcn.0043ddc0
mov eax, dword [eax]
test eax, eax
je 0x456575
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
jmp 0x45657c
mov dword [ebp - 0x30], 0
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x456588
call fcn.0043de90
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x38]
push 0
push edx
push 0
mov ecx, dword [eax]
push str.sValue
push eax
call dword [ecx + 0x14]
lea eax, [ebp - 0x38]
push eax
call ebx
push str.SetStringValue
lea ecx, [ebp - 0x28]
call fcn.00455aa0
mov esi, eax
push str.StdRegProv
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 9
call fcn.00455aa0
mov byte [ebp - 4], 0xa
mov esi, dword [esi]
test esi, esi
je 0x4565d5
mov esi, dword [esi]
jmp 0x4565d7
xor esi, esi
mov eax, dword [eax]
test eax, eax
je 0x4565e1
mov edx, dword [eax]
jmp 0x4565e3
xor edx, edx
mov eax, dword [ebp - 0x14]
push 0
push 0
push dword [ebp - 0x10]
mov ecx, dword [eax]
push 0
push 0
push esi
push edx
push eax
call dword [ecx + 0x60]
mov ecx, dword [ebp - 0x24]
mov esi, eax
test ecx, ecx
je 0x45660e
call fcn.0043de90
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x456621
call fcn.0043de90
test esi, esi
jns 0x45667f
mov edx, str.Could_not_execute_method.2
mov ecx, 0x51aab8
call fcn.00449140
push eax
call fcn.0045da60
add esp, 4
lea ecx, [ebp - 0x24]
call fcn.00404a30
mov dword [ebp - 4], 0xb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
lea eax, [ebp - 0x24]
push str._______XD999_ExecMethod2_Error_d__d
push eax
call fcn.004140d0
add esp, 0x10
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.00401f50
jmp 0x456697
mov edx, str.Registry_value_set_successfully.2
mov ecx, 0x51ab78
call fcn.00449140
push eax
call fcn.0045da60
add esp, 4
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x4566ab
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x4566bf
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x4566d3
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4566e7
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x4566fb
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x18], 0
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret