Function at 0x4b97a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x652698
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x6af168]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
mov eax, dword [0x6af168]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov eax, dword [0x6b8448]
mov edi, dword [ebp + 8]
push 0
mov ebx, ecx
push 0
push eax
mov ecx, edi
mov dword [esp + 0x54], ebx
call fcn.00525c50
cmp byte [ebx + 0xa0], 0
je 0x4b9812
mov ecx, dword [0x6b8800]
push 0x21d
push 0xe0
push ecx
mov ecx, edi
call fcn.00525c50
mov eax, dword [ebx + 0xa4]
cmp eax, 0xd
ja case.default.0x4b9821
jmp dword [eax*4 + 0x4b9c98]
mov esi, edi
mov ecx, ebx
call fcn.004b6650
jmp case.default.0x4b9821
push edi
push ebx
call fcn.004b6860
jmp case.default.0x4b9821
push edi
push ebx
call fcn.004b6ba0
jmp case.default.0x4b9821
push edi
push ebx
call fcn.004b6ee0
jmp case.default.0x4b9821
push edi
push ebx
call fcn.004b7220
jmp case.default.0x4b9821
push edi
push ebx
call fcn.004b7560
jmp case.default.0x4b9821
push edi
push ebx
call fcn.004b78a0
jmp case.default.0x4b9821
push edi
push ebx
call fcn.004b7be0
jmp case.default.0x4b9821
push edi
push ebx
call fcn.004b7f20
jmp case.default.0x4b9821
push ebx
mov ecx, edi
call fcn.004b8260
jmp case.default.0x4b9821
push ebx
mov ecx, edi
call fcn.004b86a0
jmp case.default.0x4b9821
push ebx
mov ecx, edi
call fcn.004b8ae0
jmp case.default.0x4b9821
push ebx
mov ecx, edi
call fcn.004b8f20
jmp case.default.0x4b9821
push ebx
mov ecx, edi
call fcn.004b9360
mov eax, dword [ebx + 0xa4]
add eax, 0xffffffff
cmp eax, 0xc
mov esi, str.Instructions
ja case.default.0x4b98be
jmp dword [eax*4 + 0x4b9cd0]
mov esi, str.Controls
jmp case.default.0x4b98be
mov esi, str.Pegs
jmp case.default.0x4b98be
mov esi, str.Scoring
jmp case.default.0x4b98be
mov esi, str.Free_Balls
jmp case.default.0x4b98be
mov esi, str.Game_Modes
jmp case.default.0x4b98be
mov esi, str.Duel_Mode
jmp case.default.0x4b98be
mov esi, str.Instant_Replays
jmp case.default.0x4b98be
mov esi, str.Extra_Tidbits
jmp case.default.0x4b98be
mov esi, str.Style_Shots
jmp case.default.0x4b98be
mov esi, str.More_Style_Shots
jmp case.default.0x4b98be
mov esi, str.Still_More_Style_Shots
jmp case.default.0x4b98be
mov esi, str.Master_Specific_Style_Shots
jmp case.default.0x4b98be
mov esi, str.Even_More_Master_Specific_Style_Shots
push 0xb6ffff
lea ecx, [esp + 0x3c]
call fcn.005029b0
lea edx, [esp + 0x38]
push edx
mov ecx, edi
call fcn.00525260
mov ecx, dword [0x6b8504]
mov eax, edi
call fcn.00525250
cmp byte [ebx + 0xa0], 0
push 0xb
push str.How_to_Play
je 0x4b99fe
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
call fcn.00402300
push 0x32
push 0x64
lea eax, [esp + 0x24]
push eax
mov ecx, edi
mov dword [esp + 0x84], 0
call fcn.00525c20
mov dword [esp + 0x78], 0xffffffff
cmp dword [esp + 0x34], 0x10
jb 0x4b99ae
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0062493b
add esp, 4
mov edx, dword [ebx + 0xa4]
push 0xb
push edx
lea eax, [esp + 0x54]
push str.Page__d_of__d
push eax
call fcn.004e7a20
add esp, 0x10
mov eax, edi
mov dword [esp + 0x78], 1
call fcn.00525240
mov edx, dword [eax]
mov edx, dword [edx + 0x1c]
push 0x32
lea ecx, [esp + 0x50]
push ecx
mov ecx, eax
call edx
mov ecx, 0x2bc
sub ecx, eax
push ecx
lea edx, [esp + 0x54]
push edx
mov ecx, edi
call fcn.00525c20
jmp 0x4b9a40
lea ecx, [esp + 0x54]
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], 0
mov byte [esp + 0x58], 0
call fcn.00402300
lea eax, [esp + 0x4c]
push eax
push 0x32
mov dword [esp + 0x80], 2
mov edx, dword [ebx]
mov edx, dword [edx + 0xf8]
push edi
lea ecx, [esp + 0x28]
push ecx
mov ecx, ebx
call edx
mov dword [esp + 0x78], 0xffffffff
cmp dword [esp + 0x64], 0x10
jb 0x4b9a5c
mov eax, dword [esp + 0x50]
push eax
call fcn.0062493b
add esp, 4
mov ecx, dword [0x6b873c]
mov eax, edi
call fcn.00525250
push 0xffffff
lea ecx, [esp + 0x3c]
call fcn.005029b0
cmp dword [ebx + 0xa4], 0
lea ecx, [esp + 0x38]
push ecx
mov ecx, edi
jne 0x4b9b02
call fcn.00525260
mov eax, esi
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], 0
mov byte [esp + 0x50], 0
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4b9aa6
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x54]
call fcn.00402300
push 0x8c
push 0x1d4
lea edx, [esp + 0x54]
push edx
mov ecx, edi
mov dword [esp + 0x84], 3
call fcn.00525c20
mov dword [esp + 0x78], 0xffffffff
cmp dword [esp + 0x64], 0x10
jb 0x4b9c6c
mov eax, dword [esp + 0x50]
push eax
call fcn.0062493b
add esp, 4
jmp 0x4b9c6c
call fcn.00525260
mov eax, esi
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], 0
mov byte [esp + 0x50], 0
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4b9b21
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x54]
call fcn.00402300
lea eax, [esp + 0x4c]
push eax
push 0x6e
mov dword [esp + 0x80], 4
mov edx, dword [ebx]
mov edx, dword [edx + 0xf8]
push edi
lea ecx, [esp + 0x28]
push ecx
mov ecx, ebx
call edx
mov dword [esp + 0x78], 0xffffffff
cmp dword [esp + 0x64], 0x10
jb 0x4b9b77
mov eax, dword [esp + 0x50]
push eax
call fcn.0062493b
add esp, 4
mov eax, dword [ebx + 0xa4]
cmp eax, 5
jne 0x4b9bd4
mov ecx, dword [0x6b8ae4]
push 0xaa
push 0x20
push ecx
mov ecx, edi
call fcn.00525c50
mov eax, dword [0x6b8ae4]
mov edx, dword [eax + 0x24]
mov eax, dword [eax + 0x28]
add eax, 0xe
add edx, 0xe
mov dword [esp + 0x28], eax
mov eax, dword [0x6b86b4]
push edi
lea esi, [esp + 0x20]
mov dword [esp + 0x20], 0x18
mov dword [esp + 0x24], 0xa2
mov dword [esp + 0x28], edx
call fcn.00526d10
jmp 0x4b9c6c
add eax, 0xffffffff
cmp eax, 4
mov dword [esp + 0x18], eax
jle 0x4b9be7
sub eax, 1
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], 0x40
mov ebx, 0xaa
jmp 0x4b9c04
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, dword [0x6b84b8]
push eax
lea esi, [esp + 0x40]
call fcn.00527ec0
mov eax, dword [0x6b84b8]
mov edx, esi
push edx
push ebx
push 0x48
push eax
mov eax, edi
call fcn.00525d70
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
add eax, 0xe
lea ecx, [ebx - 8]
add edx, 0xe
mov dword [esp + 0x28], eax
mov eax, dword [0x6b86b4]
push edi
lea esi, [esp + 0x20]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
call fcn.00526d10
add dword [esp + 0x14], 1
add ebx, 0x5a
cmp ebx, 0x212
jl 0x4b9c00
mov ebx, dword [esp + 0x48]
xor edi, edi
mov eax, ebx
call fcn.0055c010
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.00624940
mov esp, ebp
pop ebp
ret 4