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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62c741
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x703eb0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x88], ebx
xor esi, esi
lea edi, [ebx + 4]
push esi
mov dword [ebp - 4], 1
mov dword [ebx], esi
mov dword [edi], esi
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], esi
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x41973d
push ebx
push 0x679750
push 1
push esi
push 0x679820
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, esi
jge 0x419498
push 0x6cbc40
push eax
push str.ERROR:_Failed_to_create_IWbemLocator_object._Code__0x_x_n_s_n
call fcn.00402390
add esp, 0xc
jmp 0x41973d
push str.ROOTCIMV2
lea ecx, [ebp - 0x84]
call fcn.00418ed0
mov eax, dword [eax]
mov byte [ebp - 4], 2
cmp eax, esi
je 0x4194b6
mov ecx, dword [eax]
jmp 0x4194b8
xor ecx, ecx
mov eax, dword [ebx]
mov edx, dword [eax]
push edi
push esi
push esi
push esi
push esi
push esi
push esi
push ecx
push eax
mov eax, dword [edx + 0xc]
call eax
lea ecx, [ebp - 0x84]
mov esi, eax
mov byte [ebp - 4], 1
call fcn.004190c0
mov ecx, dword [ebp + 0x24]
test esi, esi
jns 0x419514
mov eax, 8
cmp dword [ebp + 0x38], eax
jae 0x4194ef
lea ecx, [ebp + 0x24]
cmp dword [ebp + 0x1c], eax
mov eax, dword [ebp + 8]
jae 0x4194fa
lea eax, [ebp + 8]
push 0x6cbc40
push esi
push ecx
push eax
push str.ERROR:_Could_not_connect_to__s._s._Code__0x_x_n_s_n
call fcn.00402390
add esp, 0x14
jmp 0x41973d
mov esi, 8
cmp dword [ebp + 0x38], esi
jae 0x419521
lea ecx, [ebp + 0x24]
mov eax, dword [ebp + 8]
cmp dword [ebp + 0x1c], esi
jae 0x41952c
lea eax, [ebp + 8]
push ecx
push eax
push str.Connected_to_ROOTCIMV2_WMI__s._s_n
call fcn.00402390
mov ecx, dword [edi]
add esp, 0xc
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push ecx
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x419569
push eax
push str.ERROR:_Could_not_set_proxy_blanket._Code__0x_x_n
call fcn.00402390
add esp, 8
jmp 0x41973d
xor edx, edx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], dx
push str.cimv2:
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.0040bea0
mov eax, dword [ebp - 0x48]
mov byte [ebp - 4], 4
cmp dword [ebp - 0x34], esi
jae 0x41959d
lea eax, [ebp - 0x48]
mov edi, dword [ebp - 0x38]
push edi
push 0
push eax
lea ecx, [ebp + 8]
call fcn.00414e70
mov esi, eax
cmp esi, 0xffffffff
je 0x419641
push 1
add esi, edi
push esi
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp + 8]
mov dword [ebp - 0x84], 0x2e
call fcn.00414e70
mov edi, eax
cmp edi, 0xffffffff
jne 0x4195e0
mov edi, dword [ebp + 0x18]
inc edi
mov ecx, edi
sub ecx, esi
push ecx
push esi
lea edx, [ebp - 0x64]
push edx
lea ecx, [ebp + 8]
call fcn.00414d60
push 0xffffffffffffffff
inc edi
push edi
lea eax, [ebp - 0x80]
mov bl, 5
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], bl
call fcn.00414d60
push eax
lea ecx, [ebp + 0x24]
mov byte [ebp - 4], 6
call fcn.00419300
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], bl
call fcn.0040bef0
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [ebp + 8]
call fcn.0040c4d0
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 4
call fcn.0040bef0
mov ebx, dword [ebp - 0x88]
push 0xe
push str.SELECT__FROM
lea ecx, [ebp - 0x2c]
call fcn.0040c710
mov edx, dword [ebp + 8]
mov edi, 8
cmp dword [ebp + 0x1c], edi
jae 0x419660
lea edx, [ebp + 8]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x419665
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x2c]
call fcn.0040bf50
cmp dword [ebp + 0x34], 0
je 0x4196a5
push 0x64e238
lea ecx, [ebp - 0x2c]
call fcn.0040bf20
mov eax, dword [ebp + 0x24]
cmp dword [ebp + 0x38], edi
jae 0x41969c
lea eax, [ebp + 0x24]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040bf20
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x4196b0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x84]
call fcn.00418ed0
mov esi, eax
push 0x64e234
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 7
call fcn.00418e40
mov ecx, dword [esi]
mov byte [ebp - 4], 8
test ecx, ecx
je 0x4196e0
mov ecx, dword [ecx]
jmp 0x4196e2
xor ecx, ecx
mov eax, dword [eax]
test eax, eax
je 0x4196ec
mov edx, dword [eax]
jmp 0x4196ee
xor edx, edx
mov eax, dword [ebx + 4]
mov edi, dword [eax]
lea esi, [ebx + 8]
push esi
push 0
push 0x30
push ecx
push edx
mov edx, dword [edi + 0x50]
push eax
call edx
lea ecx, [ebp - 0x88]
mov esi, eax
call fcn.004190c0
lea ecx, [ebp - 0x84]
call fcn.004190c0
test esi, esi
jns 0x41972d
push esi
push str.ERROR:_Query_for_base_board_failed._Code__0x_x_n
call fcn.00402390
add esp, 8
lea ecx, [ebp - 0x48]
call fcn.0040bef0
lea ecx, [ebp - 0x2c]
call fcn.0040bef0
mov esi, 8
cmp dword [ebp + 0x1c], esi
jb 0x419753
mov eax, dword [ebp + 8]
push eax
call fcn.00419f98
add esp, 4
xor ecx, ecx
mov dword [ebp + 0x1c], 7
mov dword [ebp + 0x18], 0
mov word [ebp + 8], cx
cmp dword [ebp + 0x38], esi
jb 0x419778
mov edx, dword [ebp + 0x24]
push edx
call fcn.00419f98
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00521602
mov esp, ebp
pop ebp
ret 0x38