Function at 0x405780
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x64aca8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x40]
push edi
mov esi, ecx
call fcn.005396f0
mov eax, dword [esp + 0x44]
xor ebx, ebx
mov dword [esp + 0x38], ebx
mov dword [edi + 0x90], esi
mov dword [edi], 0x655b90
mov byte [edi + 0x41], bl
mov dword [edi + 0x94], 0xb4
mov dword [edi + 0x98], eax
mov ecx, dword [esi + 0x82c]
mov edx, dword [ecx + 0x24]
push 0x15
mov esi, 0xf
push str.DelayLoad_AwardScreen
lea ecx, [esp + 0x1c]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.00404330
mov byte [esp + 0x38], 1
mov eax, dword [0x6a9f38]
mov ecx, dword [eax + 0x634]
lea eax, [esp + 0x14]
call fcn.00513140
mov ebp, 0x10
mov byte [esp + 0x38], bl
cmp dword [esp + 0x2c], ebp
jb 0x405834
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0061c19a
add esp, 4
mov eax, dword [edi + 0x98]
cmp eax, 1
jne 0x405903
push 0x15
push str.DelayLoad_Background6
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.00404330
mov byte [esp + 0x38], 2
mov edx, dword [0x6a9f38]
mov ecx, dword [edx + 0x634]
lea eax, [esp + 0x14]
call fcn.00513140
mov byte [esp + 0x38], bl
cmp dword [esp + 0x2c], ebp
jb 0x405890
mov eax, dword [esp + 0x18]
push eax
call fcn.0061c19a
add esp, 4
push 0x14
push str.DelayLoad_ZombieNote
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.00404330
mov byte [esp + 0x38], 3
mov ecx, dword [0x6a9f38]
mov ecx, dword [ecx + 0x634]
lea eax, [esp + 0x14]
call fcn.00513140
mov byte [esp + 0x38], bl
cmp dword [esp + 0x2c], ebp
jb 0x4058dd
mov edx, dword [esp + 0x18]
push edx
call fcn.0061c19a
add esp, 4
push 0x11
push str.DelayLoad_Credits
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.00404330
mov byte [esp + 0x38], 4
jmp 0x4059c7
cmp eax, 2
jne 0x4059fb
push 0x15
push str.DelayLoad_Background1
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.00404330
mov byte [esp + 0x38], 5
mov edx, dword [0x6a9f38]
mov ecx, dword [edx + 0x634]
lea eax, [esp + 0x14]
call fcn.00513140
mov byte [esp + 0x38], bl
cmp dword [esp + 0x2c], ebp
jb 0x405959
mov eax, dword [esp + 0x18]
push eax
call fcn.0061c19a
add esp, 4
push 0x14
push str.DelayLoad_ZombieNote
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.00404330
mov byte [esp + 0x38], 6
mov ecx, dword [0x6a9f38]
mov ecx, dword [ecx + 0x634]
lea eax, [esp + 0x14]
call fcn.00513140
mov byte [esp + 0x38], bl
cmp dword [esp + 0x2c], ebp
jb 0x4059a6
mov edx, dword [esp + 0x18]
push edx
call fcn.0061c19a
add esp, 4
push 0x18
push str.DelayLoad_ZombieNoteHelp
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.00404330
mov byte [esp + 0x38], 7
mov eax, dword [0x6a9f38]
mov ecx, dword [eax + 0x634]
lea eax, [esp + 0x14]
call fcn.00513140
mov byte [esp + 0x38], bl
cmp dword [esp + 0x2c], ebp
jb 0x405ca2
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0061c19a
add esp, 4
jmp 0x405ca2
mov edx, dword [edi + 0x90]
cmp dword [edx + 0x7f8], ebx
jne 0x405ca2
mov eax, dword [esp + 0x44]
cmp eax, 0x10
jne 0x405ab0
push str.DelayLoad_Background1
lea ecx, [esp + 0x18]
call fcn.00404450
mov byte [esp + 0x38], 8
mov eax, dword [0x6a9f38]
mov ecx, dword [eax + 0x634]
lea eax, [esp + 0x14]
call fcn.00513140
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], bl
call fcn.00404420
push str.DelayLoad_ZombieNote
lea ecx, [esp + 0x18]
call fcn.00404450
mov byte [esp + 0x38], 9
mov ecx, dword [0x6a9f38]
mov ecx, dword [ecx + 0x634]
lea eax, [esp + 0x14]
call fcn.00513140
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], bl
call fcn.00404420
push str.DelayLoad_ZombieNote1
lea ecx, [esp + 0x18]
call fcn.00404450
mov byte [esp + 0x38], 0xa
mov edx, dword [0x6a9f38]
mov ecx, dword [edx + 0x634]
lea eax, [esp + 0x14]
call fcn.00513140
jmp 0x405c95
cmp eax, 0x20
jne 0x405b27
push str.DelayLoad_Background2
lea ecx, [esp + 0x18]
call fcn.00404450
lea eax, [esp + 0x14]
push eax
mov byte [esp + 0x3c], 0xb
call fcn.00513120
add esp, 4
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], bl
call fcn.00404420
push str.DelayLoad_ZombieNote
lea ecx, [esp + 0x18]
call fcn.00404450
lea ecx, [esp + 0x14]
push ecx
mov byte [esp + 0x3c], 0xc
call fcn.00513120
add esp, 4
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], bl
call fcn.00404420
push str.DelayLoad_ZombieNote2
lea ecx, [esp + 0x18]
call fcn.00404450
mov byte [esp + 0x38], 0xd
jmp 0x405c88
cmp eax, 0x30
jne 0x405b9e
push str.DelayLoad_Background1
lea ecx, [esp + 0x18]
call fcn.00404450
lea eax, [esp + 0x14]
push eax
mov byte [esp + 0x3c], 0xe
call fcn.00513120
add esp, 4
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], bl
call fcn.00404420
push str.DelayLoad_ZombieNote
lea ecx, [esp + 0x18]
call fcn.00404450
lea ecx, [esp + 0x14]
push ecx
mov byte [esp + 0x3c], 0xf
call fcn.00513120
add esp, 4
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], bl
call fcn.00404420
push str.DelayLoad_ZombieNote3
lea ecx, [esp + 0x18]
call fcn.00404450
mov byte [esp + 0x38], 0x10
jmp 0x405c88
cmp eax, 0x40
jne 0x405c12
push str.DelayLoad_Background2
lea ecx, [esp + 0x18]
call fcn.00404450
lea eax, [esp + 0x14]
push eax
mov byte [esp + 0x3c], 0x11
call fcn.00513120
add esp, 4
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], bl
call fcn.00404420
push str.DelayLoad_ZombieNote
lea ecx, [esp + 0x18]
call fcn.00404450
lea ecx, [esp + 0x14]
push ecx
mov byte [esp + 0x3c], 0x12
call fcn.00513120
add esp, 4
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], bl
call fcn.00404420
push str.DelayLoad_ZombieNote4
lea ecx, [esp + 0x18]
call fcn.00404450
mov byte [esp + 0x38], 0x13
jmp 0x405c88
cmp eax, 0x60
jne 0x405ca2
push str.DelayLoad_Background1
lea ecx, [esp + 0x18]
call fcn.00404450
lea eax, [esp + 0x14]
push eax
mov byte [esp + 0x3c], 0x14
call fcn.00513120
add esp, 4
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], bl
call fcn.00404420
push str.DelayLoad_ZombieNote
lea ecx, [esp + 0x18]
call fcn.00404450
lea ecx, [esp + 0x14]
push ecx
mov byte [esp + 0x3c], 0x15
call fcn.00513120
add esp, 4
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], bl
call fcn.00404420
push str.DelayLoad_ZombieFinalNote
lea ecx, [esp + 0x18]
call fcn.00404450
mov byte [esp + 0x38], 0x16
lea edx, [esp + 0x14]
push edx
call fcn.00513120
add esp, 4
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], bl
call fcn.00404420
push 0x130
call fcn.0061c130
add esp, 4
cmp eax, ebx
je 0x405cbe
push 0x64
mov esi, eax
call fcn.00447c60
jmp 0x405cc0
xor eax, eax
mov dword [edi + 0x88], eax
mov ecx, dword [0x6a79cc]
mov dword [eax + 0xa4], ecx
mov edx, dword [edi + 0x88]
mov dword [edx + 0xa8], ebx
mov eax, dword [edi + 0x88]
mov dword [eax + 0xac], ebx
mov ecx, dword [edi + 0x88]
mov edx, dword [0x6a76fc]
mov dword [ecx + 0xb0], edx
mov ecx, dword [0x6a77e0]
mov eax, dword [edi + 0x88]
mov dword [eax + 0xb4], ecx
mov ebp, dword [edi + 0x88]
mov ecx, dword [ebp + 0xa0]
cmp ecx, ebx
mov esi, dword [0x6a72ec]
je 0x405d2c
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x2c]
mov ecx, esi
call eax
mov edx, 0x9f
mov dword [ebp + 0xa0], eax
push 0x2b
lea ecx, [edx + 0x36]
lea eax, [esp + 0x18]
call fcn.005643d0
mov edx, dword [eax]
mov ecx, dword [edi + 0x88]
mov dword [ecx + 0x1c], edx
mov edx, dword [eax + 4]
add ecx, 0x1c
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov edx, 0x9f
push 0x2b
lea ecx, [edx + 0x36]
lea eax, [esp + 0x18]
call fcn.005643d0
mov ecx, dword [edi + 0x88]
mov edx, dword [eax]
mov dword [ecx + 0x2c], edx
mov edx, dword [eax + 4]
mov dword [ecx + 0x30], edx
mov edx, dword [eax + 8]
add ecx, 0x2c
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov eax, dword [edi + 0x88]
mov dword [eax + 8], 0x144
mov dword [eax + 0xc], 0x1f4
mov dword [eax + 0x10], 0x9c
mov dword [eax + 0x14], 0x2a
mov ecx, dword [edi + 0x88]
mov dword [ecx + 0x120], 0xffffffff
mov edx, dword [edi + 0x88]
push 0x130
mov dword [edx + 4], edi
call fcn.0061c130
add esp, 4
cmp eax, ebx
je 0x405df8
push 0x65
mov esi, eax
call fcn.00447c60
jmp 0x405dfa
xor eax, eax
push 0x18
push str._AWARD_MAIN_MENU_BUTTON_
lea ecx, [esp + 0x1c]
mov dword [edi + 0x8c], eax
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.00404330
mov byte [esp + 0x38], 0x17
mov eax, dword [edi + 0x8c]
push eax
lea edx, [esp + 0x18]
call fcn.00448470
mov byte [esp + 0x38], bl
cmp dword [esp + 0x2c], 0x10
jb 0x405e4d
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0061c19a
add esp, 4
mov edx, dword [edi + 0x8c]
mov eax, dword [0x6a75e4]
mov dword [edx + 0xa4], eax
mov ecx, dword [edi + 0x8c]
mov edx, dword [0x6a7780]
mov dword [ecx + 0xa8], edx
mov eax, dword [edi + 0x8c]
mov dword [eax + 0xac], ebx
mov ebp, dword [edi + 0x8c]
mov ecx, dword [ebp + 0xa0]
cmp ecx, ebx
mov esi, dword [0x6a77f8]
je 0x405e9a
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x2c]
mov ecx, esi
call eax
mov edx, 0x2a
mov dword [ebp + 0xa0], eax
push 0x5a
mov ecx, edx
lea eax, [esp + 0x18]
call fcn.005643d0
mov edx, dword [eax]
mov ecx, dword [edi + 0x8c]
mov dword [ecx + 0x1c], edx
mov edx, dword [eax + 4]
add ecx, 0x1c
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov edx, 0x2a
push 0x5a
mov ecx, edx
lea eax, [esp + 0x18]
call fcn.005643d0
mov edx, dword [eax]
mov ecx, dword [edi + 0x8c]
mov dword [ecx + 0x2c], edx
mov edx, dword [eax + 4]
mov dword [ecx + 0x30], edx
mov edx, dword [eax + 8]
add ecx, 0x2c
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov eax, dword [edi + 0x8c]
mov dword [eax + 8], 0x2a5
jmp 0x7d0121