Function at 0x46e7c0
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x70c1e2
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x78b624]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x78b624]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x88]
mov eax, dword [esp + 0x8c]
mov esi, dword [esp + 0x94]
xor edi, edi
cmp ebp, edi
mov ebx, ecx
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x14], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], esi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x30], edi
je 0x46ebf6
push 0x2368
push edi
push ebp
call fcn.0069517a
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp eax, edi
je 0x46e946
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x46e850
sub eax, edx
add eax, 0xffffffff
cmp eax, 0xfe
ja 0x46e946
lea ecx, [esp + 0x3c]
call dword [0x72a584]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x3c]
push edx
push eax
mov dword [esp + 0x88], edi
call dword [0x72aa44]
add esp, 8
push 0x100
lea ecx, [esp + 0x40]
lea esi, [ebp + 0x168]
call dword [0x72a58c]
push eax
push esi
call dword [0x72a72c]
mov ecx, dword [esp + 0x5c]
push edi
push ecx
push esi
call dword [0x72aa48]
add esp, 0x18
cmp eax, edi
jle 0x46e92d
push edi
push edi
push edi
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x24]
push ecx
mov dword [ebp], eax
mov edx, dword [ebx + 0x5d4]
movsx ecx, word [ebx + 0x573c]
push edx
push ecx
push eax
push esi
mov dword [esp + 0x38], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
call dword [0x72aa3c]
mov ecx, dword [esp + 0x38]
mov dword [ebp + 8], eax
mov edx, dword [ebx + 0x5dc]
add edx, dword [ebx + 0x5d4]
add esp, 0x24
imul edx, eax
add edx, dword [ebx + 0x5e4]
mov dword [ebp + 0x1c], edx
mov eax, dword [ebx + 0x5d0]
lea edx, [ecx + eax*2]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2c], edx
call fcn.00426910
lea ecx, [esp + 0x3c]
mov dword [esp + 0x80], 0xffffffff
call dword [0x72a590]
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
cmp eax, edi
je 0x46ea56
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x46e955
sub eax, edx
mov dword [esp + 0x14], eax
add eax, 0xffffffff
cmp eax, 0xffe
ja 0x46ea56
lea ecx, [esp + 0x58]
call dword [0x72a584]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x58]
push eax
push ecx
push edx
mov dword [esp + 0x8c], 1
call dword [0x72aa50]
add esp, 0xc
push 0x1000
lea ecx, [esp + 0x5c]
mov dword [esp + 0x1c], eax
lea esi, [ebp + 0x368]
call dword [0x72a58c]
push eax
push esi
call dword [0x72a72c]
mov eax, dword [esp + 0x24]
push edi
push eax
push esi
call dword [0x72aa48]
push 0
push 0
push 0
lea ecx, [esp + 0x60]
push ecx
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edi
mov dword [ebp + 4], eax
mov edx, dword [ebx + 0x5d8]
movsx ecx, word [ebx + 0x573c]
lea edi, [ebp + 0x10]
push edi
push edx
push ecx
push eax
push esi
call dword [0x72aa3c]
mov ecx, dword [edi]
mov dword [ebp + 0xc], eax
mov edx, dword [ebx + 0x5dc]
add edx, dword [ebx + 0x5d8]
add esp, 0x3c
imul edx, eax
add edx, dword [ebx + 0x5e4]
add dword [ebp + 0x1c], edx
mov eax, dword [ebx + 0x5d0]
lea eax, [ecx + eax*2]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x18], eax
mov dword [ebp + 0x14], eax
call fcn.00426910
lea ecx, [esp + 0x58]
mov dword [esp + 0x80], 0xffffffff
call dword [0x72a590]
mov esi, dword [esp + 0x38]
xor edi, edi
cmp esi, edi
je 0x46ebb5
xor eax, eax
push 0x144
lea edx, [ebp + 0x24]
push edi
push edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
call fcn.0069517a
mov eax, esi
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x46ea87
sub eax, edx
push eax
lea ecx, [ebp + 0x48]
push esi
push ecx
call fcn.00695250
mov eax, esi
add esp, 0xc
lea ecx, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x46eaa5
sub eax, ecx
mov byte [eax + ebp + 0x48], dl
mov al, 0xff
push edi
mov byte [ebp + 0x3f], al
mov byte [ebp + 0x3e], al
mov byte [ebp + 0x3d], al
mov byte [ebp + 0x3c], al
mov dword [ebp + 0x44], 1
mov byte [ebp + 0x40], 1
mov dword [ebp + 0x148], edi
mov dword [ebp + 0x14c], 0xffffffff
mov ecx, dword [0x7a7ad8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
push 1
lea edx, [esp + 0x24]
push edx
push esi
call eax
mov eax, dword [esp + 0x20]
cmp ax, di
mov cx, word [esp + 0x22]
mov word [ebp + 0x22], cx
movsx edx, ax
movsx ecx, cx
mov word [ebp + 0x20], ax
mov dword [ebp + 0x158], edi
mov dword [ebp + 0x15c], edi
mov dword [ebp + 0x160], edx
mov dword [ebp + 0x164], ecx
jl 0x46eb2d
cmp ax, 0x3e8
jle 0x46eb31
mov word [ebp + 0x20], di
lea eax, [ebx + 0x420]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x46eb40
sub eax, edx
push eax
lea eax, [ebx + 0x420]
push edi
push eax
call fcn.0069517a
movsx eax, word [esp + 0x28]
movsx edx, word [esp + 0x2a]
mov ecx, 0x20
lea esi, [ebp + 0x48]
lea edi, [ebx + 0x420]
rep movsd dword es:[edi], dword [esi]
mov dword [ebx + 0x534], eax
mov dword [ebx + 0x530], edx
movsx eax, word [ebp + 0x20]
movzx ecx, word [ebp + 0x22]
add eax, 6
mov dword [esp + 0x3c], eax
movzx eax, word [ebp + 0x1c]
add esp, 0xc
cmp ax, cx
movzx eax, ax
jg 0x46eba0
movzx eax, cx
push 0xffffffffffffffff
movsx ecx, ax
push 0
push 0
mov dword [ebp + 0x1c], ecx
push 1
mov ecx, ebx
call fcn.00438390
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
add eax, edx
cmp ecx, eax
jg 0x46ebc9
mov ecx, eax
mov dword [ebp + 0x18], ecx
mov eax, dword [ebx + 0x5ec]
add eax, eax
add dword [ebp + 0x1c], eax
mov eax, dword [ebx + 0x5e8]
cmp ecx, eax
jle 0x46ebef
mov dword [ebp + 0x18], eax
mov ecx, dword [ebx + 0x5e8]
sub ecx, edx
mov dword [ebp + 0x14], ecx
mov eax, 1
jmp 0x46ebf8
mov eax, edi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0069516a
add esp, 0x70
ret 0x10