Function at 0x42edd0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x56155a
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x88
push ebx
mov ebx, dword [esp + 0xa0]
push ebp
mov ebp, dword [eax + 8]
push esi
push edi
call fcn.004c7160
mov esi, eax
lea edi, [esi + 0x30]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, byte [esi + 0x2c]
test al, al
push edi
je 0x42ee21
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x42f854
mov edx, dword [esi + 0x24]
mov esi, dword [esi + 0x1c]
mov ecx, ebp
shr ecx, 3
mov eax, dword [edx + ecx*4]
xor eax, dword [esi + ebp*4]
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, byte [esp + 0x10]
test al, al
jne 0x42f854
mov eax, dword [esp + 0xb0]
cmp eax, 0x11
ja case.default.0x42ee58
jmp dword [eax*4 + 0x42f870]
push 0x61c
call fcn.00541c89
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
mov dword [esp + 0xa0], 0
test esi, esi
je 0x42f32e
push ebx
push esi
call fcn.004608a0
mov dword [esi], vtable.OArmortankCharacter.0
jmp 0x42f330
push 0x61c
call fcn.00541c89
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
mov dword [esp + 0xa0], 1
je 0x42eec8
push ebx
push esi
call fcn.004608a0
mov dword [esi], vtable.OMagetankCharacter.0
jmp 0x42eeca
xor esi, esi
lea edi, [esi + 0x3f0]
xor al, al
mov dword [esp + 0xa0], 0xffffffff
mov ebp, esi
call fcn.00416f20
jmp 0x42f33d
push 0x61c
call fcn.00541c89
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
mov dword [esp + 0xa0], 2
je 0x42f32e
push ebx
push esi
call fcn.004608a0
mov dword [esi], vtable.ONaKtankCharacter.0
jmp 0x42f330
push 0x61c
call fcn.00541c89
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
mov dword [esp + 0xa0], 3
je 0x42f32e
push ebx
push esi
call fcn.004608a0
mov dword [esi], vtable.OWoodtankCharacter.0
jmp 0x42f330
push 0x61c
call fcn.00541c89
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
mov dword [esp + 0xa0], 4
je 0x42f32e
push ebx
push esi
call fcn.004608a0
mov dword [esi], vtable.OMultitankCharacter.0
jmp 0x42f330
push 0x61c
call fcn.00541c89
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
mov dword [esp + 0xa0], 5
je 0x42f32e
push ebx
push esi
call fcn.004608a0
mov dword [esi], vtable.OBoomertankCharacter.0
jmp 0x42f330
push 0x61c
call fcn.00541c89
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
mov dword [esp + 0xa0], 6
je 0x42f32e
push ebx
push esi
call fcn.004608a0
mov dword [esi], vtable.ORayontankCharacter.0
jmp 0x42f330
push 0x61c
call fcn.00541c89
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
mov dword [esp + 0xa0], 7
je 0x42f32e
push ebx
push esi
call fcn.004608a0
mov dword [esi], vtable.OLightningtankCharacter.0
jmp 0x42f330
push 0x61c
call fcn.00541c89
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
mov dword [esp + 0xa0], 8
je 0x42f32e
push ebx
push esi
call fcn.004608a0
mov dword [esi], vtable.OCrystaltankCharacter.0
jmp 0x42f330
push 0x61c
call fcn.00541c89
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
mov dword [esp + 0xa0], 9
je 0x42f0a2
push ebx
push esi
call fcn.004608a0
mov dword [esi], vtable.OLaserCharacter.0
jmp 0x42f0a4
xor esi, esi
mov al, byte [esp + 0xe0]
test al, al
mov dword [esp + 0xa0], 0xffffffff
mov ebp, esi
je 0x42f33d
mov esi, dword [esp + 0xbc]
test esi, esi
setne al
and ebx, 0x80000007
push eax
jns 0x42f0da
dec ebx
or ebx, 0xfffffff8
inc ebx
mov edx, dword [esp + 0xb8]
mov ecx, dword [esp + 0xbc]
push ebx
add ecx, 0xffffff38
push edx
call fcn.0043ffb0
jmp 0x42f33d
push 0x61c
call fcn.00541c89
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
mov dword [esp + 0xa0], 0xa
je 0x42f32e
push ebx
push esi
call fcn.004608a0
mov dword [esi], vtable.OIcetankCharacter.0
jmp 0x42f330
push 0x61c
call fcn.00541c89
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
mov dword [esp + 0xa0], 0xb
je 0x42f32e
push ebx
push esi
call fcn.004608a0
mov dword [esi], vtable.OTurtletankCharacter.0
jmp 0x42f330
push 0x61c
call fcn.00541c89
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
mov dword [esp + 0xa0], 0xc
je 0x42f32e
push ebx
push esi
call fcn.004608a0
mov dword [esi], vtable.OGrubtankCharacter.0
jmp 0x42f330
push 0x61c
call fcn.00541c89
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
mov dword [esp + 0xa0], 0xd
je 0x42f1d2
mov eax, ebx
call fcn.00471420
mov ebp, eax
jmp 0x42f332
xor eax, eax
mov ebp, eax
jmp 0x42f332
push 0x61c
call fcn.00541c89
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
mov dword [esp + 0xa0], 0xe
je 0x42f20c
push ebx
push esi
call fcn.004608a0
mov dword [esi], vtable.OKnightCharacter.0
jmp 0x42f20e
xor esi, esi
mov al, byte [esp + 0xe0]
test al, al
mov dword [esp + 0xa0], 0xffffffff
mov ebp, esi
je 0x42f33d
mov eax, dword [esp + 0xbc]
test eax, eax
setne al
mov ecx, ebx
and ecx, 0x80000007
push eax
jns 0x42f246
dec ecx
or ecx, 0xfffffff8
inc ecx
mov edx, dword [esp + 0xbc]
mov eax, dword [esp + 0xb8]
add edx, 0xffffff38
push edx
push eax
call fcn.00440170
jmp 0x42f33d
push 0x61c
call fcn.00541c89
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
mov dword [esp + 0xa0], 0xf
je 0x42f32e
push ebx
push esi
call fcn.004608a0
mov dword [esi], vtable.OCyberNaKtankCharacter.0
jmp 0x42f330
push 0x61c
call fcn.00541c89
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
mov dword [esp + 0xa0], 0x10
je 0x42f32e
push ebx
push esi
call fcn.004608a0
mov dword [esi], vtable.OBigFootMarkIICharacter.0
jmp 0x42f330
push 0x61c
call fcn.00541c89
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
mov dword [esp + 0xa0], 0x11
je 0x42f32e
push ebx
push esi
call fcn.004608a0
mov dword [esi], vtable.OFrogCharacter.0
jmp 0x42f330
push 0x61c
mov dword [esp + 0xb4], 0
call fcn.00541c89
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
mov dword [esp + 0xa0], 0x12
jmp 0x42ee7d
xor esi, esi
mov ebp, esi
mov dword [esp + 0xa0], 0xffffffff
xor eax, eax
mov dword [ebp + 0x204], eax
mov dword [esp + 0x10], eax
lea edi, [ebp + 0x448]
mov ebx, 4
mov edx, dword [edi]
push 1
lea ecx, [esp + 0x14]
push ecx
push edx
call fcn.004c7160
mov esi, eax
call fcn.0040ad80
add edi, 8
dec ebx
jne 0x42f354
mov edx, dword [ebp + 0xe4]
mov eax, dword [esp + 0xb0]
push 1
lea ecx, [esp + 0x14]
push ecx
push edx
mov dword [esp + 0x1c], eax
call fcn.004c7160
mov esi, eax
call fcn.0040ad80
mov edx, dword [ebp + 0xa4]
mov eax, dword [esp + 0xb4]
push 1
lea ecx, [esp + 0x14]
push ecx
push edx
mov dword [esp + 0x1c], eax
call fcn.004c7160
mov esi, eax
call fcn.0040ad80
mov ebx, dword [ebp + 0xa4]
call fcn.004c7160
mov esi, eax
lea edi, [esi + 0x30]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, byte [esi + 0x2c]
test al, al
push edi
je 0x42f3e0
mov esi, 1
jmp 0x42f3f1
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x1c]
mov eax, ebx
shr eax, 3
mov esi, dword [ecx + eax*4]
xor esi, dword [edx + ebx*4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp + 0xd4]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], esi
call fcn.004c7160
mov esi, eax
call fcn.0040ad80
mov ecx, dword [ebp + 0xac]
mov edx, dword [esp + 0xb8]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004c7160
mov esi, eax
call fcn.0040ad80
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x14]
mov ecx, dword [ebp + 0xac]
mov dword [esp + 0x10], eax
push 1
lea eax, [esp + 0x14]
push eax
push ecx
call fcn.004c7160
mov esi, eax
call fcn.0040ad80
mov ebx, dword [ebp + 0xac]
call fcn.004c7160
mov esi, eax
lea edi, [esi + 0x30]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, byte [esi + 0x2c]
test al, al
push edi
je 0x42f486
mov esi, 1
jmp 0x42f497
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x1c]
mov edx, ebx
shr edx, 3
mov esi, dword [eax + edx*4]
xor esi, dword [ecx + ebx*4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp + 0xdc]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], esi
call fcn.004c7160
mov esi, eax
call fcn.0040ad80
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0xd8]
mov edx, dword [esp + 0xdc]
mov ebx, dword [0x87b40c]
add eax, 0x1388
mov dword [ebp + 0x18], eax
add eax, 0x64
mov dword [ebp + 0x94], eax
mov eax, dword [esp + 0xbc]
mov dword [ebp + 0x3a4], ecx
mov ecx, dword [esp + 0xc0]
mov dword [ebp + 0x3a8], edx
mov edx, dword [esp + 0xc4]
mov dword [ebp + 0x3a0], eax
mov eax, dword [esp + 0xc8]
mov dword [ebp + 0x3ac], ecx
mov cx, word [esp + 0xcc]
push str.avata
add ebx, 0x4eeac
mov dword [ebp + 0x3b0], edx
mov dword [ebp + 0x3b4], eax
mov word [ebp + 0x3b8], cx
call fcn.00403020
mov edx, dword [ebp + 0x38]
lea ecx, [ebp + 0x38]
push str.normal
mov dword [ebp + 0x54], eax
call dword [edx + 4]
mov edx, dword [ebp + 0x9c]
mov al, byte [esp + 0xe0]
push 1
lea ecx, [esp + 0x18]
push ecx
push edx
mov byte [esp + 0x20], al
call fcn.004c7160
mov esi, eax
call fcn.0040ad80
mov ecx, dword [ebp + 0xf4]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], 0
call fcn.004c7160
mov esi, eax
call fcn.0040ad80
mov edx, dword [0x87b40c]
mov edi, dword [edx + 0x1a638]
call fcn.004c7160
mov esi, eax
lea ebx, [esi + 0x30]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, byte [esi + 0x2c]
test al, al
push ebx
je 0x42f5ca
mov esi, 1
jmp 0x42f5db
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x1c]
mov eax, edi
shr eax, 3
mov esi, dword [ecx + eax*4]
xor esi, dword [edx + edi*4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0xac]
mov edx, dword [ebp + 0xec]
push 1
lea ecx, [esp + 0x18]
cmp esi, eax
push ecx
sete al
push edx
mov byte [esp + 0x20], al
call fcn.004c7160
mov esi, eax
call fcn.0040ad80
mov eax, dword [esp + 0xd0]
mov ecx, ebp
sub ecx, eax
lea edx, [ecx + 0x389]
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x42f620
mov eax, dword [esp + 0xd4]
mov edx, ebp
sub edx, eax
add edx, 0x396
jmp 0x42f640
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x42f640
mov esi, dword [esp + 0xb0]
lea eax, [esi + 1]
push eax
lea ecx, [esp + 0x1c]
push str.tank_d
push ecx
call fcn.00548ff0
mov ebx, dword [0x87b40c]
add esp, 0xc
lea edx, [esp + 0x18]
push edx
add ebx, 0x4eeac
call fcn.00403020
mov bl, byte [esp + 0xe0]
test bl, bl
mov dword [ebp + 0x1c], eax
mov ecx, ebp
je 0x42f69a
mov eax, dword [ebp]
push str.normal
call dword [eax + 4]
jmp 0x42f6a5
mov edx, dword [ebp]
push str.tnormal
call dword [edx + 4]
mov eax, dword [0x87b40c]
push esi
push ebp
push eax
call fcn.00420ee0
test bl, bl
jne 0x42f842
mov edi, dword [ebp + 0x218]
call fcn.004c7160
mov esi, eax
lea ebx, [esi + 0x30]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, byte [esi + 0x2c]
test al, al
push ebx
je 0x42f6e0
mov esi, 1
jmp 0x42f6f1
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x1c]
mov ecx, edi
shr ecx, 3
mov esi, dword [edx + ecx*4]
xor esi, dword [eax + edi*4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
cdq
sub eax, edx
mov edx, dword [ebp + 0x220]
push 1
lea ecx, [esp + 0x14]
push ecx
sar eax, 1
push edx
mov dword [esp + 0x1c], eax
call fcn.004c7160
mov esi, eax
call fcn.0040ad80
mov edi, dword [ebp + 0x230]
call fcn.004c7160
mov esi, eax
lea ebx, [esi + 0x30]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, byte [esi + 0x2c]
test al, al
push ebx
je 0x42f742
mov esi, 1
jmp 0x42f753
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x1c]
mov eax, edi
shr eax, 3
mov esi, dword [ecx + eax*4]
xor esi, dword [edx + edi*4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp + 0x238]
mov eax, esi
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x10], eax
push 1
lea eax, [esp + 0x14]
push eax
push ecx
call fcn.004c7160
mov esi, eax
call fcn.0040ad80
mov edi, dword [ebp + 0x228]
call fcn.004c7160
mov esi, eax
lea ebx, [esi + 0x30]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, byte [esi + 0x2c]
test al, al
push ebx
je 0x42f7a4
mov esi, 1
jmp 0x42f7b5
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x1c]
mov edx, edi
shr edx, 3
mov esi, dword [eax + edx*4]
xor esi, dword [ecx + edi*4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
cdq
sub eax, edx
sar eax, 1
push 1
lea edx, [esp + 0x14]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x228]
push edx
push eax
call fcn.004c7160
mov esi, eax
call fcn.0040ad80
mov edi, dword [ebp + 0x240]
call fcn.004c7160
mov esi, eax
lea ebx, [esi + 0x30]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, byte [esi + 0x2c]
test al, al
push ebx
je 0x42f806
mov esi, 1
jmp 0x42f817
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x1c]
mov ecx, edi
shr ecx, 3
mov esi, dword [edx + ecx*4]
xor esi, dword [eax + edi*4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
cdq
sub eax, edx
mov edx, dword [ebp + 0x240]
push 1
lea ecx, [esp + 0x14]
push ecx
sar eax, 1
push edx
mov dword [esp + 0x1c], eax
call fcn.004c7160
mov esi, eax
call fcn.0040ad80
mov ecx, dword [0x87b40c]
push ebp
add ecx, 0x77178
call fcn.00527a20
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x94
ret 0x3c