Function at 0x43c780
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x56af9e
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0xa8
push ebx
mov ebx, 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 0x43c7c9
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x43d079
mov eax, dword [esi + 0x2c]
mov edx, dword [esi + 0x24]
mov esi, dword [esi + 0x1c]
xor eax, ebx
mov ecx, eax
shr ecx, 3
mov ebx, dword [edx + ecx*4]
xor ebx, dword [esi + eax*4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test bl, bl
jne 0x43d079
push ebp
push 0x344
call fcn.0054bf29
mov ebp, eax
add esp, 4
mov dword [esp + 0x10], ebp
test ebp, ebp
mov dword [esp + 0xc0], 0
je 0x43c826
push 0
push ebp
mov ecx, 0x186a2
call fcn.00461d40
mov dword [ebp], vtable.ODownBomb.0
jmp 0x43c828
xor ebp, ebp
mov dword [esp + 0xc0], 0xffffffff
mov eax, dword [0x887734]
mov al, byte [eax + 0x242a0]
test al, al
je 0x43c8f4
movzx ebx, al
mov edi, 0x90b7fc
call fcn.004308a0
cmp al, 1
je 0x43c8f4
mov ecx, dword [0x887734]
movzx edx, byte [ecx + 0x242a0]
push edx
lea eax, [esp + 0x3c]
push str.bulletevent_d
push eax
call fcn.00553270
mov ebx, dword [0x887734]
add esp, 0xc
lea ecx, [esp + 0x38]
push ecx
add ebx, 0x4f0cc
call fcn.00403040
mov edx, dword [ebp]
push str.normal
mov ecx, ebp
mov dword [ebp + 0x1c], eax
call dword [edx + 4]
mov eax, dword [0x887734]
mov dword [ebp + 0x18], 0x1770
mov dword [ebp + 0x38], 0x189c
mov dword [ebp + 0x1f4], 0x1f40
movzx ecx, byte [eax + 0x242a0]
push ecx
lea edx, [esp + 0x3c]
push str.flameevent_d
push edx
call fcn.00553270
lea eax, [esp + 0x44]
mov edx, eax
mov ecx, ebp
add esp, 0xc
sub ecx, edx
lea edx, [ecx + 0x1f8]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x43c8e8
jmp 0x43c953
mov ebx, dword [0x887734]
push str.dropbomb
add ebx, 0x4f0cc
call fcn.00403040
mov dword [ebp + 0x1c], eax
mov eax, dword [ebp]
push str.normal
mov ecx, ebp
call dword [eax + 4]
mov dword [ebp + 0x18], 0x1838
mov dword [ebp + 0x38], 0x189c
mov dword [ebp + 0x1f4], 0x1fa4
mov edx, dword [str.bombflame]
lea ecx, [ebp + 0x1f8]
mov dword [ecx], edx
mov eax, dword [0x58722c]
mov dword [ecx + 4], eax
mov dx, word [0x587230]
mov word [ecx + 8], dx
mov ebx, dword [esp + 0xcc]
push 1
lea eax, [esp + 0x14]
mov byte [ebp + 0x3c], 0xff
mov ecx, dword [ebp + 0xb4]
push eax
push ecx
mov dword [esp + 0x1c], ebx
call fcn.004ce8c0
mov esi, eax
call fcn.0040aeb0
lea edi, [ebp + 0x314]
lea ecx, [ebp + 0xb0]
call fcn.00417be0
mov eax, dword [ebp + 0xbc]
push 1
lea edx, [esp + 0x14]
push edx
xor edi, edi
push eax
mov dword [esp + 0x1c], edi
call fcn.004ce8c0
mov esi, eax
call fcn.0040aeb0
mov edx, dword [ebp + 0x44]
push 1
lea ecx, [esp + 0x14]
push ecx
shl ebx, 8
push edx
mov dword [esp + 0x1c], ebx
call fcn.004ce8c0
mov esi, eax
call fcn.0040aeb0
mov ecx, dword [ebp + 0x4c]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edi
call fcn.004ce8c0
mov esi, eax
call fcn.0040aeb0
mov eax, dword [ebp + 0x54]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], edi
call fcn.004ce8c0
mov esi, eax
call fcn.0040aeb0
mov edx, dword [ebp + 0x64]
push 1
lea ecx, [esp + 0x14]
push ecx
push edx
mov dword [esp + 0x1c], edi
call fcn.004ce8c0
mov esi, eax
call fcn.0040aeb0
mov edi, dword [0x5e56d8]
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 0x43ca4a
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, 1
call ebx
jmp 0x43ca6c
mov eax, dword [esi + 0x2c]
mov edx, dword [esi + 0x24]
xor eax, edi
mov edi, dword [esi + 0x1c]
mov ecx, eax
shr ecx, 3
mov esi, dword [edx + ecx*4]
xor esi, dword [edi + eax*4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp + 0x5c]
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 edx, dword [0x887734]
mov eax, dword [edx + 0x26cf4]
mov dword [esp + 0x10], eax
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 0x43caba
mov dword [esp + 0x1c], 1
jmp 0x43cad8
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 ecx, dword [edx + ecx*4]
xor ecx, dword [esi + eax*4]
mov dword [esp + 0x1c], ecx
call ebx
mov eax, dword [0x887734]
mov ecx, dword [eax + 0x26cec]
mov dword [esp + 0x10], ecx
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 0x43cb0c
mov dword [esp + 0x2c], 1
jmp 0x43cb2a
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 edx, dword [ecx + edx*4]
xor edx, dword [esi + eax*4]
mov dword [esp + 0x2c], edx
call ebx
mov eax, dword [0x5e5728]
mov dword [esp + 0x10], eax
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 0x43cb55
mov esi, 1
jmp 0x43cb77
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 edx, dword [esp + 0x18]
push edx
call fcn.00530930
fimul dword [esp + 0x2c]
add esp, 4
call fcn.00556654
shl eax, 8
cdq
idiv esi
mov ecx, dword [ebp + 0x6c]
push 1
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
push ecx
call fcn.004ce8c0
mov esi, eax
call fcn.0040aeb0
mov edx, dword [0x887734]
mov eax, dword [edx + 0x26cf4]
mov dword [esp + 0x10], eax
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 0x43cbe3
mov dword [esp + 0x2c], 1
jmp 0x43cc01
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 ecx, dword [edx + ecx*4]
xor ecx, dword [esi + eax*4]
mov dword [esp + 0x2c], ecx
call ebx
mov eax, dword [0x887734]
mov ecx, dword [eax + 0x26cec]
mov dword [esp + 0x10], ecx
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 0x43cc35
mov dword [esp + 0x1c], 1
jmp 0x43cc53
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 edx, dword [ecx + edx*4]
xor edx, dword [esi + eax*4]
mov dword [esp + 0x1c], edx
call ebx
mov eax, dword [0x5e5728]
mov dword [esp + 0x10], eax
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 0x43cc7e
mov esi, 1
jmp 0x43cca0
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 edx, dword [esp + 0x28]
push edx
call fcn.00530910
fimul dword [esp + 0x1c]
add esp, 4
call fcn.00556654
mov ecx, eax
mov eax, 0x62
sub eax, ecx
shl eax, 8
cdq
idiv esi
push 1
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x74]
push eax
call fcn.004ce8c0
mov esi, eax
call fcn.0040aeb0
mov edx, dword [ebp + 0x84]
push 1
lea ecx, [esp + 0x18]
push ecx
push edx
mov byte [esp + 0x20], 1
call fcn.004ce8c0
mov esi, eax
call fcn.0040aeb0
mov ecx, dword [ebp + 0x9c]
push 1
lea eax, [esp + 0x18]
push eax
push ecx
mov byte [esp + 0x20], 0
call fcn.004ce8c0
mov esi, eax
call fcn.0040aeb0
mov edx, dword [0x5e5728]
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 0x43cd4a
mov esi, 1
jmp 0x43cd6c
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 + 0xd4]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], esi
call fcn.004ce8c0
mov esi, eax
call fcn.0040aeb0
lea edi, [ebp + 0xd8]
lea ecx, [ebp + 0xd0]
call fcn.00417be0
mov edx, dword [ebp + 0x7c]
push 1
lea ecx, [esp + 0x18]
push ecx
push edx
mov byte [esp + 0x20], 0
call fcn.004ce8c0
mov esi, eax
call fcn.0040aeb0
mov ecx, dword [ebp + 0x304]
push 1
lea eax, [esp + 0x18]
push eax
push ecx
mov byte [esp + 0x20], 0
call fcn.004ce8c0
mov esi, eax
call fcn.0040aeb0
mov eax, dword [ebp + 0x30c]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], 0
call fcn.004ce8c0
mov esi, eax
call fcn.0040aeb0
mov edx, dword [str.bombblast.xes]
lea ecx, [ebp + 0x174]
mov dword [ecx], edx
mov eax, dword [0x58721c]
mov dword [ecx + 4], eax
mov edx, dword [0x587220]
mov dword [ecx + 8], edx
mov ax, word [0x587224]
mov word [ecx + 0xc], ax
mov edx, dword [ebp + 0xf0]
push 1
lea ecx, [esp + 0x14]
push ecx
mov edi, 0x64
push edx
mov dword [esp + 0x1c], edi
call fcn.004ce8c0
mov esi, eax
call fcn.0040aeb0
mov ecx, dword [ebp + 0xf8]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edi
call fcn.004ce8c0
mov esi, eax
call fcn.0040aeb0
mov eax, dword [ebp + 0x100]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], edi
call fcn.004ce8c0
mov esi, eax
call fcn.0040aeb0
mov edi, 0x38
mov dword [esp + 0x10], edi
push 1
lea ecx, [esp + 0x14]
mov edx, dword [ebp + 0x108]
push ecx
push edx
call fcn.004ce8c0
mov esi, eax
call fcn.0040aeb0
mov ecx, dword [ebp + 0x110]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edi
call fcn.004ce8c0
mov esi, eax
call fcn.0040aeb0
mov eax, dword [ebp + 0x118]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], edi
call fcn.004ce8c0
mov esi, eax
call fcn.0040aeb0
mov edx, dword [ebp + 0x120]
push 1
lea ecx, [esp + 0x14]
push ecx
mov edi, 0x82
push edx
mov dword [esp + 0x1c], edi
call fcn.004ce8c0
mov esi, eax
call fcn.0040aeb0
mov ecx, dword [ebp + 0x128]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edi
call fcn.004ce8c0
mov esi, eax
call fcn.0040aeb0
mov eax, dword [ebp + 0x130]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], edi
call fcn.004ce8c0
mov esi, eax
call fcn.0040aeb0
mov ecx, dword [0x5e5728]
mov dword [esp + 0x10], ecx
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 0x43cf6a
mov esi, 1
jmp 0x43cf8c
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 ebx
mov ecx, dword [ebp + 0x138]
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 eax, dword [ebp + 0x140]
push 1
lea edx, [esp + 0x18]
push edx
push eax
mov byte [esp + 0x20], 1
call fcn.004ce8c0
mov esi, eax
call fcn.0040aeb0
mov edx, dword [ebp + 0x148]
push 1
lea ecx, [esp + 0x18]
push ecx
push edx
mov byte [esp + 0x20], 0
call fcn.004ce8c0
mov esi, eax
call fcn.0040aeb0
mov ecx, dword [ebp + 0x150]
push 1
lea eax, [esp + 0x18]
push eax
push ecx
mov byte [esp + 0x20], 0
call fcn.004ce8c0
mov esi, eax
call fcn.0040aeb0
mov eax, dword [ebp + 0x158]
push 1
lea edx, [esp + 0x18]
push edx
push eax
mov byte [esp + 0x20], 0
call fcn.004ce8c0
mov esi, eax
call fcn.0040aeb0
mov edx, dword [ebp + 0x160]
push 1
lea ecx, [esp + 0x14]
push ecx
xor edi, edi
push edx
mov dword [esp + 0x1c], edi
call fcn.004ce8c0
mov esi, eax
call fcn.0040aeb0
mov ecx, dword [ebp + 0x168]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edi
call fcn.004ce8c0
mov esi, eax
call fcn.0040aeb0
mov ecx, dword [0x887734]
push ebp
add ecx, 0x77398
call fcn.005306b0
pop ebp
mov ecx, dword [esp + 0xb4]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xb4
ret 8