Function at 0x44d629
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x537676
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x320]
cmp eax, 6
ja case.0x44d63c.5
jmp dword [eax*4 + 0x44da84]
mov ecx, esi
call fcn.004040e0
mov ax, word [esi + 0x12a]
cmp ax, 8
jne 0x44d687
xor edi, edi
push 0xffffffffffffffff
push edi
push 9
mov ecx, esi
mov dword [esi + 0x340], edi
call fcn.00460c10
mov dword [esi + 0x320], 6
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
xor edi, edi
cmp ax, 5
je 0x44d6a1
push 0xffffffffffffffff
push edi
push 5
mov ecx, esi
mov dword [esi + 0x340], edi
call fcn.00460c10
mov eax, dword [0x6b4ca8]
push 0x40
mov dword [esi + 0x374], eax
mov dword [esi + 0x310], 0xa0
call fcn.00455390
add esp, 4
mov dword [esp + 0xc], eax
cmp eax, edi
mov dword [esp + 0x38], edi
je 0x44d6e5
mov ecx, dword [0x6a9038]
push 4
push 0x82
push 2
push edi
push ecx
push esi
mov ecx, eax
call fcn.00401180
mov eax, dword [esi + 0x320]
pop edi
inc eax
mov dword [esi + 0x320], eax
pop esi
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
mov eax, dword [esi + 0x60]
xor edi, edi
cmp eax, edi
jne 0x44d717
cmp dword [esi + 0x68], edi
jne 0x44d717
mov edi, 1
push str.nonzerovel
push edi
call fcn.004015b0
mov eax, dword [esi + 0x288]
add esp, 8
test al, 2
je 0x44da70
and al, 0xfd
push 3
mov dword [esi + 0x288], eax
mov edx, dword [0x6a9038]
mov eax, dword [edx + 0xc]
mov dword [esi + 0x230], 0xa
mov dword [esi + 0x38c], eax
call fcn.004e5da0
add esp, 4
inc eax
mov dword [esi + 0x1f8], eax
mov eax, dword [esi + 0x320]
inc eax
pop edi
mov dword [esi + 0x320], eax
pop esi
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
mov eax, dword [esi + 0x230]
mov ecx, dword [esi + 0x80]
cmp eax, ecx
jl 0x44d7ae
sub eax, ecx
pop edi
mov dword [esi + 0x230], eax
pop esi
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
xor edi, edi
push 0xffffffffffffffff
push edi
push 0xa
mov ecx, esi
mov dword [esi + 0x230], edi
mov dword [esi + 0x340], edi
call fcn.00460c10
mov eax, dword [esi + 0x320]
pop edi
inc eax
mov dword [esi + 0x320], eax
pop esi
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
cmp word [esi + 0x128], 0x1a
jl 0x44da70
mov ecx, dword [0x6a9038]
lea edx, [esi + 8]
add ecx, 8
lea eax, [esp + 0x10]
push ecx
xor edi, edi
push edx
push eax
mov word [esp + 0x1c], di
mov word [esp + 0x1e], di
mov word [esp + 0x20], di
call fcn.004e62d0
push edi
lea ecx, [esp + 0x28]
push esi
push ecx
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
call fcn.00453d60
mov dx, word [esi + 0x16]
push 0x1c8
mov word [esp + 0x2e], dx
mov word [esp + 0x30], di
call fcn.00455390
add esp, 0x1c
mov dword [esp + 0xc], eax
cmp eax, edi
mov dword [esp + 0x38], 1
je 0x44d876
push 0x64
lea ecx, [esp + 0x14]
push 0x60
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, eax
call fcn.00451b80
lea eax, [esp + 0x18]
push edi
push eax
push 0x8085
mov dword [esp + 0x44], 0xffffffff
call fcn.00471ea0
mov eax, dword [esi + 0x320]
add esp, 0xc
inc eax
mov dword [esi + 0x320], eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
cmp word [0x5fbc0c], 0xffff
je 0x44da70
mov eax, dword [esi + 0x1f8]
dec eax
mov dword [esi + 0x1f8], eax
je 0x44d9a1
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x14]
test eax, eax
je 0x44d9a1
push 0x96
call fcn.004e5da0
mov ecx, 0x1c2
sub ecx, eax
lea eax, [esi + 8]
mov dword [esi + 0x324], ecx
mov edx, dword [0x6a9038]
add edx, 8
push edx
push eax
call fcn.004e61e0
mov ecx, dword [0x682c44]
xor edi, edi
add esp, 0xc
cmp ecx, edi
je 0x44d91e
cmp ecx, esi
jne 0x44d94e
cmp eax, 0x28a
jge 0x44d970
mov ecx, dword [0x6a9038]
mov eax, dword [ecx + 0xc]
mov ecx, dword [esi + 0x29c]
sub eax, ecx
sub eax, 0x4000
mov ecx, eax
sar ecx, 0x1f
mov edx, ecx
xor edx, eax
sub edx, ecx
cmp edx, 0xc8000
jge 0x44d970
mov dword [esi + 0x320], edi
mov dword [esi + 0x31c], 0x19
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
push 0xffffffffffffffff
push edi
push 0xa
mov ecx, esi
mov dword [esi + 0x340], edi
call fcn.00460c10
mov eax, dword [esi + 0x320]
pop edi
dec eax
mov dword [esi + 0x320], eax
pop esi
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
push 0x96
call fcn.004e5da0
mov ecx, 0x1c2
push 0x64
sub ecx, eax
mov dword [esi + 0x324], ecx
call fcn.004e5da0
mov edx, dword [esi + 0x3ac]
add esp, 8
shl edx, 2
xor edi, edi
cmp eax, edx
jge 0x44d94e
mov ecx, esi
call fcn.0044f190
mov ebx, eax
cmp ebx, edi
je 0x44d94e
lea eax, [esp + 0x24]
push ebx
push eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esi + 0x1f0], edi
call fcn.004e3940
add esp, 8
lea ecx, [esp + 0x24]
mov dword [esi + 0x1f4], ebx
push ecx
mov ecx, esi
call fcn.0044f2e0
mov dword [esi + 0x320], edi
mov dword [esi + 0x31c], 0x17
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
cmp word [0x5fbc0c], 0xffff
je 0x44da70
mov dword [esi + 0x320], 0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
push str.Unknown_substate_
push 0
call fcn.004015b0
add esp, 8
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret