Function at 0x1807e3d
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 [0x1812b3c], esi
mov dword [0x1812b40], edi
call dword [sym.imp.ole32.dll_CoInitializeEx]
cmp eax, edi
jge 0x1807e91
cmp eax, 0x80010106
jne 0x18084da
lea eax, [ebp - 0x650]
push eax
push 0x1801904
push esi
push edi
push 0x18019d4
mov dword [ebp - 0x650], edi
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, edi
jl 0x18084da
cmp ebx, edi
mov dword [ebp - 0x62c], edi
mov dword [ebp - 0x630], edi
mov dword [ebp - 0x640], edi
jne 0x1807ed3
mov ebx, 0x1801880
push ebx
lea eax, [ebp - 0x61c]
push 0x1801860
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 0x1807fa1
cmp dword [ebp - 0x624], edi
je 0x1807f87
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 0x1807f3d
and eax, 0xffff
or eax, 0x80070000
cmp eax, edi
mov dword [ebp - 0x620], eax
jl 0x1807fab
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 0x1807fa1
cmp dword [ebp - 0x630], edi
je 0x1807fa1
cmp eax, edi
je 0x1807fa1
push dword [ebp - 0x638]
call ebx
cmp dword [ebp - 0x638], edi
mov dword [ebp - 0x634], eax
je 0x1807fdf
cmp eax, edi
jne 0x1807fdf
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 0x18084da
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 0x180843f
push dword [ebp - 0x634]
push dword [ebp - 0x630]
push dword [ebp - 0x62c]
push dword [ebp - 0x644]
call fcn.01807dc1
mov esi, eax
cmp esi, edi
jl 0x180843f
push 0x1801858
mov dword [ebp - 0x628], edi
call ebx
push 0x1801810
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 0x1808311
push dword [ebp - 0x634]
push dword [ebp - 0x630]
push dword [ebp - 0x62c]
push dword [ebp - 0x628]
call fcn.01807dc1
mov esi, eax
cmp esi, edi
jl 0x1808311
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 0x1808305
cmp dword [ebp - 0x648], edi
je 0x18082f4
mov eax, dword [ebp - 0x620]
push edi
lea edx, [ebp - 0x624]
push edx
lea edx, [ebp - 0x6a0]
push edx
push edi
push 0x1801800
mov dword [0x1812b40], 1
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov esi, eax
cmp esi, edi
jl 0x18082ec
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 0x18082ec
mov eax, dword [ebp - 0x698]
push edi
lea edx, [ebp - 0x624]
push edx
lea edx, [ebp - 0x680]
push edx
push edi
mov dword [0x1812b30], eax
mov eax, dword [ebp - 0x620]
mov ecx, dword [eax]
push 0x18017f0
push eax
call dword [ecx + 0x10]
mov esi, eax
cmp esi, edi
jl 0x18082ec
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 0x18082ec
push dword [ebp - 0x678]
push 0x1812310
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 0x18017d0
push eax
call dword [ecx + 0x10]
mov esi, eax
cmp esi, edi
jl 0x18082ec
cmp word [ebp - 0x660], 1
je 0x18081ef
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 0x18082ec
mov eax, dword [ebp - 0x658]
mov dword [0x1812b34], 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 0x18017b8
push eax
call dword [ecx + 0x10]
mov esi, eax
cmp esi, edi
jl 0x18082ec
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 0x18082ec
push dword [ebp - 0x668]
push 0x1812720
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 0x1801788
push eax
call dword [ecx + 0x10]
mov esi, eax
cmp esi, edi
jl 0x18082ec
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 0x18082ec
push dword [ebp - 0x6b8]
push 0x1812518
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 0x1801758
push eax
call dword [ecx + 0x10]
mov esi, eax
cmp esi, edi
jl 0x18082ec
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 0x18082ec
push dword [ebp - 0x688]
push 0x1812928
call dword [sym.imp.msvcrt.dll_wcscpy]
pop ecx
pop ecx
jmp 0x18082f9
mov dword [0x1812b40], edi
jmp 0x18082f9
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 0x1808423
push 0x180171c
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 0x1808418
push dword [ebp - 0x634]
push dword [ebp - 0x630]
push dword [ebp - 0x62c]
push dword [ebp - 0x628]
call fcn.01807dc1
mov esi, eax
cmp esi, edi
jl 0x1808418
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 0x180840c
cmp dword [ebp - 0x648], edi
je 0x18083fb
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 0x1801700
push eax
call dword [ecx + 0x10]
mov esi, eax
cmp esi, edi
jl 0x18083f3
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 0x18083f3
mov eax, dword [ebp - 0x6a8]
mov dword [0x1812b38], eax
jmp 0x1808400
mov dword [0x1812b40], edi
jmp 0x1808400
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 0x1808429
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 0x1808445
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 0x18084c2
cmp esi, 0x80041003
je 0x18084bb
cmp esi, 0x80041004
je 0x18084b4
cmp esi, 0x80041005
je 0x18084a6
mov eax, 0x80041006
cmp esi, eax
je 0x18084ad
jle 0x18084c7
cmp esi, 0x80041008
jg 0x18084c7
mov esi, 0x80070057
jmp 0x18084d8
mov esi, 0x8007000e
jmp 0x18084d8
mov esi, 0x80004005
jmp 0x18084d8
mov esi, 0x80070005
jmp 0x18084d8
mov esi, 0x800704d0
cmp esi, edi
jne 0x18084d8
cmp dword [0x1812b40], edi
mov eax, 0x80004005
je 0x18084da
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0180865b
leave
ret 0xc