Function at 0x4394c0
Capabilities:
Get number of processors

Disassembly:
push ebp
lea ebp, [esp - 0x30]
sub esp, 0x30
push 0xffffffffffffffff
push 0x450d3a
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x46b070]
xor eax, ebp
mov dword [ebp + 0x2c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, edx
mov dword [ebp - 0x64], ebx
mov esi, dword [ebp + 0x38]
mov dword [ebp + 0xc], esi
mov edi, dword [ebp + 0x3c]
mov dword [ebp + 0x10], edi
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x68], ecx
xor eax, eax
mov dword [ebp - 0x6c], eax
mov dword [ebp + 0x14], eax
mov edx, dword [esi]
mov ecx, esi
mov eax, dword [edx + 0x3c]
call eax
mov dword [ebx + 0x14c], eax
mov byte [ebp + 0x24], 7
mov byte [ebp + 0x25], 1
mov byte [ebp + 0x26], 8
mov byte [ebp + 0x27], 0
mov byte [ebp + 0x28], 0
mov dword [ebp], 0
lea ecx, [ebp - 0x60]
push ecx
call fcn.00412ef0
mov dword [ebp - 4], 0
mov edx, dword [ebx + 0x14c]
cmp dword [edx + 4], 0
jne 0x4395c6
test byte [ebx + 0xd4], 2
je 0x4395c6
mov eax, 1
mov dword [ebp - 0x6c], eax
mov dword [ebp + 0x14], eax
mov dword [ebp], 0x11000001
mov eax, dword [esi]
lea ecx, [ebp + 0x24]
push ecx
push edi
push 0x91000001
mov ecx, esi
mov edx, dword [eax + 0x2c]
call edx
lea edi, [ebp - 0x60]
call fcn.00413560
mov eax, 0x17
mov ecx, edi
call fcn.00413300
mov eax, 0xa
mov ecx, edi
call fcn.00413300
mov eax, dword [ebx + 0x14c]
cmp dword [eax + 0x68], 0
je 0x4395bb
cmp dword [eax + 0xc], 0
jne 0x43961c
mov ecx, dword [eax + 0x34]
xor ecx, dword [eax + 0x10]
mov dword [eax + 0x58], ecx
jmp 0x43961c
cmp dword [ebx + 0xc4], 0
je 0x43961c
mov eax, dword [ebx + 0xb4]
cmp dword [eax + 0x2c], 0
je 0x43961c
mov dword [ebp], 0x11000001
mov edx, dword [esi]
lea eax, [ebp + 0x24]
push eax
push edi
push 0x91000001
mov ecx, esi
mov edx, dword [edx + 0x2c]
call edx
mov dword [ebp + 0x14], 1
lea edi, [ebp - 0x60]
call fcn.00413560
mov eax, 0x17
mov ecx, edi
call fcn.00413300
mov eax, 0xa
mov ecx, edi
call fcn.00413300
mov eax, ebx
xor eax, dword [0x5a1cf0]
mov dword [ebp + 0x1c], eax
mov eax, 0x20
lea ecx, [ebp - 0x60]
call fcn.00413300
push 4
lea ecx, [ebp + 0x1c]
push ecx
lea esi, [ebp - 0x60]
call fcn.00413240
mov edi, dword [ebx + 0xbc]
mov dword [ebp + 0x18], edi
mov eax, 0x73
mov ecx, esi
call fcn.00413300
push edi
mov eax, esi
call fcn.004132c0
mov edx, dword [ebx + 0xb4]
mov eax, dword [edx + 0x10]
mov ecx, eax
and ecx, 0xf
shr eax, 4
mov esi, dword [ecx*4 + 0x455998]
or esi, eax
mov eax, pe_nt_image_headers32
lea ecx, [ebp - 0x60]
call fcn.00413300
push esi
lea eax, [ebp - 0x60]
call fcn.004132c0
mov dword [ebp + 0x1c], 0x431c50
mov eax, 0x20
lea ecx, [ebp - 0x60]
call fcn.00413300
push 4
lea eax, [ebp + 0x1c]
push eax
lea esi, [ebp - 0x60]
call fcn.00413240
mov ecx, dword [ebx + 0xb4]
mov eax, dword [ecx + 0x18]
mov ecx, eax
and ecx, 0xf
shr eax, 4
mov esi, dword [ecx*4 + 0x455998]
or esi, eax
mov eax, pe_nt_image_headers32
lea ecx, [ebp - 0x60]
call fcn.00413300
push esi
lea eax, [ebp - 0x60]
call fcn.004132c0
cmp dword [ebx + 0xc4], 0
je 0x439933
mov edx, dword [ebx + 0xb4]
cmp dword [edx + 0x2c], 0
je 0x439933
mov dword [ebp + 0x1c], 0x431dd0
mov eax, dword [ebp + 0x10]
mov edi, dword [eax + 4]
mov ecx, dword [0x5a1bf4]
cmp dword [ecx + 0x10], 0
je 0x439801
push edi
call fcn.00431ce0
add esp, 4
mov edi, eax
mov edx, dword [edi + 0xc]
mov dword [ebp + 0x1c], edx
mov eax, 0x20
lea ecx, [ebp - 0x60]
call fcn.00413300
push 4
lea eax, [ebp + 0x1c]
push eax
lea esi, [ebp - 0x60]
call fcn.00413240
mov eax, 0x73
mov ecx, esi
call fcn.00413300
mov ecx, dword [ebp + 0x18]
push ecx
mov eax, esi
call fcn.004132c0
mov edx, dword [edi + 4]
mov dword [ebp + 0x1c], edx
mov eax, 0x20
mov ecx, esi
call fcn.00413300
push 4
lea eax, [ebp + 0x1c]
push eax
call fcn.00413240
mov eax, 0x73
mov ecx, esi
call fcn.00413300
mov ecx, dword [ebp + 0x18]
push ecx
mov eax, esi
call fcn.004132c0
mov edx, dword [edi + 8]
mov dword [ebp + 0x1c], edx
mov eax, 0x20
mov ecx, esi
call fcn.00413300
push 4
lea eax, [ebp + 0x1c]
push eax
call fcn.00413240
mov eax, 0x73
mov ecx, esi
call fcn.00413300
mov ecx, dword [ebp + 0x18]
push ecx
mov eax, esi
call fcn.004132c0
mov esi, dword [edi + 0x18]
mov eax, 0x20
lea ecx, [ebp - 0x60]
call fcn.00413300
push esi
lea eax, [ebp - 0x60]
call fcn.004132c0
mov esi, dword [ebx + 0x3b4]
mov eax, 0x28
lea ecx, [ebp - 0x60]
call fcn.00413300
push esi
lea eax, [ebp - 0x60]
call fcn.004132c0
mov edx, dword [edi + 0x10]
mov dword [ebp + 0x1c], edx
mov eax, dword [ebx + 0xb8]
mov eax, dword [eax + 0x38]
mov ecx, eax
and ecx, 0xf
shr eax, 4
mov esi, dword [ecx*4 + 0x455998]
or esi, eax
mov eax, 0x28
lea ecx, [ebp - 0x60]
call fcn.00413300
push esi
lea eax, [ebp - 0x60]
call fcn.004132c0
mov eax, 0x25
lea ecx, [ebp - 0x60]
call fcn.00413300
mov ecx, dword [ebx + 0xb8]
mov eax, dword [ecx + 0x3c]
mov ecx, eax
and ecx, 0xf
shr eax, 4
mov esi, dword [ecx*4 + 0x455998]
or esi, eax
mov eax, 0x6f
lea ecx, [ebp - 0x60]
call fcn.00413300
push esi
lea eax, [ebp - 0x60]
call fcn.004132c0
mov dword [ebp + 4], edi
mov eax, 0x20
lea ecx, [ebp - 0x60]
call fcn.00413300
push 4
lea edx, [ebp + 4]
push edx
lea esi, [ebp - 0x60]
call fcn.00413240
mov eax, 0x73
mov ecx, esi
call fcn.00413300
mov eax, dword [ebp + 0x18]
push eax
mov eax, esi
call fcn.004132c0
mov ecx, dword [ebp + 0x1c]
mov dword [ebp + 4], ecx
mov eax, 0x20
mov ecx, esi
call fcn.00413300
push 4
lea edx, [ebp + 4]
push edx
call fcn.00413240
mov eax, dword [ebx + 0xb8]
mov eax, dword [eax + 0x14]
mov ecx, eax
and ecx, 0xf
shr eax, 4
mov esi, dword [ecx*4 + 0x455998]
or esi, eax
mov eax, 0x29
lea ecx, [ebp - 0x60]
call fcn.00413300
push esi
lea eax, [ebp - 0x60]
call fcn.004132c0
mov ecx, dword [ebx + 0xb8]
mov eax, dword [ecx + 0x30]
mov ecx, eax
and ecx, 0xf
shr eax, 4
mov esi, dword [ecx*4 + 0x455998]
or esi, eax
mov edx, esi
and edx, 0xff000000
cmp edx, 0x6000000
jne 0x439930
mov eax, 0x28
lea ecx, [ebp - 0x60]
call fcn.00413300
push esi
lea eax, [ebp - 0x60]
call fcn.004132c0
mov edi, dword [ebp + 0x18]
mov eax, 0x17
lea ecx, [ebp - 0x60]
call fcn.00413300
cmp dword [ebp + 0x14], 0
je 0x4399da
mov eax, 0xa
lea ecx, [ebp - 0x60]
call fcn.00413300
mov eax, 0xde
lea ecx, [ebp - 0x60]
call fcn.00413300
mov byte [ebp + 0x20], 3
lea ebx, [ebp + 0x20]
lea esi, [ebp - 0x60]
call fcn.004115b0
mov eax, esi
push eax
call fcn.00413600
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx + 0xb4]
mov eax, dword [edx]
mov ecx, eax
and ecx, 0xf
shr eax, 4
mov ecx, dword [ecx*4 + 0x455998]
or ecx, eax
push ecx
mov ebx, esi
call fcn.004136c0
mov eax, 0x26
mov ecx, esi
call fcn.00413300
mov eax, 0xde
mov ecx, esi
call fcn.00413300
mov byte [ebp + 0x20], 0
lea ebx, [ebp + 0x20]
call fcn.004115b0
mov edx, esi
push edx
call fcn.00413750
mov eax, 6
mov ecx, esi
call fcn.00413300
mov ebx, dword [ebp - 0x64]
mov eax, 0x2a
lea ecx, [ebp - 0x60]
call fcn.00413300
mov eax, dword [ebp]
push eax
lea eax, [ebp - 0x60]
call fcn.00413810
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebp + 0x10]
mov dword [esi + 0xc], ecx
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x439a0f
mov ecx, dword [ebp - 0x58]
mov edx, ecx
sub edx, eax
cmp edx, 0xc
ja 0x439a1a
call fcn.0043b6ab
mov ecx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x5c]
lea edx, [eax + 0xc]
mov dword [esi + 8], edx
mov esi, dword [ebp + 0xc]
cmp dword [ebp - 0x6c], 0
jne 0x439a2f
cmp dword [ebp + 0x14], 0
je 0x439a5d
mov edx, dword [ebp - 0x14]
test edx, edx
mov dword [esi + 0x14], edi
mov dword [esi + 0xc], 1
jne 0x439a44
xor eax, eax
jmp 0x439a5a
test eax, eax
mov edi, edx
je 0x439a50
sub ecx, eax
cmp edx, ecx
jb 0x439a58
call fcn.0043b6ab
mov eax, dword [ebp - 0x5c]
add eax, edi
mov dword [esi + 4], eax
mov dword [ebp + 8], VariantInit
mov byte [ebp - 4], 1
cmp dword [ebp + 0x14], 0
je 0x439a9e
mov eax, dword [ebp - 0x68]
push eax
mov ecx, dword [ebp - 0x70]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov ecx, esi
mov edx, ebx
call fcn.00433040
mov esi, eax
mov dword [ebp + 8], esi
mov eax, dword [ebx + 0x14c]
mov ecx, 1
mov dword [eax + 0x68], ecx
mov dword [eax + 0x4c], ecx
mov dword [eax + 4], ecx
jmp 0x439ab8
mov eax, dword [esi]
mov ecx, dword [ebp - 0x68]
push ecx
mov edx, dword [ebp - 0x70]
push edx
mov ecx, dword [ebp + 0x10]
push ecx
push ebx
push esi
mov edx, dword [eax + 4]
call edx
mov esi, eax
mov dword [ebp + 8], esi
test esi, esi
jne 0x439ae3
mov eax, dword [0x5a1bf4]
cmp dword [eax + 0x10], esi
je 0x439ae3
cmp dword [ebx + 0xc4], esi
je 0x439ae3
mov ecx, dword [ebx + 0xb4]
cmp dword [ecx + 0x2c], esi
je 0x439ae3
cmp dword [eax + 0x3c], esi
jne 0x439ae3
call fcn.00431b40
mov dword [ebp - 4], 0
jmp 0x439afc
mov dword [ebp - 4], 0xffffffff
lea edx, [ebp - 0x60]
push edx
call fcn.00412f80
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2c]
xor ecx, ebp
call fcn.0043afb6
add ebp, 0x30
mov esp, ebp
pop ebp
ret 0xc