Function at 0x5e3870
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x638258
mov eax, dword fs:[0]
push eax
sub esp, 0x128
push ebx
push esi
push edi
mov eax, dword [0x6ce488]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x74], ebx
lea ecx, [ebx + 0x28]
call fcn.00401c10
lea eax, [ebx + 0x2c]
mov ecx, eax
call fcn.00401c10
push 0x6925cc
mov ecx, ebx
call fcn.005e32a0
test al, al
jne 0x5e38d4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, 0x692084
mov dword [ebp - 0x28], 0
mov ecx, 0x692080
mov dword [ebp - 0x1c], 0x692088
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x20], 0x69209c
mov dword [ebp - 0x18], 0x692090
mov dword [ebp - 0x2c], ecx
push dword [ecx]
mov ecx, ebx
mov dword [ebp - 0x14], 0
call fcn.005e3370
mov edx, dword [ebx + 0x18]
mov byte [ebp - 0x2d], al
test edx, edx
je 0x5e4276
test al, al
je 0x5e4276
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 0
mov ecx, dword [edx]
push eax
lea eax, [ebp - 0x14]
push eax
push 1
push 0xbb8
push edx
call dword [ecx + 0x10]
cmp dword [ebp - 0x34], 0
jne 0x5e3956
mov eax, dword [ebx + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
jmp 0x5e427c
call fcn.004021b0
mov ecx, eax
test ecx, ecx
je 0x5e42bc
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x24], esi
mov edi, dword [ebp - 0x1c]
mov eax, str.SMBIOS
mov dword [ebp - 4], 0
mov edi, dword [edi]
mov ecx, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x5e39a9
test dx, dx
je 0x5e39a5
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x5e39a9
add eax, 4
add ecx, 4
test dx, dx
jne 0x5e3983
xor eax, eax
jmp 0x5e39ae
sbb eax, eax
or eax, 1
test eax, eax
jne 0x5e3b64
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0x84]
push eax
call ebx
lea eax, [ebp - 0x94]
push eax
call ebx
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x84]
push 0
push 0
push edx
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
push 0
push dword [edx]
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x94]
push 0
push 0
push edx
mov edx, dword [ebp - 0x18]
mov ecx, dword [eax]
push 0
push dword [edx]
push eax
call dword [ecx + 0x10]
call fcn.004021b0
mov ecx, eax
test ecx, ecx
je 0x5e42bc
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x60], esi
mov byte [ebp - 4], 1
call fcn.004021b0
mov ecx, eax
test ecx, ecx
je 0x5e42bc
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x5c], edi
cmp word [ebp - 0x84], 8
mov byte [ebp - 4], 2
jne 0x5e3a5d
mov eax, dword [ebp - 0x7c]
test eax, eax
je 0x5e3a5d
push eax
lea ecx, [ebp - 0x60]
call fcn.00401f30
mov esi, dword [ebp - 0x60]
cmp word [ebp - 0x94], 8
jne 0x5e3a7d
mov eax, dword [ebp - 0x8c]
test eax, eax
je 0x5e3a7d
push eax
lea ecx, [ebp - 0x5c]
call fcn.00401f30
mov edi, dword [ebp - 0x5c]
push edi
push esi
lea eax, [ebp - 0x24]
push str._d._d
push eax
call fcn.00402970
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x84]
add esp, 0x10
push eax
call ebx
lea eax, [ebp - 0x94]
push eax
call ebx
mov eax, dword [ebp - 0x24]
push ecx
add eax, 0xfffffff0
mov ebx, esp
push eax
mov dword [ebp - 0x38], ebx
call fcn.00401b80
add eax, 0x10
add esp, 4
mov dword [ebx], eax
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x74]
mov ecx, ebx
push dword [eax]
call fcn.005e3120
inc dword [ebp - 0x28]
add edi, 0xfffffff0
add dword [ebp - 0x2c], 0xc
or eax, 0xffffffff
add dword [ebp - 0x18], 0xc
add dword [ebp - 0x20], 0xc
add dword [ebp - 0x10], 0xc
add dword [ebp - 0x1c], 0xc
mov byte [ebp - 4], 1
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x5e3b04
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x5e3b20
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x24]
mov edi, dword [ebp - 0x10]
mov eax, dword [ebx + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x5e3b3c
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x5e427c
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x5e427c
mov ecx, edi
mov eax, 0x6925f0
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x5e3b96
test dx, dx
je 0x5e3b92
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x5e3b96
add eax, 4
add ecx, 4
test dx, dx
jne 0x5e3b70
xor eax, eax
jmp 0x5e3b9b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x5e3c2d
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x134]
push 0
push 0
push edx
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
push 0
push dword [edx]
push eax
call dword [ecx + 0x10]
movsx ecx, word [ebp - 0x12c]
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
test eax, eax
lea eax, [ebp - 0x24]
jle 0x5e3be7
push 0x6925f8
jmp 0x5e3bec
push 0x692604
push eax
call fcn.00402970
mov esi, dword [ebp - 0x24]
add esp, 0xc
push ecx
lea eax, [esi - 0x10]
mov edi, esp
push eax
mov dword [ebp - 0x38], edi
call fcn.00401b80
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov ecx, ebx
mov eax, dword [ebp - 0x1c]
push dword [eax]
call fcn.005e3120
lea eax, [ebp - 0x134]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x5e3b23
mov ecx, edi
mov eax, 0x6921cc
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x5e3c5a
test dx, dx
je 0x5e3c56
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x5e3c5a
add eax, 4
add ecx, 4
test dx, dx
jne 0x5e3c34
xor eax, eax
jmp 0x5e3c5f
sbb eax, eax
or eax, 1
test eax, eax
jne 0x5e3dc2
mov edi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0xa4]
push eax
call edi
lea eax, [ebp - 0xb4]
push eax
call edi
lea eax, [ebp - 0xc4]
push eax
call edi
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0xa4]
push 0
push 0
push edx
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
push 0
push dword [edx]
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0xb4]
push 0
push 0
push edx
mov edx, dword [ebp - 0x18]
mov ecx, dword [eax]
push 0
push dword [edx]
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0xc4]
push 0
push 0
push edx
mov edx, dword [ebp - 0x20]
mov ecx, dword [eax]
push 0
push dword [edx]
push eax
call dword [ecx + 0x10]
lea ecx, [ebp - 0x40]
call fcn.00402270
lea ecx, [ebp - 0x3c]
call fcn.00402270
lea ecx, [ebp - 0x58]
call fcn.00402270
cmp word [ebp - 0xa4], 8
mov byte [ebp - 4], 5
jne 0x5e3d12
mov eax, dword [ebp - 0x9c]
test eax, eax
je 0x5e3d12
push eax
lea ecx, [ebp - 0x40]
call fcn.00401f30
cmp word [ebp - 0xb4], 8
jne 0x5e3d2f
mov eax, dword [ebp - 0xac]
test eax, eax
je 0x5e3d2f
push eax
lea ecx, [ebp - 0x3c]
call fcn.00401f30
cmp word [ebp - 0xc4], 8
jne 0x5e3d4c
mov eax, dword [ebp - 0xbc]
test eax, eax
je 0x5e3d4c
push eax
lea ecx, [ebp - 0x58]
call fcn.00401f30
push dword [ebp - 0x58]
lea eax, [ebx + 0x1c]
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
push str._s__s__d_MHz
push eax
call fcn.00402970
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0xa4]
add esp, 0x14
push eax
call edi
lea eax, [ebp - 0xb4]
push eax
call edi
lea eax, [ebp - 0xc4]
push eax
call edi
mov edi, dword [ebp - 0x10]
lea ecx, [ebp - 0x58]
add dword [ebp - 0x28], 2
add edi, 0x18
add dword [ebp - 0x2c], 0x18
add dword [ebp - 0x18], 0x18
add dword [ebp - 0x20], 0x18
add dword [ebp - 0x1c], 0x18
call fcn.004022a0
lea ecx, [ebp - 0x3c]
call fcn.004022a0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.004022a0
jmp 0x5e3b26
mov ecx, edi
mov eax, str.BIOS
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x5e3df6
test dx, dx
je 0x5e3df2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x5e3df6
add eax, 4
add ecx, 4
test dx, dx
jne 0x5e3dd0
xor eax, eax
jmp 0x5e3dfb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x5e3f00
mov edi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0xd4]
push eax
call edi
lea eax, [ebp - 0xe4]
push eax
call edi
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0xd4]
push 0
push 0
push edx
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
push 0
push dword [edx]
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0xe4]
push 0
push 0
push edx
mov edx, dword [ebp - 0x18]
mov ecx, dword [eax]
push 0
push dword [edx]
push eax
call dword [ecx + 0x10]
lea ecx, [ebp - 0x48]
call fcn.00402270
lea ecx, [ebp - 0x44]
call fcn.00402270
cmp word [ebp - 0xd4], 8
mov byte [ebp - 4], 7
jne 0x5e3e82
mov eax, dword [ebp - 0xcc]
test eax, eax
je 0x5e3e82
push eax
lea ecx, [ebp - 0x48]
call fcn.00401f30
cmp word [ebp - 0xe4], 8
jne 0x5e3e9f
mov eax, dword [ebp - 0xdc]
test eax, eax
je 0x5e3e9f
push eax
lea ecx, [ebp - 0x44]
call fcn.00401f30
push dword [ebp - 0x44]
lea eax, [ebx + 0x20]
push dword [ebp - 0x48]
push 0x69262c
push eax
call fcn.00402970
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0xd4]
add esp, 0x10
push eax
call edi
lea eax, [ebp - 0xe4]
push eax
call edi
mov edi, dword [ebp - 0x10]
lea ecx, [ebp - 0x44]
inc dword [ebp - 0x28]
add edi, 0xc
add dword [ebp - 0x2c], 0xc
add dword [ebp - 0x18], 0xc
add dword [ebp - 0x20], 0xc
add dword [ebp - 0x1c], 0xc
call fcn.004022a0
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0
call fcn.004022a0
jmp 0x5e3b26
mov ecx, edi
mov eax, 0x692638
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x5e3f2d
test dx, dx
je 0x5e3f29
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x5e3f2d
add eax, 4
add ecx, 4
test dx, dx
jne 0x5e3f07
xor eax, eax
jmp 0x5e3f32
sbb eax, eax
or eax, 1
test eax, eax
jne 0x5e4095
mov edi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0xf4]
push eax
call edi
lea eax, [ebp - 0x104]
push eax
call edi
lea eax, [ebp - 0x114]
push eax
call edi
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0xf4]
push 0
push 0
push edx
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
push 0
push dword [edx]
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x104]
push 0
push 0
push edx
mov edx, dword [ebp - 0x18]
mov ecx, dword [eax]
push 0
push dword [edx]
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x114]
push 0
push 0
push edx
mov edx, dword [ebp - 0x20]
mov ecx, dword [eax]
push 0
push dword [edx]
push eax
call dword [ecx + 0x10]
lea ecx, [ebp - 0x54]
call fcn.00402270
lea ecx, [ebp - 0x50]
call fcn.00402270
lea ecx, [ebp - 0x4c]
call fcn.00402270
cmp word [ebp - 0xf4], 8
mov byte [ebp - 4], 0xa
jne 0x5e3fe5
mov eax, dword [ebp - 0xec]
test eax, eax
je 0x5e3fe5
push eax
lea ecx, [ebp - 0x54]
call fcn.00401f30
cmp word [ebp - 0x104], 8
jne 0x5e4002
mov eax, dword [ebp - 0xfc]
test eax, eax
je 0x5e4002
push eax
lea ecx, [ebp - 0x50]
call fcn.00401f30
cmp word [ebp - 0x114], 8
jne 0x5e401f
mov eax, dword [ebp - 0x10c]
test eax, eax
je 0x5e401f
push eax
lea ecx, [ebp - 0x4c]
call fcn.00401f30
push dword [ebp - 0x4c]
lea eax, [ebx + 0x24]
push dword [ebp - 0x50]
push dword [ebp - 0x54]
push 0x692644
push eax
call fcn.00402970
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0xf4]
add esp, 0x14
push eax
call edi
lea eax, [ebp - 0x104]
push eax
call edi
lea eax, [ebp - 0x114]
push eax
call edi
mov edi, dword [ebp - 0x10]
lea ecx, [ebp - 0x4c]
add dword [ebp - 0x28], 2
add edi, 0x18
add dword [ebp - 0x2c], 0x18
add dword [ebp - 0x18], 0x18
add dword [ebp - 0x20], 0x18
add dword [ebp - 0x1c], 0x18
call fcn.004022a0
lea ecx, [ebp - 0x50]
call fcn.004022a0
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0
call fcn.004022a0
jmp 0x5e3b26
mov eax, 0x691f28
nop word [eax + eax]
mov cx, word [eax]
cmp cx, word [edi]
jne 0x5e40c6
test cx, cx
je 0x5e40c2
mov cx, word [eax + 2]
cmp cx, word [edi + 2]
jne 0x5e40c6
add eax, 4
add edi, 4
test cx, cx
jne 0x5e40a0
xor eax, eax
jmp 0x5e40cb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x5e41eb
cmp dword [ebx + 0x18], eax
je 0x5e3b23
nop dword [eax]
mov eax, dword [ebx + 0x28]
cmp dword [eax - 0xc], 0
je 0x5e40fe
mov eax, dword [ebx + 0x2c]
cmp dword [eax - 0xc], 0
jne 0x5e3b23
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x5e414e
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x70]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.Model
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x5e413f
mov eax, 8
cmp ax, word [ebp - 0x70]
jne 0x5e413f
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x5e413f
push eax
lea ecx, [ebx + 0x28]
call fcn.00401f30
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x70]
push eax
call edi
mov eax, dword [ebx + 0x2c]
cmp dword [eax - 0xc], 0
jne 0x5e419b
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x70]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push 0x692660
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x5e4195
mov eax, 8
cmp ax, word [ebp - 0x70]
jne 0x5e4195
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x5e4195
push eax
lea ecx, [ebx + 0x2c]
call fcn.00401f30
lea eax, [ebp - 0x70]
push eax
call edi
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x34], 0
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebx + 0x18]
lea edx, [ebp - 0x34]
push edx
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push edx
mov ecx, dword [eax]
push 1
push 0xbb8
push eax
call dword [ecx + 0x10]
cmp dword [ebp - 0x34], 0
je 0x5e3b23
test eax, eax
js 0x5e3b23
cmp dword [ebx + 0x18], 0
jne 0x5e40e0
jmp 0x5e3b23
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x124]
mov edi, dword [ebp - 0x10]
push 0
push 0
mov ecx, dword [eax]
push edx
push 0
push dword [edi]
push eax
call dword [ecx + 0x10]
mov eax, 8
cmp ax, word [ebp - 0x124]
mov eax, dword [ebp - 0x11c]
jne 0x5e4236
test eax, eax
je 0x5e4236
push eax
lea ecx, [ebp - 0x24]
call fcn.00401f30
jmp 0x5e4249
cwde
push eax
lea eax, [ebp - 0x24]
push 0x69267c
push eax
call fcn.00402970
add esp, 0xc
push ecx
lea eax, [ebp - 0x24]
mov ecx, esp
push eax
call fcn.00401be0
mov eax, dword [ebp - 0x1c]
mov ecx, ebx
push dword [eax]
call fcn.005e3120
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov esi, dword [ebp - 0x24]
jmp 0x5e3b26
mov eax, dword [edx]
push edx
call dword [eax + 0xc]
mov eax, dword [ebp - 0x28]
add edi, 0xc
mov ecx, dword [ebp - 0x2c]
inc eax
add dword [ebp - 0x18], 0xc
add ecx, 0xc
add dword [ebp - 0x20], 0xc
add dword [ebp - 0x1c], 0xc
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x10], edi
cmp eax, 0xd
jl 0x5e3900
mov al, byte [ebp - 0x2d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00401f90
int3