Function at 0x46aae0
Capabilities:
Get number of processors
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4ef1a2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x94
push ebx
push ebp
mov ebp, dword [esp + 0xbc]
push esi
mov esi, dword [esp + 0xb8]
xor ebx, ebx
push edi
mov edi, dword [esp + 0xc0]
mov dword [esi], ebx
mov dword [edi], ebx
push ebx
mov dword [esp + 0x5c], ebx
mov dword [ebp], ebx
call fcn.004c2fe6
push eax
call fcn.004c2c54
add esp, 8
call fcn.00473fc0
mov edx, dword [eax]
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x6c]
push ecx
lea ecx, [esp + 0x60]
push ecx
mov ecx, eax
call dword [edx + 0x90]
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
push 0x18
push 0x5036e8
lea ecx, [esp + 0x38]
mov dword [esp + 0x54], edx
mov dword [esp + 0x68], eax
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
call fcn.00401eb0
push 0xa
push 0x503704
lea ecx, [esp + 0x1c]
mov dword [esp + 0xb4], ebx
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.00401eb0
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x18]
push edx
mov byte [esp + 0xb4], 1
call fcn.004b7000
mov ecx, eax
call fcn.004b6f40
mov ebx, eax
cmp dword [esp + 0x2c], 0x10
jb 0x46abde
mov eax, dword [esp + 0x18]
push eax
call fcn.004c2c15
add esp, 4
cmp dword [esp + 0x48], 0x10
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
mov dword [esp + 0xac], 0xffffffff
jb 0x46ac12
mov ecx, dword [esp + 0x34]
push ecx
call fcn.004c2c15
add esp, 4
push 0x18
push 0x503710
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], 0
mov byte [esp + 0x3c], 0
call fcn.00401eb0
push 0xa
push 0x50372c
lea ecx, [esp + 0x1c]
mov dword [esp + 0xb4], 2
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
call fcn.00401eb0
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0xb4], 3
call fcn.004b7000
mov ecx, eax
call fcn.004b6f40
mov dword [esp + 0x10], eax
cmp dword [esp + 0x2c], 0x10
jb 0x46ac9d
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004c2c15
add esp, 4
cmp dword [esp + 0x48], 0x10
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
mov dword [esp + 0xac], 0xffffffff
jb 0x46acd1
mov edx, dword [esp + 0x34]
push edx
call fcn.004c2c15
add esp, 4
mov eax, dword [esp + 0xb4]
fild dword [esp + 0xb4]
test eax, eax
jge 0x46ace9
fadd dword [0x4ff66c]
fisub dword [esp + 0x10]
mov eax, dword [esp + 0x10]
sub ebx, eax
mov dword [esp + 0x10], ebx
fidiv dword [esp + 0x10]
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x64]
sub ecx, edx
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
fmul st(1)
call fcn.004c2ba0
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
sub edx, ebx
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
add ecx, eax
mov dword [esp + 0x4c], ecx
fmul st(1)
call fcn.004c2ba0
fstp st(0)
mov ebx, dword [esp + 0x60]
add ebx, eax
nop
call fcn.004c2c61
cdq
mov ecx, 0x64
idiv ecx
cmp edx, dword [esp + 0x4c]
jge 0x46ad57
inc dword [esi]
jmp 0x46ad5d
cmp edx, ebx
jge 0x46ad61
inc dword [edi]
cmp edx, ebx
jl 0x46ad64
inc dword [ebp]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0xb8]
inc eax
cmp eax, ecx
mov dword [esp + 0x58], eax
jl 0x46ad40
cmp dword [esi], 4
jle 0x46ad97
mov eax, dword [edi]
cmp eax, 4
jge 0x46ad89
inc eax
mov dword [edi], eax
jmp 0x46ad95
mov eax, dword [ebp]
cmp eax, 4
jge 0x46ad97
inc eax
mov dword [ebp], eax
dec dword [esi]
cmp dword [ebp], 4
jle 0x46adb6
mov eax, dword [edi]
cmp eax, 4
jge 0x46ada9
inc eax
mov dword [edi], eax
jmp 0x46adb3
mov eax, dword [esi]
cmp eax, 4
jge 0x46adb6
inc eax
mov dword [esi], eax
dec dword [ebp]
cmp dword [edi], 4
jle 0x46add5
mov eax, dword [esi]
cmp eax, 4
jge 0x46adc7
inc eax
mov dword [esi], eax
jmp 0x46add3
mov eax, dword [ebp]
cmp eax, 4
jge 0x46add5
inc eax
mov dword [ebp], eax
dec dword [edi]
cmp dword [esi], 4
jg 0x46ad7d
cmp dword [edi], 4
jg 0x46ad78
cmp dword [ebp], 4
jg 0x46ad78
push 0x2d
mov ebx, 0xf
push str.AT_LEAST_TWO_EASY_DIFFERENCES_GUARANTEE_LEVEL
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], 0
mov byte [esp + 0x3c], 0
call fcn.00401eb0
push 0xa
push 0x503768
lea ecx, [esp + 0x1c]
mov dword [esp + 0xb4], 4
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
call fcn.00401eb0
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0xb4], 5
call fcn.004b7000
mov ecx, eax
call fcn.004b6f40
cmp eax, dword [esp + 0xb4]
mov eax, dword [esp + 0x2c]
sbb bl, bl
inc bl
cmp eax, 0x10
jb 0x46ae76
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004c2c15
add esp, 4
cmp dword [esp + 0x48], 0x10
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
mov dword [esp + 0xac], 0xffffffff
jb 0x46aeaa
mov edx, dword [esp + 0x34]
push edx
call fcn.004c2c15
add esp, 4
test bl, bl
je 0x46aef6
mov eax, dword [esi]
cmp eax, 2
jge 0x46aef6
cmp dword [edi], 0
jle 0x46aebf
inc eax
mov dword [esi], eax
dec dword [edi]
mov eax, dword [esi]
cmp eax, 2
jge 0x46aef6
cmp dword [edi], 0
jle 0x46aed0
inc eax
mov dword [esi], eax
dec dword [edi]
mov eax, dword [esi]
cmp eax, 2
jge 0x46aef6
cmp dword [ebp], 0
jle 0x46aee3
inc eax
mov dword [esi], eax
dec dword [ebp]
mov eax, dword [esi]
cmp eax, 2
jge 0x46aef6
cmp dword [ebp], 0
jle 0x46aef6
inc eax
mov dword [esi], eax
dec dword [ebp]
push 0x2f
push str.AT_LEAST_TWO_MEDIUM_DIFFERENCES_GUARANTEE_LEVEL
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], 0
mov byte [esp + 0x3c], 0
call fcn.00401eb0
push 0xa
push 0x5037a4
lea ecx, [esp + 0x1c]
mov dword [esp + 0xb4], 6
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
call fcn.00401eb0
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0xb4], 7
call fcn.004b7000
mov ecx, eax
call fcn.004b6f40
cmp dword [esp + 0xb4], eax
mov eax, dword [esp + 0x2c]
sbb bl, bl
inc bl
cmp eax, 0x10
jb 0x46af8a
mov edx, dword [esp + 0x18]
push edx
call fcn.004c2c15
add esp, 4
cmp dword [esp + 0x48], 0x10
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
mov dword [esp + 0xac], 0xffffffff
jb 0x46afbe
mov eax, dword [esp + 0x34]
push eax
call fcn.004c2c15
add esp, 4
test bl, bl
je 0x46afee
mov eax, dword [edi]
mov ecx, dword [ebp]
add ecx, eax
cmp ecx, 2
jge 0x46afd8
cmp dword [esi], 0
jle 0x46afd8
inc eax
mov dword [edi], eax
dec dword [esi]
mov eax, dword [edi]
mov edx, dword [ebp]
add edx, eax
cmp edx, 2
jge 0x46afee
cmp dword [esi], 0
jle 0x46afee
inc eax
mov dword [edi], eax
dec dword [esi]
push 0x2d
push str.AT_LEAST_TWO_HARD_DIFFERENCES_GUARANTEE_LEVEL
lea ecx, [esp + 0x90]
mov dword [esp + 0xa8], 0xf
mov dword [esp + 0xa4], 0
mov byte [esp + 0x94], 0
call fcn.00401eb0
push 0xa
push 0x5037e0
lea ecx, [esp + 0x70]
mov dword [esp + 0xb4], 8
mov dword [esp + 0x88], 0xf
mov dword [esp + 0x84], 0
mov byte [esp + 0x74], 0
call fcn.00401eb0
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x6c]
push ecx
mov byte [esp + 0xb4], 9
call fcn.004b7000
mov ecx, eax
call fcn.004b6f40
cmp dword [esp + 0xb4], eax
mov eax, dword [esp + 0x80]
sbb bl, bl
inc bl
cmp eax, 0x10
jb 0x46b09a
mov edx, dword [esp + 0x6c]
push edx
call fcn.004c2c15
add esp, 4
cmp dword [esp + 0xa0], 0x10
mov dword [esp + 0x80], 0xf
mov dword [esp + 0x7c], 0
mov byte [esp + 0x6c], 0
jb 0x46b0cc
mov eax, dword [esp + 0x8c]
push eax
call fcn.004c2c15
add esp, 4
test bl, bl
je 0x46b11c
mov eax, dword [ebp]
cmp eax, 2
jge 0x46b11c
cmp dword [edi], 0
jle 0x46b0e3
inc eax
mov dword [ebp], eax
dec dword [edi]
mov eax, dword [ebp]
cmp eax, 2
jge 0x46b11c
cmp dword [edi], 0
jle 0x46b0f6
inc eax
mov dword [ebp], eax
dec dword [edi]
mov eax, dword [ebp]
cmp eax, 2
jge 0x46b11c
cmp dword [esi], 0
jle 0x46b109
inc eax
mov dword [ebp], eax
dec dword [esi]
mov eax, dword [ebp]
cmp eax, 2
jge 0x46b11c
cmp dword [esi], 0
jle 0x46b11c
inc eax
mov dword [ebp], eax
dec dword [esi]
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa0
ret 0x14