Function at 0x43a9e0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x546dc8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b2920]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x68]
mov ecx, dword [ebp + 0x14]
mov esi, dword [esp + 0x64]
mov edx, dword [esi + 0x10]
mov eax, dword [ebp + 0x10]
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x40]
push ecx
xor edi, edi
mov dword [esp + 0x4c], edx
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x14]
push ebx
lea edx, [esp + 0x38]
push edx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x58], eax
call dword [sym.imp.USER32.dll_IntersectRect]
cmp dword [esi + 0x34], edi
je 0x43adb4
movzx eax, word [esi + 0x1a]
cmp ax, 0x18
jb 0x43adb4
cmp dword [ebp + 0x34], edi
je 0x43adb4
movzx eax, word [ebp + 0x1a]
cmp ax, 0x20
jne 0x43adb4
mov ebp, dword [esp + 0x70]
mov eax, ebp
lea ecx, [esp + 0x20]
call fcn.0043add0
test al, al
je 0x43adb4
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x43adb4
mov eax, 0x64
cmp dword [esp + 0x74], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], edi
lea eax, [esp + 0x74]
jl 0x43aac5
lea eax, [esp + 0x1c]
cmp dword [eax], edi
jg 0x43aacd
lea eax, [esp + 0x14]
mov ecx, dword [eax]
movzx eax, word [esi + 0x1a]
mov edx, dword [ebx + 8]
mov esi, dword [ebp + 8]
movzx eax, ax
shr eax, 3
mov dword [esp + 0x74], ecx
mov ecx, dword [ebx]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp]
sub edx, ecx
sub esi, eax
cmp edx, esi
jne 0x43abd0
mov edx, dword [ebp + 0xc]
mov esi, dword [ebx + 0xc]
sub edx, dword [ebp + 4]
sub esi, dword [ebx + 4]
cmp esi, edx
jne 0x43abd0
mov ebx, dword [esp + 0x30]
sub eax, ecx
add eax, ebx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x34]
cmp eax, dword [esp + 0x3c]
mov dword [esp + 0x14], eax
jge 0x43adb4
jmp 0x43ab34
mov ebp, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
mov esi, dword [ebp + 4]
sub esi, dword [eax + 4]
mov edx, dword [esp + 0x20]
add esi, dword [esp + 0x14]
mov eax, dword [esp + 0x68]
call fcn.00432530
mov esi, dword [esp + 0x14]
mov edi, eax
mov eax, dword [esp + 0x64]
mov edx, ebx
call fcn.00432530
cmp ebx, dword [esp + 0x38]
mov ebp, eax
mov esi, ebx
jge 0x43abb6
lea ebx, [ebx]
mov eax, dword [esp + 0x74]
cmp eax, 0x64
jne 0x43ab7f
movzx eax, byte [edi + 3]
jmp 0x43ab97
movzx ecx, byte [edi + 3]
imul ecx, eax
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
push edi
mov ecx, ebp
call fcn.0043ae40
add ebp, dword [esp + 0x20]
add esi, 1
add esp, 4
add edi, 4
cmp esi, dword [esp + 0x38]
jl 0x43ab70
mov ebx, dword [esp + 0x30]
mov eax, dword [esp + 0x14]
add eax, 1
cmp eax, dword [esp + 0x3c]
mov dword [esp + 0x14], eax
jl 0x43ab30
jmp 0x43adb4
mov edi, dword [esp + 0x38]
sub edi, dword [esp + 0x30]
lea esi, [esp + 0x14]
call fcn.0043ae00
mov dword [esp + 0x5c], 0
mov edi, dword [esp + 0x3c]
sub edi, dword [esp + 0x34]
lea esi, [esp + 0x20]
call fcn.0043ae00
mov eax, dword [esp + 0x34]
cmp eax, dword [esp + 0x3c]
mov ecx, eax
jge 0x43ac3c
mov esi, dword [ebp + 4]
mov edx, dword [ebx + 4]
mov edi, dword [ebp + 0xc]
sub edi, esi
mov eax, ecx
sub eax, edx
imul eax, edi
mov edi, dword [ebx + 0xc]
sub edi, edx
cdq
idiv edi
mov edx, ecx
sub edx, dword [esp + 0x34]
add ecx, 1
add eax, esi
mov esi, dword [esp + 0x20]
mov dword [esi + edx*4], eax
cmp ecx, dword [esp + 0x3c]
jl 0x43ac06
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
cmp ecx, dword [esp + 0x38]
mov esi, ecx
jge 0x43ac80
mov edi, dword [ebx]
mov edx, dword [ebp]
mov eax, esi
sub eax, edi
mov edi, dword [ebp + 8]
sub edi, edx
imul eax, edi
mov edi, dword [ebx + 8]
sub edi, dword [ebx]
cdq
idiv edi
mov edx, esi
sub edx, ecx
mov ecx, dword [esp + 0x14]
add esi, 1
add eax, dword [ebp]
mov dword [ecx + edx*4], eax
cmp esi, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
jl 0x43ac48
mov eax, dword [esp + 0x34]
cmp eax, dword [esp + 0x3c]
mov esi, eax
mov dword [esp + 0x70], eax
jge 0x43ad92
mov edi, dword [esp + 0x64]
movzx eax, word [edi + 0x1a]
cmp ax, 0x20
jne 0x43aca9
mov edx, dword [edi + 0x38]
mov eax, dword [edx + esi*4]
lea ebp, [eax + ecx*4]
jmp 0x43acd0
cmp ax, 8
jne 0x43acb9
mov edx, dword [edi + 0x38]
mov ebp, dword [edx + esi*4]
add ebp, ecx
jmp 0x43acd0
movzx eax, ax
imul eax, ecx
cdq
and edx, 7
add eax, edx
mov ebp, eax
mov eax, dword [edi + 0x38]
sar ebp, 3
add ebp, dword [eax + esi*4]
cmp ecx, dword [esp + 0x38]
mov edi, ecx
jge 0x43ad81
lea esp, [esp]
sub esi, dword [esp + 0x34]
mov edx, dword [esp + 0x20]
mov esi, dword [edx + esi*4]
mov ebx, dword [esp + 0x68]
mov eax, edi
sub eax, ecx
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + eax*4]
movzx eax, word [ebx + 0x1a]
cmp ax, 0x20
jne 0x43ad0f
mov eax, dword [ebx + 0x38]
mov ecx, dword [eax + esi*4]
lea ecx, [ecx + edx*4]
jmp 0x43ad36
cmp ax, 8
jne 0x43ad1f
mov eax, dword [ebx + 0x38]
mov ecx, dword [eax + esi*4]
add ecx, edx
jmp 0x43ad36
movzx eax, ax
imul eax, edx
cdq
and edx, 7
add eax, edx
mov edx, dword [ebx + 0x38]
mov ecx, eax
sar ecx, 3
add ecx, dword [edx + esi*4]
mov eax, dword [esp + 0x74]
cmp eax, 0x64
jne 0x43ad45
movzx eax, byte [ecx + 3]
jmp 0x43ad5d
movzx edx, byte [ecx + 3]
imul edx, eax
mov eax, 0x51eb851f
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
push ecx
mov ecx, ebp
call fcn.0043ae40
add ebp, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
mov esi, dword [esp + 0x74]
add edi, 1
add esp, 4
cmp edi, dword [esp + 0x38]
jl 0x43ace0
add esi, 1
cmp esi, dword [esp + 0x3c]
mov dword [esp + 0x70], esi
jl 0x43ac90
mov eax, dword [esp + 0x20]
test eax, eax
je 0x43ada3
push eax
call fcn.004e946d
add esp, 4
mov eax, dword [esp + 0x14]
test eax, eax
je 0x43adb4
push eax
call fcn.004e946d
add esp, 4
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 0x14