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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x60762b
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
push ebx
push esi
push edi
mov eax, dword [0x767500]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
lea ecx, [esp + 0x18]
call fcn.00424070
mov eax, 0x64
xor edi, edi
mov dword [esp + 0xb8], edi
mov edx, 0x50
mov ecx, 0x5f
mov esi, 0x5a
mov dword [esp + 0x48], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], eax
mov dword [esp + 0x84], eax
mov eax, 3
mov edx, 1
mov ecx, 2
mov dword [esp + 0x54], esi
mov dword [esp + 0x78], esi
mov esi, ebx
mov dword [esp + 0x4c], 0xa
mov dword [esp + 0x50], 0x14
mov dword [esp + 0x7c], 0x14
mov dword [esp + 0x80], 0xa
mov dword [esp + 0x88], edi
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa8], edi
call fcn.00418f10
or eax, 0xffffffff
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], eax
mov eax, dword [ebx]
cmp dword [eax + 0x44], edi
jle 0x41a2f0
lea esp, [esp]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x40], ecx
cmp eax, ecx
jbe 0x41a24d
call fcn.0055d9b4
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x18]
mov dword [esp + 0x44], eax
cmp eax, ecx
jbe 0x41a25e
call fcn.0055d9b4
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x18]
push ecx
push esi
push edx
push eax
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x2c]
call fcn.004245f0
mov esi, dword [ebx]
push edi
lea edx, [esp + 0x1c]
push edx
call fcn.004167a0
test al, al
je 0x41a2ac
lea eax, [esp + 0x18]
push eax
push ebx
mov ecx, edi
call fcn.00419960
test eax, eax
jle 0x41a2ac
cmp dword [esp + 0x14], eax
jge 0x41a2ac
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], edi
mov ecx, dword [ebx]
inc edi
cmp edi, dword [ecx + 0x44]
jl 0x41a230
mov edi, dword [esp + 0x30]
test edi, edi
jl 0x41a2f0
mov eax, dword [esp + 0x24]
xor esi, esi
cmp eax, esi
je 0x41a2d3
push eax
call fcn.0055d56e
add esp, 4
mov edx, dword [esp + 0x18]
push edx
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
call fcn.0055d56e
mov eax, edi
jmp 0x41a546
mov esi, ebx
call fcn.00418d60
xor eax, eax
cmp dword [ebx + 0x414], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x14], eax
jle 0x41a3bb
lea edi, [ebx + 0x3a4]
mov edx, dword [edi - 0x38]
mov eax, edx
mov ecx, edx
xor esi, esi
sar eax, 4
and ecx, 0xf
cmp eax, 3
mov dword [edi + 0x38], esi
jge 0x41a33d
mov ebx, 1
shl ebx, cl
or dword [esp + eax*4 + 0x34], ebx
mov ebx, dword [edi]
cmp ebx, 2
jl 0x41a39d
cmp eax, 3
jge 0x41a360
test ecx, ecx
je 0x41a359
cmp ecx, 8
je 0x41a359
mov esi, 0x2710
jmp 0x41a375
mov esi, 0x2af8
jmp 0x41a375
xor eax, eax
cmp ecx, 4
setge al
dec eax
and eax, 0xfffffc18
add eax, 0x2ee0
mov esi, eax
cmp ebx, 3
jl 0x41a38c
add ebx, 0xfffffffd
mov dword [edi], ebx
mov ebx, dword [ebp + 8]
add dword [ebx + edx*4 + 0x140], 0xfffffffd
jmp 0x41a3a0
mov eax, 0x66666667
imul esi
sar edx, 2
mov esi, edx
shr esi, 0x1f
add esi, edx
mov ebx, dword [ebp + 8]
mov eax, dword [esp + 0x14]
mov dword [edi + 0x38], esi
inc eax
add edi, 4
cmp eax, dword [ebx + 0x414]
mov dword [esp + 0x14], eax
jl 0x41a31b
cmp dword [ebx + 0x414], 0
mov dword [esp + 0x14], 0
jle 0x41a4b5
lea edi, [ebx + 0x3dc]
mov eax, dword [edi - 0x70]
mov esi, eax
sar eax, 4
xor edx, edx
and esi, 0xf
cmp eax, 3
jl 0x41a3f9
xor eax, eax
cmp esi, 4
setl al
dec eax
and eax, 5
jmp 0x41a49b
mov eax, dword [esp + eax*4 + 0x34]
mov ecx, 8
sub ecx, esi
shl eax, cl
mov ecx, eax
shr ecx, 9
and ecx, 3
sub ecx, 1
je 0x41a43e
sub ecx, 1
je 0x41a430
sub ecx, 1
jne 0x41a44d
mov ecx, eax
shr ecx, 0xb
and ecx, 7
mov edx, dword [esp + ecx*4 + 0x48]
lea edx, [edx + edx*4]
add edx, edx
jmp 0x41a44d
mov edx, eax
shr edx, 0xb
and edx, 7
mov edx, dword [esp + edx*4 + 0x48]
jmp 0x41a44d
mov ecx, eax
shr ecx, 0xb
and ecx, 7
mov edx, dword [esp + ecx*4 + 0x48]
lea edx, [edx + edx*4]
mov ecx, eax
shr ecx, 6
and ecx, 3
sub ecx, 1
je 0x41a488
sub ecx, 1
je 0x41a476
sub ecx, 1
jne 0x41a492
shr eax, 0xb
and eax, 7
mov eax, dword [esp + eax*4 + 0x68]
lea eax, [eax + eax*4]
lea edx, [edx + eax*2]
jmp 0x41a492
shr eax, 0xb
and eax, 7
mov eax, dword [esp + eax*4 + 0x68]
lea ecx, [eax + edx]
lea edx, [ecx + eax*4]
jmp 0x41a492
shr eax, 0xb
and eax, 7
add edx, dword [esp + eax*4 + 0x68]
mov eax, dword [esp + esi*4 + 0x88]
add eax, edx
add dword [edi], eax
mov eax, dword [esp + 0x14]
inc eax
add edi, 4
cmp eax, dword [ebx + 0x414]
mov dword [esp + 0x14], eax
jl 0x41a3d6
mov ecx, dword [ebx + 0x414]
xor edx, edx
or edi, 0xffffffff
test ecx, ecx
jle 0x41a4eb
lea eax, [ebx + 0x3dc]
mov esi, ecx
lea esp, [esp]
test edi, edi
jge 0x41a4d8
mov edx, dword [eax]
jmp 0x41a4e0
mov ecx, dword [eax]
cmp edx, ecx
jl 0x41a4e3
mov edx, ecx
mov edi, dword [eax - 0x70]
add eax, 4
sub esi, 1
jne 0x41a4d0
mov ebx, dword [ebx]
mov ecx, dword [ebx + 0x44]
xor edx, edx
xor esi, esi
cmp ecx, edx
jle 0x41a518
cmp esi, edx
jl 0x41a505
cmp esi, ecx
jge 0x41a505
lea eax, [ebx + esi*4]
jmp 0x41a507
xor eax, eax
mov eax, dword [eax]
sar eax, 4
and eax, 0x3f
cmp eax, edi
je 0x41a561
inc esi
cmp esi, ecx
jl 0x41a4f8
mov eax, dword [esp + 0x24]
lea esi, [ecx - 1]
cmp eax, edx
je 0x41a52e
push eax
call fcn.0055d56e
add esp, 4
xor edx, edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x18]
push edx
call fcn.0055d56e
mov eax, esi
add esp, 4
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esp + 0x24]
cmp eax, edx
je 0x41a574
push eax
call fcn.0055d56e
add esp, 4
xor edx, edx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], edx
push ecx
jmp 0x41a53f