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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x6c0
mov eax, dword [0x18122c8]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x624], eax
mov eax, dword [ebp + 0x10]
xor esi, esi
xor edi, edi
push 6
inc esi
push edi
mov dword [ebp - 0x638], eax
mov dword [0x1812b44], esi
mov dword [0x1812b48], edi
call dword [sym.imp.ole32.dll_CoInitializeEx]
cmp eax, edi
jge 0x1807efc
cmp eax, 0x80010106
jne 0x1808545
lea eax, [ebp - 0x650]
push eax
push 0x1801924
push esi
push edi
push 0x18019f4
mov dword [ebp - 0x650], edi
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, edi
jl 0x1808545
cmp ebx, edi
mov dword [ebp - 0x62c], edi
mov dword [ebp - 0x630], edi
mov dword [ebp - 0x640], edi
jne 0x1807f3e
mov ebx, 0x18018a0
push ebx
lea eax, [ebp - 0x61c]
push 0x1801880
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov ebx, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
add esp, 0xc
lea eax, [ebp - 0x61c]
push eax
call ebx
cmp eax, edi
mov dword [ebp - 0x64c], eax
je 0x180800c
cmp dword [ebp - 0x624], edi
je 0x1807ff2
mov eax, 0x104
push eax
lea ecx, [ebp - 0x20c]
push ecx
push eax
lea eax, [ebp - 0x414]
push eax
push dword [ebp - 0x624]
call dword [sym.imp.credui.dll_CredUIParseUserNameW]
cmp eax, edi
jle 0x1807fa8
and eax, 0xffff
or eax, 0x80070000
cmp eax, edi
mov dword [ebp - 0x620], eax
jl 0x1808016
lea eax, [ebp - 0x20c]
push eax
call ebx
mov dword [ebp - 0x62c], eax
lea eax, [ebp - 0x414]
push eax
call ebx
push dword [ebp - 0x624]
mov dword [ebp - 0x630], eax
call ebx
cmp dword [ebp - 0x62c], edi
mov dword [ebp - 0x640], eax
je 0x180800c
cmp dword [ebp - 0x630], edi
je 0x180800c
cmp eax, edi
je 0x180800c
push dword [ebp - 0x638]
call ebx
cmp dword [ebp - 0x638], edi
mov dword [ebp - 0x634], eax
je 0x180804a
cmp eax, edi
jne 0x180804a
mov dword [ebp - 0x620], 0x8007000e
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push edi
call esi
push dword [ebp - 0x630]
call esi
push dword [ebp - 0x640]
call esi
push dword [ebp - 0x62c]
call esi
push dword [ebp - 0x64c]
call esi
mov eax, dword [ebp - 0x620]
jmp 0x1808545
mov eax, dword [ebp - 0x650]
mov ecx, dword [eax]
lea edx, [ebp - 0x644]
push edx
push edi
push edi
push edi
push edi
push dword [ebp - 0x634]
push dword [ebp - 0x640]
push dword [ebp - 0x64c]
push eax
call dword [ecx + 0xc]
mov esi, eax
cmp esi, edi
jl 0x18084aa
push dword [ebp - 0x634]
push dword [ebp - 0x630]
push dword [ebp - 0x62c]
push dword [ebp - 0x644]
call fcn.01807e2c
mov esi, eax
cmp esi, edi
jl 0x18084aa
push 0x1801878
mov dword [ebp - 0x628], edi
call ebx
push 0x1801830
mov dword [ebp - 0x638], eax
call ebx
lea edx, [ebp - 0x628]
push edx
push edi
push 0x20
mov dword [ebp - 0x63c], eax
push dword [ebp - 0x63c]
mov eax, dword [ebp - 0x644]
push dword [ebp - 0x638]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
mov esi, eax
cmp esi, edi
jl 0x180837c
push dword [ebp - 0x634]
push dword [ebp - 0x630]
push dword [ebp - 0x62c]
push dword [ebp - 0x628]
call fcn.01807e2c
mov esi, eax
cmp esi, edi
jl 0x180837c
mov eax, dword [ebp - 0x628]
mov ecx, dword [eax]
lea edx, [ebp - 0x648]
push edx
lea edx, [ebp - 0x620]
push edx
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
mov esi, eax
cmp esi, edi
jl 0x1808370
cmp dword [ebp - 0x648], edi
je 0x180835f
mov eax, dword [ebp - 0x620]
push edi
lea edx, [ebp - 0x624]
push edx
lea edx, [ebp - 0x6a0]
push edx
push edi
push 0x1801820
mov dword [0x1812b48], 1
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov esi, eax
cmp esi, edi
jl 0x1808357
push 0x17
push edi
lea eax, [ebp - 0x6a0]
push eax
push eax
call dword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
mov esi, eax
cmp esi, edi
jl 0x1808357
mov eax, dword [ebp - 0x698]
push edi
lea edx, [ebp - 0x624]
push edx
lea edx, [ebp - 0x680]
push edx
push edi
mov dword [0x1812b38], eax
mov eax, dword [ebp - 0x620]
mov ecx, dword [eax]
push 0x1801810
push eax
call dword [ecx + 0x10]
mov esi, eax
cmp esi, edi
jl 0x1808357
push 8
push edi
lea eax, [ebp - 0x680]
push eax
push eax
call dword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
mov esi, eax
cmp esi, edi
jl 0x1808357
push dword [ebp - 0x678]
push 0x1812318
call dword [sym.imp.msvcrt.dll_wcscpy]
mov eax, dword [ebp - 0x620]
pop ecx
pop ecx
mov ecx, dword [eax]
push edi
lea edx, [ebp - 0x624]
push edx
lea edx, [ebp - 0x660]
push edx
push edi
push 0x18017f0
push eax
call dword [ecx + 0x10]
mov esi, eax
cmp esi, edi
jl 0x1808357
cmp word [ebp - 0x660], 1
je 0x180825a
push 0x17
push edi
lea eax, [ebp - 0x660]
push eax
push eax
call dword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
mov esi, eax
cmp esi, edi
jl 0x1808357
mov eax, dword [ebp - 0x658]
mov dword [0x1812b3c], eax
mov eax, dword [ebp - 0x620]
mov ecx, dword [eax]
push edi
lea edx, [ebp - 0x624]
push edx
lea edx, [ebp - 0x670]
push edx
push edi
push 0x18017d8
push eax
call dword [ecx + 0x10]
mov esi, eax
cmp esi, edi
jl 0x1808357
push 8
push edi
lea eax, [ebp - 0x670]
push eax
push eax
call dword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
mov esi, eax
cmp esi, edi
jl 0x1808357
push dword [ebp - 0x668]
push 0x1812728
call dword [sym.imp.msvcrt.dll_wcscpy]
mov eax, dword [ebp - 0x620]
pop ecx
pop ecx
mov ecx, dword [eax]
push edi
lea edx, [ebp - 0x624]
push edx
lea edx, [ebp - 0x6c0]
push edx
push edi
push 0x18017a8
push eax
call dword [ecx + 0x10]
mov esi, eax
cmp esi, edi
jl 0x1808357
push 8
push edi
lea eax, [ebp - 0x6c0]
push eax
push eax
call dword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
mov esi, eax
cmp esi, edi
jl 0x1808357
push dword [ebp - 0x6b8]
push 0x1812520
call dword [sym.imp.msvcrt.dll_wcscpy]
mov eax, dword [ebp - 0x620]
pop ecx
pop ecx
mov ecx, dword [eax]
push edi
lea edx, [ebp - 0x624]
push edx
lea edx, [ebp - 0x690]
push edx
push edi
push 0x1801778
push eax
call dword [ecx + 0x10]
mov esi, eax
cmp esi, edi
jl 0x1808357
push 8
push edi
lea eax, [ebp - 0x690]
push eax
push eax
call dword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
mov esi, eax
cmp esi, edi
jl 0x1808357
push dword [ebp - 0x688]
push 0x1812930
call dword [sym.imp.msvcrt.dll_wcscpy]
pop ecx
pop ecx
jmp 0x1808364
mov dword [0x1812b48], edi
jmp 0x1808364
mov esi, 0x8000ffff
mov eax, dword [ebp - 0x620]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x628]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x63c]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp esi, edi
jl 0x180848e
push 0x180173c
call ebx
lea edx, [ebp - 0x628]
push edx
push edi
push 0x20
mov ebx, eax
mov eax, dword [ebp - 0x644]
mov ecx, dword [eax]
push ebx
push dword [ebp - 0x638]
push eax
call dword [ecx + 0x50]
mov esi, eax
cmp esi, edi
jl 0x1808483
push dword [ebp - 0x634]
push dword [ebp - 0x630]
push dword [ebp - 0x62c]
push dword [ebp - 0x628]
call fcn.01807e2c
mov esi, eax
cmp esi, edi
jl 0x1808483
mov eax, dword [ebp - 0x628]
mov ecx, dword [eax]
lea edx, [ebp - 0x648]
push edx
lea edx, [ebp - 0x63c]
push edx
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
mov esi, eax
cmp esi, edi
jl 0x1808477
cmp dword [ebp - 0x648], edi
je 0x1808466
mov eax, dword [ebp - 0x63c]
mov ecx, dword [eax]
push edi
lea edx, [ebp - 0x624]
push edx
lea edx, [ebp - 0x6b0]
push edx
push edi
push 0x1801720
push eax
call dword [ecx + 0x10]
mov esi, eax
cmp esi, edi
jl 0x180845e
push 0x17
push edi
lea eax, [ebp - 0x6b0]
push eax
push eax
call dword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
mov esi, eax
cmp esi, edi
jl 0x180845e
mov eax, dword [ebp - 0x6a8]
mov dword [0x1812b40], eax
jmp 0x180846b
mov dword [0x1812b48], edi
jmp 0x180846b
mov esi, 0x8000ffff
mov eax, dword [ebp - 0x63c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x628]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push ebx
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call ebx
jmp 0x1808494
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push dword [ebp - 0x638]
call ebx
mov eax, dword [ebp - 0x644]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x18084b0
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push dword [ebp - 0x634]
call ebx
push dword [ebp - 0x630]
call ebx
push dword [ebp - 0x640]
call ebx
push dword [ebp - 0x62c]
call ebx
push dword [ebp - 0x64c]
call ebx
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp esi, 0x80041002
je 0x180852d
cmp esi, 0x80041003
je 0x1808526
cmp esi, 0x80041004
je 0x180851f
cmp esi, 0x80041005
je 0x1808511
mov eax, 0x80041006
cmp esi, eax
je 0x1808518
jle 0x1808532
cmp esi, 0x80041008
jg 0x1808532
mov esi, 0x80070057
jmp 0x1808543
mov esi, 0x8007000e
jmp 0x1808543
mov esi, 0x80004005
jmp 0x1808543
mov esi, 0x80070005
jmp 0x1808543
mov esi, 0x800704d0
cmp esi, edi
jne 0x1808543
cmp dword [0x1812b48], edi
mov eax, 0x80004005
je 0x1808545
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.018086c6
leave
ret 0xc