Function at 0x404630
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ed800
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x66a030]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], 0
call fcn.0049b982
xor edx, edx
mov ecx, eax
test ecx, ecx
setne dl
test edx, edx
jne 0x404680
push 0x80004005
call fcn.00402df0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], 0
call fcn.0049b982
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4046ae
push 0x80004005
call fcn.00402df0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x30], edi
push 0
push 0
push 0
push 3
push 2
push 0
push 0
mov byte [ebp - 4], 1
push 0xffffffffffffffff
push 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
call dword [0x5feaa4]
test eax, eax
jns 0x404730
push 0x637a60
mov ecx, ebx
call fcn.00402d10
lea edx, [edi - 0x10]
mov byte [ebp - 4], 0
or edi, 0xffffffff
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x404728
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
jmp 0x40486b
lea eax, [ebp - 0x10]
push eax
push 0x62ed54
push 1
push 0
push 0x62ee24
call dword [0x5feaa0]
test eax, eax
js 0x4046fe
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x1c]
push edx
push 0
push 0
mov ecx, dword [eax]
push 0
push 0
push 0
push 0
push 0x6375f0
push eax
call dword [ecx + 0xc]
test eax, eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
jns 0x404779
call dword [ecx + 8]
jmp 0x4046fe
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x14]
push edx
push 0
push 0
push str.SELECT__FROM_Win32_ComputerSystemProduct
mov dword [ebp - 0x10], 0
mov ecx, dword [eax]
push 0x63765c
push eax
call dword [ecx + 0x50]
test eax, eax
js 0x404808
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x20]
push edx
lea edx, [ebp - 0x18]
push edx
mov ecx, dword [eax]
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x404808
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x40]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.UUID
push eax
call dword [ecx + 0x10]
push dword [ebp - 0x38]
lea eax, [ebp - 0x24]
push 0x637670
push eax
call fcn.00402640
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x20]
add esp, 0xc
mov ecx, dword [eax]
push edx
lea edx, [ebp - 0x18]
push edx
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
mov esi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x404815
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x404822
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x40482f
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x40483c
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
add esi, 0xfffffff0
push esi
call fcn.00402ec0
add eax, 0x10
mov byte [ebp - 4], 0
lea edx, [edi - 0x10]
mov dword [ebx], eax
or edi, 0xffffffff
add esp, 4
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40486b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x404884
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret