Function at 0x4309f0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x56bb9a
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0xc8
push ebx
mov ebx, dword [esp + 0xe0]
push ebp
mov ebp, dword [eax + 8]
push esi
push edi
call fcn.004ce8c0
mov esi, eax
lea edi, [esi + 0x34]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, byte [esi + 0x30]
test al, al
push edi
je 0x430a41
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x431516
mov eax, dword [esi + 0x2c]
mov edx, dword [esi + 0x24]
mov esi, dword [esi + 0x1c]
xor eax, ebp
mov ecx, eax
shr ecx, 3
mov ecx, dword [edx + ecx*4]
xor ecx, dword [esi + eax*4]
mov dword [esp + 0x14], ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, byte [esp + 0x10]
test al, al
jne 0x431516
mov eax, dword [esp + 0xf0]
cmp eax, 0x11
ja case.default.0x430a7d
jmp dword [eax*4 + 0x431534]
push 0x61c
call fcn.0054bf29
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
mov dword [esp + 0xe0], 0
test esi, esi
je 0x430f53
push ebx
push esi
call fcn.00467250
mov dword [esi], vtable.OArmortankCharacter.0
jmp 0x430f55
push 0x61c
call fcn.0054bf29
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
mov dword [esp + 0xe0], 1
je 0x430aed
push ebx
push esi
call fcn.00467250
mov dword [esi], vtable.OMagetankCharacter.0
jmp 0x430aef
xor esi, esi
lea edi, [esi + 0x3f0]
xor al, al
mov dword [esp + 0xe0], 0xffffffff
mov ebp, esi
call fcn.00417e70
jmp 0x430f62
push 0x61c
call fcn.0054bf29
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
mov dword [esp + 0xe0], 2
je 0x430f53
push ebx
push esi
call fcn.00467250
mov dword [esi], vtable.ONaKtankCharacter.0
jmp 0x430f55
push 0x61c
call fcn.0054bf29
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
mov dword [esp + 0xe0], 3
je 0x430f53
push ebx
push esi
call fcn.00467250
mov dword [esi], vtable.OWoodtankCharacter.0
jmp 0x430f55
push 0x61c
call fcn.0054bf29
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
mov dword [esp + 0xe0], 4
je 0x430f53
push ebx
push esi
call fcn.00467250
mov dword [esi], vtable.OMultitankCharacter.0
jmp 0x430f55
push 0x61c
call fcn.0054bf29
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
mov dword [esp + 0xe0], 5
je 0x430f53
push ebx
push esi
call fcn.00467250
mov dword [esi], vtable.OBoomertankCharacter.0
jmp 0x430f55
push 0x61c
call fcn.0054bf29
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
mov dword [esp + 0xe0], 6
je 0x430f53
push ebx
push esi
call fcn.00467250
mov dword [esi], vtable.ORayontankCharacter.0
jmp 0x430f55
push 0x61c
call fcn.0054bf29
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
mov dword [esp + 0xe0], 7
je 0x430f53
push ebx
push esi
call fcn.00467250
mov dword [esi], vtable.OLightningtankCharacter.0
jmp 0x430f55
push 0x61c
call fcn.0054bf29
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
mov dword [esp + 0xe0], 8
je 0x430f53
push ebx
push esi
call fcn.00467250
mov dword [esi], vtable.OCrystaltankCharacter.0
jmp 0x430f55
push 0x61c
call fcn.0054bf29
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
mov dword [esp + 0xe0], 9
je 0x430cc7
push ebx
push esi
call fcn.00467250
mov dword [esi], vtable.OLaserCharacter.0
jmp 0x430cc9
xor esi, esi
mov al, byte [esp + 0x120]
test al, al
mov dword [esp + 0xe0], 0xffffffff
mov ebp, esi
je 0x430f62
mov esi, dword [esp + 0xfc]
test esi, esi
setne al
and ebx, 0x80000007
push eax
jns 0x430cff
dec ebx
or ebx, 0xfffffff8
inc ebx
mov edx, dword [esp + 0xf8]
mov ecx, dword [esp + 0xfc]
push ebx
add ecx, 0xffffff38
push edx
call fcn.004422a0
jmp 0x430f62
push 0x61c
call fcn.0054bf29
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
mov dword [esp + 0xe0], 0xa
je 0x430f53
push ebx
push esi
call fcn.00467250
mov dword [esi], vtable.OIcetankCharacter.0
jmp 0x430f55
push 0x61c
call fcn.0054bf29
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
mov dword [esp + 0xe0], 0xb
je 0x430f53
push ebx
push esi
call fcn.00467250
mov dword [esi], vtable.OTurtletankCharacter.0
jmp 0x430f55
push 0x61c
call fcn.0054bf29
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
mov dword [esp + 0xe0], 0xc
je 0x430f53
push ebx
push esi
call fcn.00467250
mov dword [esi], vtable.OGrubtankCharacter.0
jmp 0x430f55
push 0x61c
call fcn.0054bf29
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
mov dword [esp + 0xe0], 0xd
je 0x430df7
mov eax, ebx
call fcn.00477fb0
mov ebp, eax
jmp 0x430f57
xor eax, eax
mov ebp, eax
jmp 0x430f57
push 0x61c
call fcn.0054bf29
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
mov dword [esp + 0xe0], 0xe
je 0x430e31
push ebx
push esi
call fcn.00467250
mov dword [esi], vtable.OKnightCharacter.0
jmp 0x430e33
xor esi, esi
mov al, byte [esp + 0x120]
test al, al
mov dword [esp + 0xe0], 0xffffffff
mov ebp, esi
je 0x430f62
mov eax, dword [esp + 0xfc]
test eax, eax
setne al
mov ecx, ebx
and ecx, 0x80000007
push eax
jns 0x430e6b
dec ecx
or ecx, 0xfffffff8
inc ecx
mov edx, dword [esp + 0xfc]
mov eax, dword [esp + 0xf8]
add edx, 0xffffff38
push edx
push eax
call fcn.00442470
jmp 0x430f62
push 0x61c
call fcn.0054bf29
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
mov dword [esp + 0xe0], 0xf
je 0x430f53
push ebx
push esi
call fcn.00467250
mov dword [esi], vtable.OCyberNaKtankCharacter.0
jmp 0x430f55
push 0x61c
call fcn.0054bf29
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
mov dword [esp + 0xe0], 0x10
je 0x430f53
push ebx
push esi
call fcn.00467250
mov dword [esi], vtable.OBigFootMarkIICharacter.0
jmp 0x430f55
push 0x61c
call fcn.0054bf29
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
mov dword [esp + 0xe0], 0x11
je 0x430f53
push ebx
push esi
call fcn.00467250
mov dword [esi], vtable.OFrogCharacter.0
jmp 0x430f55
push 0x61c
mov dword [esp + 0xf4], 0
call fcn.0054bf29
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
mov dword [esp + 0xe0], 0x12
jmp 0x430aa2
xor esi, esi
mov ebp, esi
mov dword [esp + 0xe0], 0xffffffff
xor eax, eax
mov dword [ebp + 0x204], eax
mov dword [esp + 0x10], eax
lea edi, [ebp + 0x448]
mov ebx, 4
lea esp, [esp]
mov edx, dword [edi]
push 1
lea ecx, [esp + 0x14]
push ecx
push edx
call fcn.004ce8c0
mov esi, eax
call fcn.0040aeb0
add edi, 8
dec ebx
jne 0x430f80
mov edx, dword [ebp + 0xe4]
mov eax, dword [esp + 0xf0]
push 1
lea ecx, [esp + 0x14]
push ecx
push edx
mov dword [esp + 0x1c], eax
call fcn.004ce8c0
mov esi, eax
call fcn.0040aeb0
mov edx, dword [ebp + 0xa4]
mov eax, dword [esp + 0xf4]
push 1
lea ecx, [esp + 0x14]
push ecx
push edx
mov dword [esp + 0x1c], eax
call fcn.004ce8c0
mov esi, eax
call fcn.0040aeb0
mov ebx, dword [ebp + 0xa4]
call fcn.004ce8c0
mov esi, eax
lea edi, [esi + 0x34]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, byte [esi + 0x30]
test al, al
push edi
je 0x43100c
mov esi, 1
jmp 0x431022
mov eax, dword [esi + 0x2c]
mov edx, dword [esi + 0x24]
xor eax, ebx
mov ebx, dword [esi + 0x1c]
mov ecx, eax
shr ecx, 3
mov esi, dword [edx + ecx*4]
xor esi, dword [ebx + eax*4]
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call ebx
mov ecx, dword [ebp + 0xd4]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], esi
call fcn.004ce8c0
mov esi, eax
call fcn.0040aeb0
mov ecx, dword [ebp + 0xac]
mov edx, dword [esp + 0xf8]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.004ce8c0
mov esi, eax
call fcn.0040aeb0
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.004ce8c0
mov esi, eax
call fcn.0040aeb0
mov edx, dword [ebp + 0xac]
mov dword [esp + 0x10], edx
call fcn.004ce8c0
mov esi, eax
lea edi, [esi + 0x34]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, byte [esi + 0x30]
test al, al
push edi
je 0x4310bd
mov esi, 1
jmp 0x4310df
mov eax, dword [esi + 0x2c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0x24]
mov esi, dword [esi + 0x1c]
xor eax, ecx
mov ecx, eax
shr ecx, 3
mov dword [esp + 0x14], esi
mov esi, dword [edx + ecx*4]
mov ecx, dword [esp + 0x14]
xor esi, dword [ecx + eax*4]
call ebx
mov eax, dword [ebp + 0xdc]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], esi
call fcn.004ce8c0
mov esi, eax
call fcn.0040aeb0
mov eax, dword [esp + 0xf0]
mov ecx, dword [esp + 0x118]
mov edx, dword [esp + 0x11c]
mov ebx, dword [0x887734]
add eax, 0x1388
mov dword [ebp + 0x18], eax
add eax, 0x64
mov dword [ebp + 0x94], eax
mov eax, dword [esp + 0xfc]
mov dword [ebp + 0x3a4], ecx
mov ecx, dword [esp + 0x100]
mov dword [ebp + 0x3a8], edx
mov edx, dword [esp + 0x104]
mov dword [ebp + 0x3a0], eax
mov eax, dword [esp + 0x108]
mov dword [ebp + 0x3ac], ecx
mov cx, word [esp + 0x10c]
push str.avata
add ebx, 0x4f0cc
mov dword [ebp + 0x3b0], edx
mov dword [ebp + 0x3b4], eax
mov word [ebp + 0x3b8], cx
call fcn.00403040
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 + 0x120]
push 1
lea ecx, [esp + 0x18]
push ecx
push edx
mov byte [esp + 0x20], al
call fcn.004ce8c0
mov esi, eax
call fcn.0040aeb0
mov ecx, dword [ebp + 0xf4]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], 0
call fcn.004ce8c0
mov esi, eax
call fcn.0040aeb0
mov edx, dword [0x887734]
mov ebx, dword [edx + 0x1a678]
call fcn.004ce8c0
mov esi, eax
lea edi, [esi + 0x34]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, byte [esi + 0x30]
test al, al
push edi
je 0x43120e
mov esi, 1
jmp 0x431224
mov eax, dword [esi + 0x2c]
mov edx, dword [esi + 0x24]
xor eax, ebx
mov ebx, dword [esi + 0x1c]
mov ecx, eax
shr ecx, 3
mov esi, dword [edx + ecx*4]
xor esi, dword [ebx + eax*4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0xec]
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.004ce8c0
mov esi, eax
call fcn.0040aeb0
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x110]
lea edx, [esp + 0x18]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x431283
mov edx, dword [ebp + 0x390]
mov ecx, 8
lea esi, [esp + 0x18]
lea edi, [esp + 0x38]
rep movsd dword es:[edi], dword [esi]
push 8
lea ecx, [esp + 0x3c]
push ecx
push edx
call fcn.004ce8c0
mov esi, eax
call fcn.0040aeb0
mov eax, dword [esp + 0x114]
mov ecx, ebp
sub ecx, eax
lea edx, [ecx + 0x394]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4312c7
mov esi, dword [esp + 0xf0]
lea edx, [esi + 1]
push edx
lea eax, [esp + 0x5c]
push str.tank_d
push eax
call fcn.00553270
mov ebx, dword [0x887734]
add esp, 0xc
lea ecx, [esp + 0x58]
push ecx
add ebx, 0x4f0cc
call fcn.00403040
mov bl, byte [esp + 0x120]
test bl, bl
mov dword [ebp + 0x1c], eax
mov ecx, ebp
je 0x431321
mov edx, dword [ebp]
push str.normal
call dword [edx + 4]
jmp 0x43132c
mov eax, dword [ebp]
push str.tnormal
call dword [eax + 4]
mov ecx, dword [0x887734]
push esi
push ebp
push ecx
call fcn.00422170
test bl, bl
jne 0x431504
mov ebx, dword [ebp + 0x218]
call fcn.004ce8c0
mov esi, eax
lea edi, [esi + 0x34]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, byte [esi + 0x30]
test al, al
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
je 0x43136e
mov esi, 1
jmp 0x431384
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x24]
xor eax, ebx
mov ebx, dword [esi + 0x1c]
mov edx, eax
shr edx, 3
mov esi, dword [ecx + edx*4]
xor esi, dword [ebx + eax*4]
call edi
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 + 0x220]
push edx
push eax
call fcn.004ce8c0
mov esi, eax
call fcn.0040aeb0
mov ecx, dword [ebp + 0x230]
mov dword [esp + 0x10], ecx
call fcn.004ce8c0
mov esi, eax
lea ebx, [esi + 0x34]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, byte [esi + 0x30]
test al, al
push ebx
je 0x4313d5
mov esi, 1
jmp 0x4313f7
mov eax, dword [esi + 0x2c]
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 0x24]
mov esi, dword [esi + 0x1c]
xor eax, edx
mov edx, eax
shr edx, 3
mov dword [esp + 0x14], esi
mov esi, dword [ecx + edx*4]
mov edx, dword [esp + 0x14]
xor esi, dword [edx + eax*4]
call edi
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.004ce8c0
mov esi, eax
call fcn.0040aeb0
mov edx, dword [ebp + 0x228]
mov dword [esp + 0x10], edx
call fcn.004ce8c0
mov esi, eax
lea ebx, [esi + 0x34]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, byte [esi + 0x30]
test al, al
push ebx
je 0x431448
mov esi, 1
jmp 0x43146a
mov eax, dword [esi + 0x2c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0x24]
mov esi, dword [esi + 0x1c]
xor eax, ecx
mov ecx, eax
shr ecx, 3
mov dword [esp + 0x14], esi
mov esi, dword [edx + ecx*4]
mov ecx, dword [esp + 0x14]
xor esi, dword [ecx + eax*4]
call edi
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.004ce8c0
mov esi, eax
call fcn.0040aeb0
mov ecx, dword [ebp + 0x240]
mov dword [esp + 0x10], ecx
call fcn.004ce8c0
mov esi, eax
lea ebx, [esi + 0x34]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, byte [esi + 0x30]
test al, al
push ebx
je 0x4314bb
mov esi, 1
jmp 0x4314dd
mov eax, dword [esi + 0x2c]
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 0x24]
mov esi, dword [esi + 0x1c]
xor eax, edx
mov edx, eax
shr edx, 3
mov dword [esp + 0x14], esi
mov esi, dword [ecx + edx*4]
mov edx, dword [esp + 0x14]
xor esi, dword [edx + eax*4]
call edi
mov ecx, dword [ebp + 0x240]
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.004ce8c0
mov esi, eax
call fcn.0040aeb0
mov ecx, dword [0x887734]
push ebp
add ecx, 0x77398
call fcn.005306b0
mov ecx, dword [esp + 0xd8]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xd4
ret 0x3c