Function at 0x43d960
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44d445
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push esi
push edi
mov eax, dword [0x45a008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
push 0
push 0xb
call fcn.0043e3d0
mov ecx, dword [ebx + 0x38]
call fcn.0043f4f0
mov esi, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], esi
mov word [ebp - 0x48], 0
push dword [ebp + 8]
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], 0
push ebx
call fcn.0043ef60
mov eax, dword [ebx + 0x38]
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
add ecx, dword [eax]
mov dword [edi + 4], esi
push dword [edi + 0x30]
mov dword [ebp - 0x28], ecx
call fcn.0041d479
inc esi
mov dword [edi + 0x30], 0
xor ecx, ecx
add esp, 4
mov eax, esi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041d5b4
add esp, 4
mov dword [edi + 0x30], eax
push dword [edi + 0x34]
call fcn.0041d479
add esp, 4
mov dword [edi + 0x34], 0
push dword [ebp - 0x20]
call fcn.0041d5b4
add esp, 4
mov dword [edi + 0x34], eax
push dword [edi + 0x38]
call fcn.0041d479
xor ecx, ecx
mov dword [edi + 0x38], 0
add esp, 4
mov eax, esi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041d5b4
add esp, 4
mov dword [edi + 0x38], eax
push dword [edi + 0x2c]
call fcn.0041d479
xor ecx, ecx
mov dword [edi + 0x2c], 0
add esp, 4
mov eax, esi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041d5b4
add esp, 4
mov dword [edi + 0x2c], eax
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
xor esi, esi
mov byte [ebp - 4], 2
mov ebx, dword [ebx + 0x38]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], esi
cmp dword [ebp - 0x20], esi
jbe 0x43de8f
nop
mov eax, dword [ebp - 0x10]
mov edx, dword [edi + 0x38]
shl esi, 2
mov dword [ebp - 0x3c], esi
mov ecx, dword [eax + 0x38]
mov dword [ebp - 0x30], 0
mov eax, dword [ecx + 8]
sub eax, dword [ebp - 0x28]
add eax, dword [ecx]
mov ecx, ebx
mov dword [esi + edx], eax
xor esi, esi
mov dword [ebp - 0x18], esi
call fcn.0043f4f0
mov edx, eax
mov dword [ebp - 0x14], edx
test edx, edx
je 0x43e029
cmp edx, 0x40
ja 0x43e029
mov dword [ebp - 0x38], esi
test edx, edx
je 0x43dc8d
nop
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 4]
cmp ecx, eax
jae 0x43e02e
mov edx, dword [ebx]
mov bl, byte [edx + ecx]
inc ecx
mov byte [ebp + 0xb], bl
mov ebx, dword [ebp - 0x2c]
mov dword [ebp - 0x44], ecx
mov dword [ebx + 8], ecx
mov bl, byte [ebp + 0xb]
test bl, 0xc0
jne 0x43e029
movzx ebx, bl
and ebx, 0xf
cmp ebx, 8
ja 0x43e029
sub eax, ecx
cmp ebx, eax
ja 0x43e02e
lea eax, [ecx + edx]
xorps xmm0, xmm0
movlpd qword [ebp - 0x58], xmm0
xor ecx, ecx
mov edi, dword [ebp - 0x54]
mov esi, dword [ebp - 0x58]
mov dword [ebp - 0x40], eax
test ebx, ebx
je 0x43db9a
nop
movzx eax, byte [ecx + eax]
inc ecx
shld edi, esi, 8
cdq
shl esi, 8
or edx, edi
or esi, eax
mov edi, edx
mov eax, dword [ebp - 0x40]
cmp ecx, ebx
jb 0x43db80
mov eax, dword [ebp - 0x44]
add eax, ebx
mov ebx, dword [ebp - 0x2c]
mov dword [ebx + 8], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x50], 0x80
jae 0x43dbbb
push edi
push esi
lea ecx, [eax + 0x4c]
call fcn.004038e0
mov dl, byte [ebp + 0xb]
mov eax, 1
test dl, 0x10
je 0x43dbf1
mov ecx, ebx
call fcn.0043f4f0
mov dword [ebp - 0x44], eax
cmp eax, 0x40
ja 0x43e029
mov ecx, ebx
call fcn.0043f4f0
cmp eax, 1
jne 0x43e029
mov eax, dword [ebp - 0x44]
mov dl, byte [ebp + 0xb]
mov ecx, dword [ebp - 0x18]
add ecx, eax
mov dword [ebp - 0x18], ecx
cmp ecx, 0x40
ja 0x43e029
test dl, 0x20
je 0x43dc75
mov ecx, ebx
call fcn.0043f4f0
mov ecx, dword [ebx + 4]
mov edx, eax
sub ecx, dword [ebx + 8]
cmp edx, ecx
ja 0x43e02e
cmp esi, 0x21
jne 0x43dc47
test edi, edi
jne 0x43dc47
cmp edx, 1
jne 0x43dc72
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x38]
mov ecx, dword [eax + 8]
mov eax, dword [eax]
mov cl, byte [ecx + eax]
mov eax, dword [ebp + 0xc]
cmp byte [eax + 0x44], cl
jae 0x43dc72
mov byte [eax + 0x44], cl
jmp 0x43dc72
cmp esi, 0x30101
jne 0x43dc72
test edi, edi
jne 0x43dc72
cmp edx, 5
jne 0x43dc72
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x38]
mov ecx, dword [eax + 8]
mov eax, dword [eax]
mov ecx, dword [ecx + eax + 1]
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x48], ecx
jae 0x43dc72
mov dword [eax + 0x48], ecx
add dword [ebx + 8], edx
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x38], eax
cmp eax, edx
jb 0x43db20
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp - 0x18]
cmp edx, 1
jne 0x43dca4
cmp esi, edx
jne 0x43dca4
mov dword [ebp - 0x30], 0
mov ecx, edx
jmp 0x43de46
lea eax, [edx - 1]
cmp esi, eax
jb 0x43e029
mov dword [ebp - 0x6c], 0
cmp esi, dword [ebp - 0x68]
jbe 0x43dcf6
cmp esi, 0x7fffffff
ja 0x43e033
push dword [ebp - 0x70]
call fcn.0041d479
add esp, 4
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x68], 0
push esi
call fcn.0041d5b4
mov edx, dword [ebp - 0x14]
mov edi, eax
add esp, 4
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x68], esi
jmp 0x43dcf9
mov edi, dword [ebp - 0x70]
mov dword [ebp - 0x6c], esi
test esi, esi
je 0x43dd15
mov ecx, esi
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [ebp - 0x14]
and ecx, 3
rep stosb byte es:[edi], al
mov dword [ebp - 0x60], 0
cmp edx, dword [ebp - 0x5c]
jbe 0x43dd5e
cmp edx, 0x7fffffff
ja 0x43e033
push dword [ebp - 0x64]
call fcn.0041d479
add esp, 4
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x5c], 0
push dword [ebp - 0x14]
call fcn.0041d5b4
mov edx, dword [ebp - 0x14]
mov esi, eax
add esp, 4
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x5c], edx
jmp 0x43dd61
mov esi, dword [ebp - 0x64]
mov dword [ebp - 0x60], edx
test edx, edx
je 0x43dd7d
mov ecx, edx
xor eax, eax
shr ecx, 2
mov edi, esi
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [ebp - 0x14]
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [edx - 1]
xor esi, esi
test eax, eax
je 0x43dde3
mov edi, dword [ebp - 0x18]
nop dword [eax]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x38]
call fcn.0043f4f0
cmp eax, edi
jae 0x43e029
mov ecx, dword [ebp - 0x70]
cmp byte [ecx + eax], 0
jne 0x43e029
mov byte [ecx + eax], 1
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x38]
call fcn.0043f4f0
mov edx, dword [ebp - 0x14]
cmp eax, edx
jae 0x43e029
mov ecx, dword [ebp - 0x64]
cmp byte [ecx + eax], 0
jne 0x43e029
mov byte [ecx + eax], 1
inc esi
lea eax, [edx - 1]
cmp esi, eax
jb 0x43dd90
mov edi, dword [ebp - 0x18]
sub edi, eax
mov dword [ebp + 8], edi
cmp edi, 1
je 0x43de1f
xor esi, esi
test edi, edi
je 0x43de1f
mov ecx, ebx
call fcn.0043f4f0
cmp eax, dword [ebp - 0x18]
jae 0x43e029
mov ecx, dword [ebp - 0x70]
cmp byte [ecx + eax], 0
jne 0x43e029
inc esi
mov byte [ecx + eax], 1
cmp esi, edi
jb 0x43ddf6
mov edx, dword [ebp - 0x14]
xor eax, eax
test edx, edx
je 0x43de38
mov ecx, dword [ebp - 0x64]
cmp byte [ecx + eax], 0
je 0x43de35
inc eax
cmp eax, edx
jb 0x43de28
jmp 0x43de38
mov dword [ebp - 0x30], eax
cmp eax, edx
je 0x43e029
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov eax, dword [edi + 0x2c]
mov ebx, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x1c]
mov dword [ebx + eax], esi
add esi, edx
mov eax, dword [edi + 0x30]
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x1c], esi
mov esi, ebx
mov ebx, dword [ebp - 0x2c]
mov dword [esi + eax], edx
mov eax, dword [edi]
sub eax, edx
cmp ecx, eax
ja 0x43e02e
mov esi, dword [ebp - 0x24]
add edx, ecx
mov eax, dword [edi + 0x34]
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x34], edx
mov byte [eax + esi], cl
inc esi
mov dword [ebp - 0x24], esi
cmp esi, dword [ebp - 0x20]
jb 0x43dad0
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebx + 0x38]
mov esi, dword [eax + 8]
sub esi, dword [ebp - 0x28]
add esi, dword [eax]
mov eax, dword [edi + 0x2c]
mov dword [eax + ecx*4], edx
mov eax, dword [edi + 0x30]
mov edx, dword [ebp - 0x34]
mov dword [eax + ecx*4], edx
mov ecx, dword [ebx + 0x38]
mov edx, dword [edi + 0x38]
mov eax, dword [ecx + 8]
sub eax, dword [ebp - 0x28]
add eax, dword [ecx]
mov ecx, dword [ebp - 0x24]
mov dword [edx + ecx*4], eax
cmp esi, dword [edi + 0x40]
je 0x43defc
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x43dee2
push eax
call fcn.0041d479
add esp, 4
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
test esi, esi
je 0x43df0f
push esi
call fcn.0041d5b4
add esp, 4
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], esi
test esi, esi
je 0x43df0f
push esi
push dword [ebp - 0x28]
push dword [edi + 0x3c]
call fcn.004292b0
add esp, 0xc
push dword [ebp - 0x64]
call fcn.0041d479
add esp, 4
push dword [ebp - 0x70]
call fcn.0041d479
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0x48], 0
je 0x43df66
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + 0x38]
mov ecx, dword [eax + 4]
sub ecx, dword [eax + 8]
je 0x43df44
mov byte [edx + 0x3c], 1
add dword [edx + 4], 0xffffffff
mov eax, dword [edx + 4]
je 0x43df66
cmp byte [ebp - 0x47], 0
lea eax, [eax + eax*2]
lea ecx, [edx - 4]
lea ecx, [ecx + eax*4]
mov dword [edx + 0x38], ecx
je 0x43df66
mov eax, dword [edx + eax*4 + 0x10]
add dword [ecx + 8], eax
push 0
push 0xc
mov ecx, ebx
call fcn.0043e3d0
push dword [edi + 0x28]
call fcn.0041d479
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
add esp, 4
mov dword [edi + 0x28], 0
mov edx, 8
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041d5b4
xor esi, esi
mov dword [edi + 0x28], eax
add esp, 4
cmp dword [ebp - 0x1c], esi
jbe 0x43dfc8
nop dword [eax]
mov ecx, dword [ebx + 0x38]
call fcn.0043ed30
mov ecx, dword [edi + 0x28]
mov dword [ecx + esi*8], eax
mov dword [ecx + esi*8 + 4], edx
inc esi
cmp esi, dword [ebp - 0x1c]
jb 0x43dfb0
mov ecx, dword [ebx + 0x38]
call fcn.0043ed30
mov esi, eax
mov ecx, esi
or ecx, edx
je 0x43e0f0
nop dword [eax]
cmp esi, 0xa
jne 0x43e0b2
test edx, edx
jne 0x43e0b2
mov edx, dword [ebx + 0x38]
lea esi, [edi + 0xc]
mov ebx, dword [edx + 8]
cmp ebx, dword [edx + 4]
jae 0x43e02e
mov eax, dword [edx]
mov cl, byte [ebx + eax]
lea eax, [ebx + 1]
mov dword [edx + 8], eax
test cl, cl
jne 0x43e048
mov ebx, dword [ebp - 0x10]
mov ecx, ebx
push esi
push dword [ebp - 0x20]
call fcn.0043cfd0
push esi
mov ecx, ebx
call fcn.0043e360
jmp 0x43e0de
call fcn.0043f130
call fcn.0043f160
push 0x457080
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0x7e5
push eax
call fcn.0041feb0
mov ebx, dword [ebp - 0x20]
mov dword [esi + 4], 0
cmp ebx, dword [esi + 8]
jbe 0x43e084
cmp ebx, 0x7fffffff
ja 0x43e033
push dword [esi]
call fcn.0041d479
add esp, 4
mov dword [esi], 0
mov dword [esi + 8], 0
push ebx
call fcn.0041d5b4
add esp, 4
mov dword [esi], eax
mov dword [esi + 8], ebx
mov dword [esi + 4], ebx
test ebx, ebx
je 0x43e0a5
mov edi, dword [esi]
mov ecx, ebx
mov edx, ecx
mov eax, 0x1010101
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp - 0x10]
mov ecx, ebx
push esi
call fcn.0043e360
jmp 0x43e0de
mov esi, dword [ebx + 0x38]
mov ecx, esi
call fcn.0043ed30
mov ecx, dword [esi + 4]
mov ebx, dword [esi + 8]
sub ecx, ebx
test edx, edx
ja 0x43e02e
jb 0x43e0d6
cmp eax, ecx
ja 0x43e02e
add eax, ebx
mov ebx, dword [ebp - 0x10]
mov dword [esi + 8], eax
mov ecx, dword [ebx + 0x38]
call fcn.0043ed30
mov esi, eax
or eax, edx
jne 0x43dfe0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8