Function at 0x100a9c10
Capabilities:
Access peb ldr_data
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c7727
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x102a000c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x30], 0
push 0x18
mov dword [ebx], 0
mov dword [ebx + 4], 0
call fcn.1001f148
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebx], eax
push 0x34
mov dword [ebp - 4], 0
call fcn.1001f148
mov edi, eax
mov dword [ebp - 0x14], edi
push 0x34
push 0
push edi
mov byte [ebp - 4], 1
call fcn.10021e70
add esp, 0x14
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
push 0x1d
push str.BBCF_Improvement_Mod_BO_BLEIS
call fcn.10007ee0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 2
push eax
lea ecx, [edi + 4]
mov dword [ebp - 0x30], 1
mov dword [edi], vtable.IWindow.0
call fcn.10008560
mov byte [edi + 0x1c], 0
mov dword [edi + 0x20], 0x40
mov byte [edi + 0x24], 0
mov dword [ebp - 4], 3
lea ecx, [edi + 4]
mov dword [edi], vtable.MainWindow.0
push 0x1d
mov dword [edi + 0x28], 0x42700000
mov dword [edi + 0x2c], 0x41a00000
push str.BBCF_Improvement_Mod_BO_BLEIS
mov dword [edi + 0x30], ebx
call fcn.10007ee0
push 1
push 0x10240f5c
lea ecx, [edi + 4]
call fcn.1000ba50
push 0x18
push str.v3.0600_BO_BLEIS_edition
lea ecx, [edi + 4]
call fcn.1000ba50
push 0xc
push str.MainTitle
lea ecx, [edi + 4]
call fcn.1000ba50
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 4
push eax
mov ecx, ebx
mov dword [ebp - 0x14], 0
call fcn.100185a0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x18]
mov dword [eax], edi
cmp edx, 0x10
jb 0x100a9d96
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a9d8c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100aa696
push edx
push ecx
call fcn.1001eec9
add esp, 8
push 0x140
call fcn.1001f148
mov edi, eax
add esp, 4
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
push 3
mov dword [ebp - 0x2c], 0
push 0x1023c72c
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.10007ee0
mov byte [ebp - 4], 6
lea eax, [ebp - 0x2c]
mov esi, dword [0x102b3490]
lea ecx, [edi + 4]
push eax
mov dword [ebp - 0x30], 2
mov dword [edi], vtable.IWindow.0
call fcn.10008560
mov byte [edi + 0x1c], 1
mov dword [edi + 0x20], 0x20
mov byte [edi + 0x24], 0
mov dword [ebp - 4], 7
mov dword [edi + 0x28], esi
lea esi, [edi + 0x2c]
mov dword [edi], vtable.LogWindow.0
mov dword [ebp - 0x34], esi
mov dword [esi + 0x104], 0
mov dword [esi + 0x100], 0
mov dword [esi + 0x108], 0
push 0x100
push 0x100d7af2
push esi
mov byte [ebp - 4], 8
call fcn.100280f0
add esp, 0xc
mov byte [esi + 0xff], 0
mov ecx, esi
call fcn.1006b260
mov dword [edi + 0x13c], 0
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 9
push eax
mov ecx, ebx
mov dword [ebp - 0x14], 2
call fcn.100185a0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x18]
mov dword [eax], edi
cmp edx, 0x10
jb 0x100a9ebf
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a9eb5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100aa696
push edx
push ecx
call fcn.1001eec9
add esp, 8
push 0x2c
call fcn.1001f148
mov esi, eax
add esp, 4
mov dword [ebp - 0x34], esi
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2c]
push 5
mov dword [ebp - 0x2c], 0
push str.DEBUG
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.10007ee0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [esi + 4]
mov dword [ebp - 0x30], 4
mov dword [esi], vtable.IWindow.0
call fcn.10008560
mov byte [esi + 0x1c], 1
mov dword [esi + 0x20], 0
mov byte [esi + 0x24], 0
mov dword [esi], vtable.DebugWindow.0
mov byte [esi + 0x28], 0
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0xc
push eax
mov ecx, ebx
mov dword [ebp - 0x14], 1
call fcn.100185a0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x18]
mov dword [eax], esi
cmp edx, 0x10
jb 0x100a9f86
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a9f7c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100aa696
push edx
push ecx
call fcn.1001eec9
add esp, 8
push 0x28
call fcn.1001f148
mov esi, eax
add esp, 4
mov dword [ebp - 0x34], esi
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x2c]
push 0x10
mov dword [ebp - 0x2c], 0
push str.Update_available
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.10007ee0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [esi + 4]
mov dword [ebp - 0x30], 8
mov dword [esi], vtable.IWindow.0
call fcn.10008560
mov byte [esi + 0x1c], 1
mov dword [esi + 0x20], 0x60
mov byte [esi + 0x24], 0
mov dword [esi], vtable.UpdateNotifierWindow.0
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0xf
push eax
mov ecx, ebx
mov dword [ebp - 0x14], 3
call fcn.100185a0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x18]
mov dword [eax], esi
cmp edx, 0x10
jb 0x100aa049
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100aa03f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100aa696
push edx
push ecx
call fcn.1001eec9
add esp, 8
push 0x8a8
call fcn.1001f148
mov esi, eax
mov dword [ebp - 0x34], esi
push 0x8a8
push 0
push esi
mov byte [ebp - 4], 0x10
call fcn.10021e70
add esp, 0x10
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
push 0xe
push str.Palette_Editor
call fcn.10007ee0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x11
push eax
lea ecx, [esi + 4]
mov dword [ebp - 0x30], 0x10
mov dword [esi], vtable.IWindow.0
call fcn.10008560
mov byte [esi + 0x1c], 1
mov dword [esi + 0x20], 0
mov byte [esi + 0x24], 0
push fcn.10007de0
mov dword [ebp - 4], 0x12
push 0x1000b070
mov dword [esi], vtable.PaletteEditorWindow.0
mov eax, dword [0x102ab220]
push 2
mov dword [esi + 0x28], eax
lea eax, [esi + 0x34]
push 0x18
push eax
call fcn.1001eed7
mov dword [esi + 0x880], 0
mov dword [esi + 0x884], 0
mov dword [esi + 0x888], 0
mov dword [esi + 0x88c], 0
mov dword [esi + 0x890], 0
mov dword [esi + 0x894], 0
mov dword [esi + 0x898], 0
mov dword [esi + 0x89c], 0
mov dword [esi + 0x8a0], 0
mov ecx, esi
mov byte [ebp - 4], 0x14
call fcn.100b5c40
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0x15
push eax
mov ecx, ebx
mov dword [ebp - 0x14], 4
call fcn.100185a0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x18]
mov dword [eax], esi
cmp edx, 0x10
jb 0x100aa1a7
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100aa19d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100aa696
push edx
push ecx
call fcn.1001eec9
add esp, 8
push 0x3c
call fcn.1001f148
mov esi, eax
add esp, 4
mov dword [ebp - 0x34], esi
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x2c]
push 0xf
mov dword [ebp - 0x2c], 0
push str.HitboxOverlay
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.10007ee0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x17
push eax
lea ecx, [esi + 4]
mov dword [ebp - 0x30], 0x20
mov dword [esi], vtable.IWindow.0
call fcn.10008560
mov byte [esi + 0x1c], 0
mov dword [esi + 0x20], 0x20
mov byte [esi + 0x24], 0
mov dword [esi], vtable.HitboxOverlay.0
mov word [esi + 0x28], 0x100
mov byte [esi + 0x2a], 1
mov dword [esi + 0x2c], 0x3eb126e9
mov dword [esi + 0x30], 0x40200000
mov dword [esi + 0x34], 0x3f000000
mov dword [esi + 0x38], 0x3201
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0x18
push eax
mov ecx, ebx
mov dword [ebp - 0x14], 5
call fcn.100185a0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x18]
mov dword [eax], esi
cmp edx, 0x10
jb 0x100aa290
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100aa286
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100aa696
push edx
push ecx
call fcn.1001eec9
add esp, 8
push 0x40
call fcn.1001f148
mov esi, eax
add esp, 4
mov dword [ebp - 0x34], esi
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x2c]
push 0xd
mov dword [ebp - 0x2c], 0
push str.OnlineRoom
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.10007ee0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x1a
push eax
lea ecx, [esi + 4]
mov dword [ebp - 0x30], 0x40
mov dword [esi], vtable.IWindow.0
call fcn.10008560
mov byte [esi + 0x1c], 1
mov dword [esi + 0x20], 0x60
mov byte [esi + 0x24], 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0x1b
push eax
lea ecx, [esi + 0x28]
mov dword [esi], vtable.RoomWindow.0
call fcn.10008560
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0x1c
push eax
mov ecx, ebx
mov dword [ebp - 0x14], 6
call fcn.100185a0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x18]
mov dword [eax], esi
cmp edx, 0x10
jb 0x100aa366
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100aa35c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100aa696
push edx
push ecx
call fcn.1001eec9
add esp, 8
push 0x1408
call fcn.1001f148
mov esi, eax
mov dword [ebp - 0x34], esi
push 0x1408
push 0
push esi
mov byte [ebp - 4], 0x1d
call fcn.10021e70
add esp, 0x10
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
push 6
push str.States
call fcn.10007ee0
push ecx
push ebx
push ecx
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x1e
push eax
mov ecx, esi
mov dword [ebp - 0x30], 0x80
call fcn.1001b4c0
mov esi, eax
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0x1f
push eax
mov ecx, ebx
mov dword [ebp - 0x14], 7
call fcn.100185a0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x18]
mov dword [eax], esi
cmp edx, 0x10
jb 0x100aa422
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100aa418
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100aa696
push edx
push ecx
call fcn.1001eec9
add esp, 8
push 0x44
call fcn.1001f148
mov esi, eax
mov dword [ebp - 0x34], esi
push 0x44
push 0
push esi
mov byte [ebp - 4], 0x20
call fcn.10021e70
add esp, 0x10
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
push 0xf
push str.Input_Buffer_P1
call fcn.10007ee0
push ecx
push 1
push ecx
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x21
push eax
mov ecx, esi
mov dword [ebp - 0x30], 0x100
call fcn.1001bcb0
mov esi, eax
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0x22
push eax
mov ecx, ebx
mov dword [ebp - 0x14], 8
call fcn.100185a0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x18]
mov dword [eax], esi
cmp edx, 0x10
jb 0x100aa4d9
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100aa4cf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100aa696
push edx
push ecx
call fcn.1001eec9
add esp, 8
push 0x44
call fcn.1001f148
mov esi, eax
mov dword [ebp - 0x34], esi
push 0x44
push 0
push esi
mov byte [ebp - 4], 0x23
call fcn.10021e70
add esp, 0x10
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
push 0xf
push str.Input_Buffer_P2
call fcn.10007ee0
push ecx
push 2
push ecx
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x24
push eax
mov ecx, esi
mov dword [ebp - 0x30], 0x200
call fcn.1001bcb0
mov esi, eax
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0x25
push eax
mov ecx, ebx
mov dword [ebp - 0x14], 9
call fcn.100185a0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x18]
mov dword [eax], esi
cmp edx, 0x10
jb 0x100aa590
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100aa586
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100aa696
push edx
push ecx
call fcn.1001eec9
add esp, 8
push 0x64
call fcn.1001f148
mov esi, eax
mov dword [ebp - 0x34], esi
push 0x64
push 0
push esi
mov byte [ebp - 4], 0x26
call fcn.10021e70
add esp, 0x10
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
push 0xf
push str.Playback_Editor
call fcn.10007ee0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x27
push eax
lea ecx, [esi + 4]
mov dword [ebp - 0x30], 0x400
mov dword [esi], vtable.IWindow.0
call fcn.10008560
mov byte [esi + 0x1c], 1
mov dword [esi + 0x20], 0
mov byte [esi + 0x24], 0
mov dword [ebp - 4], 0x28
lea ecx, [esi + 0x28]
mov dword [esi], vtable.PlaybackEditorWindow.0
call fcn.1008c320
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x29
push eax
lea ecx, [esi + 0x4c]
mov dword [esi + 0x48], 0
call fcn.10008560
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0x2a
push eax
mov ecx, ebx
mov dword [ebp - 0x14], 0xa
call fcn.100185a0
mov edx, dword [ebp - 0x18]
mov dword [eax], esi
cmp edx, 0x10
jb 0x100aa678
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100aa66e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100aa696
push edx
push ecx
call fcn.1001eec9
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001e883
mov esp, ebp
pop ebp
ret
call fcn.1002d464
int3