Function at 0x10072770
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x101584eb
mov eax, dword fs:[0]
push eax
sub esp, 0x3f8
mov eax, dword [0x101b0cd0]
xor eax, esp
mov dword [esp + 0x3f4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101b0cd0]
xor eax, esp
push eax
lea eax, [esp + 0x40c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x42c]
mov esi, ecx
cmp dword [esi + 4], 0
mov dword [esp + 0x30], eax
je 0x1007292f
mov ecx, dword [esp + 0x41c]
mov eax, dword [esi + 0xc]
cmp ecx, eax
mov edx, ecx
jl 0x100727d4
mov edx, eax
test edx, edx
jge 0x100727e2
mov dword [esp + 0x14], 0
jmp 0x100727ee
cmp ecx, eax
mov dword [esp + 0x14], ecx
jl 0x100727ee
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x424]
cmp edx, eax
mov ecx, edx
jl 0x100727fd
mov ecx, eax
test ecx, ecx
jge 0x10072809
xor ebp, ebp
mov dword [esp + 0x18], ebp
jmp 0x1007281b
cmp edx, eax
jge 0x10072815
mov dword [esp + 0x18], edx
mov ebp, edx
jmp 0x1007281b
mov dword [esp + 0x18], eax
mov ebp, eax
mov ecx, dword [esp + 0x420]
mov eax, dword [esi + 0x10]
cmp ecx, eax
mov edx, ecx
jl 0x1007282d
mov edx, eax
test edx, edx
jge 0x10072835
xor ecx, ecx
jmp 0x1007283b
cmp ecx, eax
jl 0x1007283b
mov ecx, eax
mov ebx, eax
sub ebx, ecx
mov ecx, dword [esp + 0x428]
cmp ecx, eax
mov dword [esp + 0x20], ebx
mov edx, ecx
jl 0x10072852
mov edx, eax
test edx, edx
jge 0x1007285a
xor ecx, ecx
jmp 0x10072860
cmp ecx, eax
jl 0x10072860
mov ecx, eax
sub eax, ecx
mov edi, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], edi
cmp eax, ebp
je 0x1007292f
cmp ebx, edi
je 0x1007292f
cmp eax, ebp
jle 0x1007288a
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], eax
mov ebp, eax
cmp ebx, edi
jle 0x1007289c
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], edi
mov ebx, edi
mov edi, dword [esp + 0x24]
push 0
lea ecx, [esp + 0x3c]
call fcn.1006b0b0
push esi
lea ecx, [esp + 0x3c]
mov dword [esp + 0x418], 0
call fcn.1006b1f0
mov ecx, dword [esi + 0x40]
movzx edx, word [esi + 0x16]
push ecx
push edx
sub edi, ebx
mov eax, ebp
sub eax, dword [esp + 0x1c]
push edi
push eax
lea ecx, [esp + 0x48]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x44], eax
call fcn.1006b6f0
lea ecx, [esp + 0x38]
call fcn.1006bf20
test al, al
jne 0x1007295b
lea ecx, [esp + 0x38]
call fcn.1006c070
lea edx, [esi + 0x44]
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
test cl, cl
jne 0x10072900
lea ecx, [esp + 0x38]
mov dword [esp + 0x414], 0xffffffff
mov dword [esp + 0x38], vtable.CxImage.0
call fcn.1006b180
lea ecx, [esp + 0x38]
call fcn.1006b0d0
xor al, al
mov ecx, dword [esp + 0x40c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3f4]
xor ecx, esp
call fcn.1005392f
add esp, 0x404
ret 0x14
mov eax, dword [esi + 0x28]
push eax
mov ecx, esi
call fcn.10074380
push eax
lea ecx, [esp + 0x40]
call fcn.10074b70
mov ecx, dword [esi + 0x14c]
movzx eax, word [esi + 0x16]
mov edx, dword [esi + 0x150]
mov dword [esp + 0x184], ecx
lea ecx, [eax - 1]
mov dword [esp + 0x188], edx
cmp ecx, 0x17
ja case.0x100729a1.2
movzx ecx, byte [ecx + 0x10072b44]
jmp dword [ecx*4 + 0x10072b38]
cmp ebx, dword [esp + 0x24]
mov ebp, ebx
mov dword [esp + 0x1c], 0
jge case.0x100729a1.2
xor eax, eax
mov dword [esp + 0x28], eax
jmp 0x100729c8
mov edi, dword [esp + 0x2c]
cdq
idiv edi
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
xor ebx, ebx
cmp edi, edx
mov dword [esi + 0x144], eax
jge 0x10072a04
nop
push ebp
push edi
mov ecx, esi
call fcn.10074400
mov ecx, dword [esp + 0x1c]
movzx eax, al
push eax
push ecx
push ebx
lea ecx, [esp + 0x44]
call fcn.10074810
inc edi
inc ebx
cmp edi, dword [esp + 0x18]
jl 0x100729e0
mov eax, dword [esp + 0x28]
inc dword [esp + 0x1c]
inc ebp
add eax, 0x64
cmp ebp, dword [esp + 0x24]
mov dword [esp + 0x28], eax
jl 0x100729c4
jmp 0x10072a89
imul eax, dword [esp + 0x14]
mov edx, dword [esi + 0x30]
movzx ebp, word [esp + 0x4e]
imul edx, ebx
imul ebp, dword [esp + 0x44]
mov edi, dword [esp + 0x6c]
sar eax, 3
add eax, edx
add eax, dword [esi + 0x34]
sar ebp, 3
mov ebx, eax
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x20], eax
jge 0x10072a89
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x1c]
cdq
idiv dword [esp + 0x2c]
push ebp
push ebx
push edi
mov dword [esi + 0x144], eax
call fcn.1005a380
add edi, dword [esp + 0x74]
add ebx, dword [esi + 0x30]
add dword [esp + 0x28], 0x64
add esp, 0xc
sub dword [esp + 0x28], 1
jne 0x10072a5c
mov ebx, dword [esp + 0x20]
mov ecx, esi
call fcn.10076db0
test al, al
je 0x10072aee
lea ecx, [esp + 0x38]
call fcn.10076de0
lea ecx, [esp + 0x38]
call fcn.10076db0
test al, al
je 0x1007290a
mov edi, dword [esi + 0xc]
mov ebp, dword [esp + 0x3fc]
imul edi, ebx
add edi, dword [esi + 0x3c4]
add edi, dword [esp + 0x14]
cmp ebx, dword [esp + 0x24]
jge 0x10072aee
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
push edx
push edi
push ebp
call fcn.1005a380
add ebp, dword [esp + 0x50]
add edi, dword [esi + 0xc]
add esp, 0xc
sub ebx, 1
jne 0x10072ad3
mov ecx, dword [esp + 0x30]
push 1
test ecx, ecx
je 0x10072aff
lea eax, [esp + 0x3c]
push eax
jmp 0x10072b06
lea ecx, [esp + 0x3c]
push ecx
mov ecx, esi
call fcn.1006b300
lea ecx, [esp + 0x38]
mov dword [esp + 0x414], 0xffffffff
mov dword [esp + 0x38], vtable.CxImage.0
call fcn.1006b180
lea ecx, [esp + 0x38]
call fcn.1006b0d0
mov al, 1
jmp 0x10072931