Function at 0x430430
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x5690ba
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.004cc430
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 0x430481
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x430f57
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 0x430f57
mov eax, dword [esp + 0xf0]
cmp eax, 0x11
ja case.default.0x4304bd
jmp dword [eax*4 + 0x430f74]
push 0x61c
call fcn.005493ed
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
mov dword [esp + 0xe0], 0
test esi, esi
je 0x430993
push ebx
push esi
call fcn.00467330
mov dword [esi], vtable.OArmortankCharacter.0
jmp 0x430995
push 0x61c
call fcn.005493ed
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
mov dword [esp + 0xe0], 1
je 0x43052d
push ebx
push esi
call fcn.00467330
mov dword [esi], vtable.OMagetankCharacter.0
jmp 0x43052f
xor esi, esi
lea edi, [esi + 0x3f0]
xor al, al
mov dword [esp + 0xe0], 0xffffffff
mov ebp, esi
call fcn.00417d50
jmp 0x4309a2
push 0x61c
call fcn.005493ed
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
mov dword [esp + 0xe0], 2
je 0x430993
push ebx
push esi
call fcn.00467330
mov dword [esi], vtable.ONaKtankCharacter.0
jmp 0x430995
push 0x61c
call fcn.005493ed
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
mov dword [esp + 0xe0], 3
je 0x430993
push ebx
push esi
call fcn.00467330
mov dword [esi], vtable.OWoodtankCharacter.0
jmp 0x430995
push 0x61c
call fcn.005493ed
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
mov dword [esp + 0xe0], 4
je 0x430993
push ebx
push esi
call fcn.00467330
mov dword [esi], vtable.OMultitankCharacter.0
jmp 0x430995
push 0x61c
call fcn.005493ed
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
mov dword [esp + 0xe0], 5
je 0x430993
push ebx
push esi
call fcn.00467330
mov dword [esi], vtable.OBoomertankCharacter.0
jmp 0x430995
push 0x61c
call fcn.005493ed
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
mov dword [esp + 0xe0], 6
je 0x430993
push ebx
push esi
call fcn.00467330
mov dword [esi], vtable.ORayontankCharacter.0
jmp 0x430995
push 0x61c
call fcn.005493ed
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
mov dword [esp + 0xe0], 7
je 0x430993
push ebx
push esi
call fcn.00467330
mov dword [esi], vtable.OLightningtankCharacter.0
jmp 0x430995
push 0x61c
call fcn.005493ed
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
mov dword [esp + 0xe0], 8
je 0x430993
push ebx
push esi
call fcn.00467330
mov dword [esi], vtable.OCrystaltankCharacter.0
jmp 0x430995
push 0x61c
call fcn.005493ed
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
mov dword [esp + 0xe0], 9
je 0x430707
push ebx
push esi
call fcn.00467330
mov dword [esi], vtable.OLaserCharacter.0
jmp 0x430709
xor esi, esi
mov al, byte [esp + 0x120]
test al, al
mov dword [esp + 0xe0], 0xffffffff
mov ebp, esi
je 0x4309a2
mov esi, dword [esp + 0xfc]
test esi, esi
setne al
and ebx, 0x80000007
push eax
jns 0x43073f
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.00441ce0
jmp 0x4309a2
push 0x61c
call fcn.005493ed
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
mov dword [esp + 0xe0], 0xa
je 0x430993
push ebx
push esi
call fcn.00467330
mov dword [esi], vtable.OIcetankCharacter.0
jmp 0x430995
push 0x61c
call fcn.005493ed
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
mov dword [esp + 0xe0], 0xb
je 0x430993
push ebx
push esi
call fcn.00467330
mov dword [esi], vtable.OTurtletankCharacter.0
jmp 0x430995
push 0x61c
call fcn.005493ed
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
mov dword [esp + 0xe0], 0xc
je 0x430993
push ebx
push esi
call fcn.00467330
mov dword [esi], vtable.OGrubtankCharacter.0
jmp 0x430995
push 0x61c
call fcn.005493ed
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
mov dword [esp + 0xe0], 0xd
je 0x430837
mov eax, ebx
call fcn.00478340
mov ebp, eax
jmp 0x430997
xor eax, eax
mov ebp, eax
jmp 0x430997
push 0x61c
call fcn.005493ed
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
mov dword [esp + 0xe0], 0xe
je 0x430871
push ebx
push esi
call fcn.00467330
mov dword [esi], vtable.OKnightCharacter.0
jmp 0x430873
xor esi, esi
mov al, byte [esp + 0x120]
test al, al
mov dword [esp + 0xe0], 0xffffffff
mov ebp, esi
je 0x4309a2
mov eax, dword [esp + 0xfc]
test eax, eax
setne al
mov ecx, ebx
and ecx, 0x80000007
push eax
jns 0x4308ab
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.00441eb0
jmp 0x4309a2
push 0x61c
call fcn.005493ed
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
mov dword [esp + 0xe0], 0xf
je 0x430993
push ebx
push esi
call fcn.00467330
mov dword [esi], vtable.OCyberNaKtankCharacter.0
jmp 0x430995
push 0x61c
call fcn.005493ed
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
mov dword [esp + 0xe0], 0x10
je 0x430993
push ebx
push esi
call fcn.00467330
mov dword [esi], vtable.OBigFootMarkIICharacter.0
jmp 0x430995
push 0x61c
call fcn.005493ed
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
mov dword [esp + 0xe0], 0x11
je 0x430993
push ebx
push esi
call fcn.00467330
mov dword [esi], vtable.OFrogCharacter.0
jmp 0x430995
push 0x61c
mov dword [esp + 0xf4], 0
call fcn.005493ed
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
mov dword [esp + 0xe0], 0x12
jmp 0x4304e2
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.004cc430
mov esi, eax
call fcn.0040ae50
add edi, 8
dec ebx
jne 0x4309c0
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.004cc430
mov esi, eax
call fcn.0040ae50
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.004cc430
mov esi, eax
call fcn.0040ae50
mov ebx, dword [ebp + 0xa4]
call fcn.004cc430
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 0x430a4c
mov esi, 1
jmp 0x430a62
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.004cc430
mov esi, eax
call fcn.0040ae50
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.004cc430
mov esi, eax
call fcn.0040ae50
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.004cc430
mov esi, eax
call fcn.0040ae50
mov edx, dword [ebp + 0xac]
mov dword [esp + 0x10], edx
call fcn.004cc430
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 0x430afd
mov esi, 1
jmp 0x430b1f
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.004cc430
mov esi, eax
call fcn.0040ae50
mov eax, dword [esp + 0xf0]
mov ecx, dword [esp + 0x118]
mov edx, dword [esp + 0x11c]
mov ebx, dword [0x884634]
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, 0x4f004
mov dword [ebp + 0x3b0], edx
mov dword [ebp + 0x3b4], eax
mov word [ebp + 0x3b8], cx
call fcn.00403010
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.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebp + 0xf4]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], 0
call fcn.004cc430
mov esi, eax
call fcn.0040ae50
mov edx, dword [0x884634]
mov ebx, dword [edx + 0x1a638]
call fcn.004cc430
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 0x430c4e
mov esi, 1
jmp 0x430c64
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.004cc430
mov esi, eax
call fcn.0040ae50
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 0x430cc3
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.004cc430
mov esi, eax
call fcn.0040ae50
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 0x430d07
mov esi, dword [esp + 0xf0]
lea edx, [esi + 1]
push edx
lea eax, [esp + 0x5c]
push str.tank_d
push eax
call fcn.00550730
mov ebx, dword [0x884634]
add esp, 0xc
lea ecx, [esp + 0x58]
push ecx
add ebx, 0x4f004
call fcn.00403010
mov bl, byte [esp + 0x120]
test bl, bl
mov dword [ebp + 0x1c], eax
mov ecx, ebp
je 0x430d61
mov edx, dword [ebp]
push str.normal
call dword [edx + 4]
jmp 0x430d6c
mov eax, dword [ebp]
push str.tnormal
call dword [eax + 4]
mov ecx, dword [0x884634]
push ebp
push ecx
mov eax, esi
call fcn.00421e50
test bl, bl
jne 0x430f45
mov ebx, dword [ebp + 0x218]
call fcn.004cc430
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 0x430daf
mov esi, 1
jmp 0x430dc5
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.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebp + 0x230]
mov dword [esp + 0x10], ecx
call fcn.004cc430
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 0x430e16
mov esi, 1
jmp 0x430e38
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.004cc430
mov esi, eax
call fcn.0040ae50
mov edx, dword [ebp + 0x228]
mov dword [esp + 0x10], edx
call fcn.004cc430
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 0x430e89
mov esi, 1
jmp 0x430eab
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.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [ebp + 0x240]
mov dword [esp + 0x10], ecx
call fcn.004cc430
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 0x430efc
mov esi, 1
jmp 0x430f1e
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.004cc430
mov esi, eax
call fcn.0040ae50
mov ecx, dword [0x884634]
push ebp
add ecx, 0x772d0
call fcn.0052db70
mov ecx, dword [esp + 0xd8]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xd4
ret 0x3c