Function at 0x598df0
Capabilities:
Connect to wmi namespace via wbemlocator
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b3e3a
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x639354]
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 edi, dword [ebp + 8]
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
mov dword [ebp - 0xa4], edi
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
mov dword [ebp - 0x9c], 0
lea eax, [ebp - 0x9c]
mov dword [ebp - 4], 0
push eax
push 0x5dfe34
push 1
push 0
push 0x5dfe24
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x598e92
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov dword [ebp - 4], 1
jmp 0x599054
mov dword [ebp - 0x98], 0
mov esi, dword [ebp - 0x9c]
lea ecx, [ebp - 0xa4]
push 0x5d8dbc
mov byte [ebp - 4], 2
mov eax, dword [esi]
mov ebx, dword [eax + 0xc]
call fcn.004677a0
mov eax, dword [eax]
mov byte [ebp - 4], 3
test eax, eax
je 0x598ec9
mov eax, dword [eax]
jmp 0x598ecb
xor eax, eax
lea ecx, [ebp - 0x98]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push esi
call ebx
lea ecx, [ebp - 0xa4]
mov esi, eax
call fcn.00467d30
test esi, esi
jns 0x598f2a
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov eax, dword [ebp - 0x98]
mov byte [ebp - 4], 4
test eax, eax
je 0x598f1e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 5
jmp 0x599054
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebp - 0x98]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x598f7f
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov eax, dword [ebp - 0x98]
mov byte [ebp - 4], 6
test eax, eax
je 0x598f73
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 7
jmp 0x599054
mov dword [ebp - 0x94], 0
mov esi, dword [ebp - 0x98]
lea ecx, [ebp - 0xa8]
push str.SELECT__FROM_Win32_DiskDrive
mov byte [ebp - 4], 8
mov eax, dword [esi]
mov eax, dword [eax + 0x50]
mov dword [ebp - 0xa4], eax
call fcn.004677a0
mov ebx, dword [eax]
mov byte [ebp - 4], 9
test ebx, ebx
je 0x598fbc
mov ebx, dword [ebx]
jmp 0x598fbe
xor ebx, ebx
push 0x5d8e10
lea ecx, [ebp - 0xac]
call fcn.004677a0
mov eax, dword [eax]
mov byte [ebp - 4], 0xa
test eax, eax
je 0x598fdc
mov eax, dword [eax]
jmp 0x598fde
xor eax, eax
lea ecx, [ebp - 0x94]
push ecx
push 0
push 0x30
push ebx
push eax
push esi
call dword [ebp - 0xa4]
lea ecx, [ebp - 0xac]
mov esi, eax
call fcn.00467d30
lea ecx, [ebp - 0xa8]
call fcn.00467d30
test esi, esi
jns 0x59906d
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov eax, dword [ebp - 0x94]
mov byte [ebp - 4], 0xb
test eax, eax
je 0x599039
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x98]
mov byte [ebp - 4], 0xc
test eax, eax
je 0x59904d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 0xd
mov eax, dword [ebp - 0x9c]
test eax, eax
je 0x5995ca
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x5995ca
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], 0
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], al
mov ebx, 0xf
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ebx
mov byte [ebp - 0x48], al
mov eax, dword [ebp - 0x94]
test eax, eax
je 0x599541
mov dword [ebp - 0xa0], 0
lea edx, [ebp - 0xa4]
mov dword [ebp - 0xa4], 0
mov ecx, dword [eax]
push edx
lea edx, [ebp - 0xa0]
mov byte [ebp - 4], 0x11
push edx
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x599527
cmp dword [ebp - 0xa4], 0
je 0x599527
push str.SerialNumber
push dword [ebp - 0xa0]
lea eax, [ebp - 0x90]
push eax
call fcn.005304a0
mov edx, eax
add esp, 0xc
lea eax, [ebp - 0x48]
cmp eax, edx
je 0x599159
mov eax, dword [edx + 8]
mov esi, dword [edx]
mov ecx, dword [edx + 4]
mov ebx, dword [edx + 0x14]
mov dword [ebp - 0x40], eax
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x3c], eax
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ebx
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov byte [edx], 0
jmp 0x59915c
mov esi, dword [ebp - 0x48]
lea ecx, [ebp - 0x90]
call fcn.00437c40
cmp dword [ebp - 0x38], 0
jne 0x59918c
mov eax, dword [ebp - 0xa0]
mov byte [ebp - 4], 0x13
test eax, eax
je 0x599181
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x94]
jmp 0x599544
push str.Model
push dword [ebp - 0xa0]
lea eax, [ebp - 0x90]
push eax
call fcn.005304a0
mov edx, eax
add esp, 0xc
lea eax, [ebp - 0x78]
cmp eax, edx
je 0x5991eb
mov eax, dword [edx + 8]
mov ebx, dword [edx]
mov ecx, dword [edx + 4]
mov dword [ebp - 0x70], eax
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x6c], eax
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x68], eax
mov eax, dword [edx + 0x14]
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x64], eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov byte [edx], 0
jmp 0x5991f4
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0xac], eax
lea ecx, [ebp - 0x90]
call fcn.00437c40
push str.FirmwareRevision
push dword [ebp - 0xa0]
lea eax, [ebp - 0x90]
push eax
call fcn.005304a0
mov edx, eax
add esp, 0xc
lea eax, [ebp - 0x60]
cmp eax, edx
je 0x59925e
mov eax, dword [edx + 8]
mov ebx, dword [edx]
mov ecx, dword [edx + 4]
mov dword [ebp - 0x58], eax
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x54], eax
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x50], eax
mov eax, dword [edx + 0x14]
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x4c], eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov byte [edx], 0
jmp 0x599267
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0xa8], eax
lea ecx, [ebp - 0x90]
call fcn.00437c40
mov eax, dword [ebp - 0xa0]
mov byte [ebp - 4], 0x14
test eax, eax
je 0x599286
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x68]
mov eax, 0x20202020
mov byte [ebp - 4], 0x10
mov ebx, 4
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov word [ebp - 0x14], ax
test ecx, ecx
je 0x599327
mov eax, ebx
cmp ecx, eax
cmovl eax, ecx
cmp dword [ebp - 0x64], 0x10
lea ecx, [ebp - 0x78]
cmovae ecx, dword [ebp - 0xac]
test eax, eax
je 0x599327
test ecx, ecx
je 0x5992e6
cmp eax, 0x1e
ja 0x5992e6
push eax
push ecx
lea eax, [ebp - 0x30]
push eax
call fcn.00560500
add esp, 0xc
jmp 0x599327
xor edx, edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov word [ebp - 0x14], dx
test ecx, ecx
jne 0x599312
call fcn.0056b02e
mov dword [eax], 0x16
jmp 0x599322
cmp eax, 0x1e
jbe 0x599327
call fcn.0056b02e
mov dword [eax], 0x22
call fcn.0056af54
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x59939d
cmp eax, 4
cmovl ebx, eax
cmp dword [ebp - 0x4c], 0x10
lea eax, [ebp - 0x60]
cmovae eax, dword [ebp - 0xa8]
test ebx, ebx
je 0x59939d
test eax, eax
je 0x59935f
cmp ebx, 0x1a
ja 0x59935f
push ebx
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00560500
add esp, 0xc
jmp 0x59939d
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov word [ebp - 0x14], cx
test eax, eax
jne 0x599388
call fcn.0056b02e
mov dword [eax], 0x16
jmp 0x599398
cmp ebx, 0x1a
jbe 0x59939d
call fcn.0056b02e
mov dword [eax], 0x22
call fcn.0056af54
mov ebx, dword [ebp - 0x34]
lea ecx, [ebp - 0x48]
mov eax, 0x14
cmp dword [ebp - 0x38], eax
cmovl eax, dword [ebp - 0x38]
cmp ebx, 0x10
cmovae ecx, esi
test eax, eax
je 0x59940d
test ecx, ecx
je 0x5993d2
cmp eax, 0x16
ja 0x5993d2
push eax
push ecx
lea eax, [ebp - 0x28]
push eax
call fcn.00560500
add esp, 0xc
jmp 0x59940d
xor edx, edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov word [ebp - 0x14], dx
test ecx, ecx
jne 0x5993f8
call fcn.0056b02e
mov dword [eax], 0x16
jmp 0x599408
cmp eax, 0x16
jbe 0x59940d
call fcn.0056b02e
mov dword [eax], 0x22
call fcn.0056af54
lea ecx, [ebp - 0x30]
mov dword [edi], 0
mov dword [edi + 0x10], 0
lea edx, [ecx + 1]
mov dword [edi + 0x14], 0xf
mov byte [ebp - 0x14], 0
mov byte [edi], 0
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x599430
sub ecx, edx
lea eax, [ebp - 0x30]
push ecx
push eax
mov ecx, edi
call fcn.00438630
mov byte [ebp - 4], 0xf
cmp ebx, 0x10
jb 0x599479
lea ecx, [ebx + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x59946f
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5995e8
push ecx
push esi
call fcn.0055c524
add esp, 8
mov eax, dword [ebp - 0x4c]
mov byte [ebp - 4], 0xe
cmp eax, 0x10
jb 0x5994b6
mov edx, dword [ebp - 0xa8]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x5994ac
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5995e8
push ecx
push edx
call fcn.0055c524
add esp, 8
mov eax, dword [ebp - 0x64]
mov byte [ebp - 4], 8
cmp eax, 0x10
jb 0x5994f3
mov edx, dword [ebp - 0xac]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x5994e9
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5995e8
push ecx
push edx
call fcn.0055c524
add esp, 8
mov eax, dword [ebp - 0x94]
mov byte [ebp - 4], 0x19
test eax, eax
je 0x599507
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x98]
mov byte [ebp - 4], 0x1a
test eax, eax
je 0x59951b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 0x1b
jmp 0x599054
mov eax, dword [ebp - 0xa0]
mov byte [ebp - 4], 0x12
test eax, eax
je 0x59953b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x94]
mov esi, dword [ebp - 0x48]
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov byte [ebp - 4], 0xf
cmp ebx, 0x10
jb 0x599591
lea ecx, [ebx + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x599581
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5995e8
push ecx
push esi
call fcn.0055c524
mov eax, dword [ebp - 0x94]
add esp, 8
mov byte [ebp - 4], 0x16
test eax, eax
je 0x59959f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x98]
mov byte [ebp - 4], 0x17
test eax, eax
je 0x5995b3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x9c]
mov dword [ebp - 4], 0x18
test ecx, ecx
je 0x5995ca
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, edi
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.0055c3a9
mov esp, ebp
pop ebp
ret
call fcn.0056af64
int3