Function at 0x403850
Capabilities:
Connect to wmi namespace via wbemlocator
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x419b01
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c8
push ebx
push ebp
push esi
push edi
xor ebx, ebx
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x79]
mov byte [esp + 0x78], bl
mov byte [esp + 0xb8], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0xb9]
mov byte [esp + 0xf8], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 7
xor eax, eax
lea edi, [esp + 0xf9]
mov byte [esp + 0x158], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x1f
xor eax, eax
lea edi, [esp + 0x159]
mov esi, dword [esp + 0x3e8]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x3f
lea eax, [esp + 0xbc]
push esi
push eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x38], ebx
call fcn.00406980
lea ecx, [esi + 0x40]
push 0x3f
lea edx, [esp + 0x88]
push ecx
push edx
call fcn.00406980
add esi, 0xc0
push 0x1f
lea eax, [esp + 0x114]
push esi
push eax
call fcn.00406980
lea ecx, [esp + 0xdc]
lea edx, [esp + 0x17c]
push ecx
push str._sROOTDEFAULT
push edx
call fcn.00406c3a
add esp, 0x30
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jge 0x403950
call dword [sym.imp.ole32.dll_CoUninitialize]
xor al, al
jmp 0x403f6f
lea eax, [esp + 0x1c]
mov ebp, 1
push eax
push 0x41d608
push ebp
push ebx
push 0x41d6b8
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jge 0x40397d
call dword [sym.imp.ole32.dll_CoUninitialize]
xor al, al
jmp 0x403f6f
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x35]
mov byte [esp + 0x34], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x119]
mov byte [esp + 0x118], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [0x42369c]
mov esi, eax
cmp eax, ebx
mov dword [esp + 0x20], esi
je 0x403f67
cmp byte [0x42406d], 1
je 0x403f67
jmp 0x4039d2
mov ebp, 1
mov ecx, dword [0x42115c]
push ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x34]
push 0x3f
rep stosd dword es:[edi], eax
mov ecx, 0x10
lea edi, [esp + 0x11c]
lea edx, [esp + 0x11c]
push esi
rep stosd dword es:[edi], eax
push edx
call fcn.00406980
lea eax, [esp + 0x124]
push str._username_
push eax
call fcn.00406fa0
add esp, 0x14
test eax, eax
je 0x403a5e
lea ecx, [esp + 0x78]
push 0x3f
lea edx, [esp + 0x38]
push ecx
push edx
call fcn.00406980
add esp, 0xc
lea eax, [esp + 0x118]
push 4
push str._username_
push eax
call fcn.00406fa0
add esp, 8
add eax, 0xa
lea ecx, [esp + 0x38]
push eax
push ecx
call fcn.00406e70
jmp 0x403a9a
lea edx, [esp + 0x118]
push 0x42207c
push edx
call fcn.00406fa0
add esp, 8
test eax, eax
jne 0x403a86
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x34]
rep stosd dword es:[edi], eax
jmp 0x403a9d
lea eax, [esp + 0x118]
push 0x3f
lea ecx, [esp + 0x38]
push eax
push ecx
call fcn.00406980
add esp, 0xc
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x1d9]
mov byte [esp + 0x1d8], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x424078
lea ecx, [esp + 0x1c]
stosb byte es:[edi], al
call fcn.0041563c
lea edi, [esp + 0x34]
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x3e0], ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x28], 0xff0000
jne 0x403b08
lea edx, [esp + 0x78]
lea eax, [esp + 0xb8]
push edx
push eax
lea ecx, [esp + 0x1e0]
push str.__s_:_checking:__s__NULL__..._r_n
push ecx
call fcn.00406c3a
add esp, 0x10
jmp 0x403b2f
lea edx, [esp + 0x34]
lea eax, [esp + 0x78]
push edx
lea ecx, [esp + 0xbc]
push eax
push ecx
lea edx, [esp + 0x1e4]
push str.__s_:_checking:__s__s_..._r_n
push edx
call fcn.00406c3a
add esp, 0x14
lea eax, [esp + 0x1d8]
lea ecx, [esp + 0x18]
push eax
call fcn.0041570b
lea ecx, [esp + 0x28]
lea edx, [esp + 0x18]
push ecx
push edx
call fcn.00401500
push 0xc
call fcn.00415371
mov esi, eax
add esp, 0xc
mov dword [esp + 0x14], esi
cmp esi, ebx
mov byte [esp + 0x3e0], 1
je 0x403b95
lea eax, [esp + 0x34]
mov dword [esi + 4], ebx
push eax
mov dword [esi + 8], ebp
call fcn.0040d60c
cmp eax, ebx
mov dword [esi], eax
jne 0x403b97
lea ecx, [esp + 0x34]
test ecx, ecx
je 0x403b97
push 0x8007000e
call fcn.0040d5c0
jmp 0x403b97
xor esi, esi
cmp esi, ebx
mov dword [esp + 0x14], esi
mov byte [esp + 0x3e0], bl
mov dword [esp + 0x74], esi
jne 0x403bb4
push 0x8007000e
call fcn.0040d5c0
cmp esi, ebx
mov byte [esp + 0x3e0], 2
je 0x403bc8
mov edx, dword [esi]
mov dword [esp + 0x10], edx
jmp 0x403bcc
mov dword [esp + 0x10], ebx
push 0xc
call fcn.00415371
mov esi, eax
add esp, 4
mov dword [esp + 0x24], esi
cmp esi, ebx
mov byte [esp + 0x3e0], 3
je 0x403c14
lea eax, [esp + 0x78]
mov dword [esi + 4], ebx
push eax
mov dword [esi + 8], ebp
call fcn.0040d60c
cmp eax, ebx
mov dword [esi], eax
jne 0x403c10
lea ecx, [esp + 0x78]
test ecx, ecx
je 0x403c10
push 0x8007000e
call fcn.0040d5c0
mov edi, esi
jmp 0x403c16
xor edi, edi
cmp edi, ebx
mov byte [esp + 0x3e0], 2
mov dword [esp + 0x24], edi
jne 0x403c30
push 0x8007000e
call fcn.0040d5c0
cmp edi, ebx
mov byte [esp + 0x3e0], 4
je 0x403c40
mov ebp, dword [edi]
jmp 0x403c42
xor ebp, ebp
push 0xc
call fcn.00415371
mov esi, eax
add esp, 4
mov dword [esp + 0x30], esi
cmp esi, ebx
mov byte [esp + 0x3e0], 5
je 0x403c92
lea edx, [esp + 0x158]
mov dword [esi + 4], ebx
push edx
mov dword [esi + 8], 1
call fcn.0040d60c
cmp eax, ebx
mov dword [esi], eax
jne 0x403c94
lea eax, [esp + 0x158]
test eax, eax
je 0x403c94
push 0x8007000e
call fcn.0040d5c0
jmp 0x403c94
xor esi, esi
cmp esi, ebx
mov byte [esp + 0x3e0], 4
mov dword [esp + 0x30], esi
jne 0x403cae
push 0x8007000e
call fcn.0040d5c0
cmp esi, ebx
mov byte [esp + 0x3e0], 6
je 0x403cbe
mov ecx, dword [esi]
jmp 0x403cc0
xor ecx, ecx
mov eax, dword [esp + 0x1c]
lea ebx, [esp + 0x2c]
push ebx
mov ebx, dword [esp + 0x14]
mov edx, dword [eax]
push 0
push 0
push 0
push 0
push ebx
push ebp
push ecx
push eax
call dword [edx + 0xc]
xor ebx, ebx
mov dword [esp + 0x10], eax
cmp esi, ebx
mov byte [esp + 0x3e0], 4
je 0x403d28
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea eax, [esi + 8]
push eax
call ebp
test eax, eax
jne 0x403d2e
mov eax, dword [esi]
cmp eax, ebx
je 0x403d0d
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x403d1d
push eax
call fcn.0041539a
add esp, 4
push esi
call fcn.0041539a
add esp, 4
jmp 0x403d2e
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp edi, ebx
mov byte [esp + 0x3e0], 2
je 0x403d6a
lea ecx, [edi + 8]
push ecx
call ebp
test eax, eax
jne 0x403d6a
mov eax, dword [edi]
cmp eax, ebx
je 0x403d51
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x403d61
push eax
call fcn.0041539a
add esp, 4
push edi
call fcn.0041539a
add esp, 4
mov esi, dword [esp + 0x14]
mov byte [esp + 0x3e0], bl
cmp esi, ebx
je 0x403da9
lea edx, [esi + 8]
push edx
call ebp
test eax, eax
jne 0x403da9
mov eax, dword [esi]
cmp eax, ebx
je 0x403d90
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x403da0
push eax
call fcn.0041539a
add esp, 4
push esi
call fcn.0041539a
add esp, 4
cmp dword [esp + 0x10], ebx
jge 0x403de8
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x18]
mov dword [esp + 0x3e0], 0xffffffff
mov esi, dword [eax + 0x60]
mov dword [esp + 0x20], esi
call fcn.00415612
cmp esi, ebx
je 0x403f67
cmp byte [0x42406d], 1
jne 0x4039cd
jmp 0x403f67
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x2d9]
mov byte [esp + 0x2d8], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x424078
lea ecx, [esp + 0x14]
stosb byte es:[edi], al
call fcn.0041563c
lea edi, [esp + 0x34]
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x3e0], 7
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x14], 0xff
jne 0x403e54
lea ecx, [esp + 0x78]
lea edx, [esp + 0xb8]
push ecx
push edx
lea eax, [esp + 0x2e0]
push str.__s_:_Found:__s__NULL______r_n
push eax
call fcn.00406c3a
add esp, 0x10
jmp 0x403e7b
lea ecx, [esp + 0x34]
lea edx, [esp + 0x78]
push ecx
lea eax, [esp + 0xbc]
push edx
push eax
lea ecx, [esp + 0x2e4]
push str.__s_:_Found:__s__s_____r_n
push ecx
call fcn.00406c3a
add esp, 0x14
lea edx, [esp + 0x2d8]
lea ecx, [esp + 0x10]
push edx
call fcn.0041570b
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
push ecx
call fcn.00401500
lea edx, [esp + 0x100]
lea eax, [esp + 0x3c]
push edx
lea ecx, [esp + 0x84]
push eax
lea edx, [esp + 0xc8]
push ecx
push edx
call fcn.00401630
call fcn.00401600
push 0x421ff8
push str.NTscan.txt
call fcn.00406cbd
mov edx, eax
add esp, 0x20
cmp edx, ebx
mov dword [0x4236ac], edx
je 0x403f3c
lea edi, [esp + 0x34]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x403f0d
lea eax, [esp + 0x78]
lea ecx, [esp + 0xb8]
push eax
push ecx
push str.___15s_:___s__NULL__n
push edx
call fcn.00406e2d
add esp, 0x10
jmp 0x403f2d
lea eax, [esp + 0x34]
lea ecx, [esp + 0x78]
push eax
lea eax, [esp + 0xbc]
push ecx
push eax
push str.___15s_:___s__s_n
push edx
call fcn.00406e2d
add esp, 0x14
mov ecx, dword [0x4236ac]
push ecx
call fcn.004068f5
add esp, 4
lea ecx, [esp + 0x10]
mov byte [0x421de4], 1
mov byte [esp + 0x3e0], bl
call fcn.00415612
lea ecx, [esp + 0x18]
mov dword [esp + 0x3e0], 0xffffffff
call fcn.00415612
call dword [sym.imp.ole32.dll_CoUninitialize]
mov al, 1
mov ecx, dword [esp + 0x3d8]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3d4
ret