Function at 0x4145ab
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push 0x18
mov eax, 0x429dd1
call fcn.00428a04
mov eax, ecx
mov dword [ebp - 0x10], eax
mov ecx, dword [eax + 0x28]
xor edi, edi
mov ebx, edi
test ecx, ecx
je 0x4145da
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x436604]
call esi
mov eax, dword [ebp - 0x10]
lea esi, [eax + 0x1c]
push 0x403614
mov ecx, esi
mov dword [ebp - 0x20], esi
call dword [0x4362a8]
mov eax, dword [ebp + 8]
test eax, eax
je 0x4146a9
cmp word [eax], di
je 0x4146a9
push eax
mov ecx, esi
call dword [0x4362a8]
push 2
pop eax
push eax
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
call dword [sym.imp.MFC42u.dll_CString::Left]
push 0x403634
mov ecx, eax
call fcn.00413075
lea ecx, [ebp - 0x24]
mov esi, eax
call dword [sym.imp.MFC42u.dll_CString::CString]
test esi, esi
mov esi, dword [ebp - 0x20]
jne 0x414666
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax - 8]
add eax, 0xfffffffe
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.MFC42u.dll_CString::Right]
push eax
mov ecx, esi
mov dword [ebp - 4], edi
call dword [0x4362a4]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call dword [sym.imp.MFC42u.dll_CString::CString]
push 0x403614
mov ecx, esi
call dword [sym.imp.MFC42u.dll_CString::Find_1]
cmp eax, 0xffffffff
je 0x4147eb
mov eax, dword [esi]
xor ecx, ecx
push 2
pop edx
mov eax, dword [eax - 8]
mov dword [ebp - 0x24], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00428108
mov dword [ebp - 0x20], eax
pop ecx
test eax, eax
jne 0x4147b5
mov ebx, 0x8007000e
mov esi, dword [ebp - 0x10]
lea ecx, [esi + 0x24]
push 0x403618
call dword [0x4362a8]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4146d0
cmp word [eax], di
je 0x4146d0
push eax
lea ecx, [esi + 0x24]
call dword [0x4362a8]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x14], edi
test ebx, ebx
js 0x4147a2
lea eax, [ebp - 0x14]
push eax
push 0x40245c
push 1
push edi
push 0x40246c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
test ebx, ebx
js 0x41478d
cmp dword [ebp - 0x14], 0
je 0x41478d
lea ecx, [ebp - 0x18]
call dword [0x43629c]
mov dword [ebp - 4], 1
lea eax, [ebp - 0x18]
push dword [esi + 0x24]
push dword [esi + 0x1c]
push 0x403640
push eax
call dword [sym.imp.MFC42u.dll_CString::Format]
add esp, 0x10
lea ecx, [ebp - 0x18]
call dword [sym.imp.MFC42u.dll_CString::AllocSysString]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x41476a
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx]
mov esi, dword [ecx + 0xc]
lea ecx, [ebp - 0x1c]
push ecx
push edi
push edi
push edi
push edi
push edi
push edi
push eax
push edx
mov ecx, esi
call dword [0x436604]
call esi
push dword [ebp - 0x24]
mov ebx, eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x436604]
call esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], edi
call dword [sym.imp.MFC42u.dll_CString::CString]
mov edi, dword [ebp - 0x1c]
test edi, edi
je 0x4147a2
test ebx, ebx
js 0x4147a2
mov ecx, edi
call fcn.0041323a
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x18], ebx
mov dword [eax + 0x28], edi
mov eax, ebx
call fcn.004289c0
ret 8
lea ecx, [ebp - 0x24]
push ecx
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DnsHostnameToComputerNameW]
mov esi, dword [ebp - 0x10]
test eax, eax
je 0x4147d7
push dword [ebp - 0x20]
lea ecx, [esi + 0x20]
call dword [0x4362a8]
jmp 0x4147dc
mov ebx, 0x80070057
push dword [ebp - 0x20]
call dword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void__]
pop ecx
jmp 0x4146ac
push esi
mov esi, dword [ebp - 0x10]
lea ecx, [esi + 0x20]
call dword [0x4362a4]
jmp 0x4146ac