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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1bc
mov eax, dword [0x5005d0]
xor eax, esp
mov dword [esp + 0x1b8], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x36
lea eax, [esp + 0x191]
push ebx
push eax
mov byte [esp + 0x198], bl
call fcn.004a7110
xor eax, eax
mov dword [esp + 0x120], ebx
lea edi, [esp + 0x124]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [esp + 0x54], ebx
lea edi, [esp + 0x58]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [esp + 0x80], ebx
lea edi, [esp + 0x84]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
push 9
pop ecx
xor eax, eax
lea edi, [esp + 0xa4]
mov dword [esp + 0xa0], ebx
rep stosd dword es:[edi], eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x38], ebx
call fcn.0040ee13
test eax, eax
jne 0x49aef3
call fcn.0049c3c9
jmp 0x49c391
call fcn.0040c45e
test eax, eax
je 0x49af0f
call fcn.0040c4bc
call fcn.0040c48d
mov dword [esp + 0xdc], eax
jmp 0x49af16
mov dword [esp + 0xdc], ebx
call fcn.0043c57d
cmp eax, 0x35a5011f
je 0x49af27
call fcn.0049aba9
mov ecx, 0x4cd764
call fcn.0040c606
push ebx
call fcn.0040ce7c
mov dword [esp], 0x309
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push ebx
call fcn.00459cf0
push eax
push str._sSoundsKaChing.wav
push ebx
call fcn.00476e51
add esp, 0x14
push eax
call fcn.00472225
pop ecx
push ebx
push ebx
mov dword [esp + 0x74], eax
call fcn.00459cf0
push eax
push str._sSoundsIntroWait1.dav
push ebx
call fcn.00476e51
add esp, 0x14
push eax
call fcn.00472225
pop ecx
push ebx
push ebx
mov dword [esp + 0xd8], eax
call fcn.00459cf0
push eax
push str._sSoundsIntroWait2.dav
push ebx
call fcn.00476e51
add esp, 0x14
push eax
call fcn.00472225
pop ecx
push ebx
push ebx
mov dword [esp + 0xec], eax
call fcn.00459cf0
push eax
push str._sSoundsIntroWait3.dav
push ebx
call fcn.00476e51
add esp, 0x14
push eax
call fcn.00472225
pop ecx
push ebx
push ebx
mov dword [esp + 0xe0], eax
call fcn.00459cf0
push eax
push str._sSoundsIntroWait4.dav
push ebx
call fcn.00476e51
add esp, 0x14
push eax
call fcn.00472225
pop ecx
push ebx
push ebx
mov dword [esp + 0xf4], eax
call fcn.00459cf0
push eax
push str._sSoundsIntroWait5.dav
push ebx
call fcn.00476e51
add esp, 0x14
push eax
call fcn.00472225
pop ecx
push ebx
push ebx
mov dword [esp + 0xe8], eax
call fcn.00459cf0
push eax
push str._sSoundsIntroWait6.dav
push ebx
call fcn.00476e51
add esp, 0x14
push eax
call fcn.00472225
pop ecx
push ebx
push ebx
mov dword [esp + 0xfc], eax
call fcn.00459cf0
push eax
push str._sSoundsIntroWait7.dav
push ebx
call fcn.00476e51
add esp, 0x14
push eax
call fcn.00472225
pop ecx
push ebx
push ebx
mov dword [esp + 0x104], eax
call fcn.00459cf0
push eax
push str._sSoundsIntroWait8.dav
push ebx
call fcn.00476e51
add esp, 0x14
push eax
call fcn.00472225
pop ecx
push ebx
push ebx
mov dword [esp + 0x110], eax
call fcn.00459cf0
push eax
push str._sSoundsIntroPaulaDrop.dav
push ebx
call fcn.00476e51
add esp, 0x14
push eax
call fcn.00472225
pop ecx
push ebx
push ebx
mov dword [esp + 0xf8], eax
call fcn.00459cf0
push eax
push str._sSoundsIntroRevision.dav
push ebx
call fcn.00476e51
add esp, 0x14
push eax
call fcn.00472225
pop ecx
push ebx
push ebx
mov dword [esp + 0x108], eax
call fcn.00459cf0
push eax
push str._sSoundsIntroNapaLogo.dav
push ebx
call fcn.00476e51
add esp, 0x14
push eax
call fcn.00472225
pop ecx
push ebx
push ebx
mov dword [esp + 0x100], eax
call fcn.00459cf0
push eax
push str._sSoundsIntroLeaving.dav
push ebx
call fcn.00476e51
add esp, 0x14
push eax
call fcn.00472225
pop ecx
mov dword [esp + 0x60], eax
push ebx
push ebx
call fcn.00459cf0
push eax
push str._sSoundsIntroAcronym.dav
push ebx
call fcn.00476e51
add esp, 0x14
push eax
call fcn.00472225
pop ecx
push ebx
push ebx
mov dword [esp + 0x38], eax
call fcn.00459cf0
push eax
push str._sSoundsIntroPing.dav
push ebx
call fcn.00476e51
add esp, 0x14
push eax
call fcn.00472225
pop ecx
push ebx
push ebx
mov dword [esp + 0xd4], eax
call fcn.00459cf0
push eax
push str._sSoundsIntroPing2.dav
push ebx
call fcn.00476e51
add esp, 0x14
push eax
call fcn.00472225
pop ecx
mov dword [esp + 0xd4], eax
call fcn.0040ee5d
test eax, eax
je 0x49b1d8
mov eax, dword [esp + 0x6c]
call fcn.004724f4
push ebx
push ebx
call fcn.00459cf0
push eax
push str._sSoundsIntro2.0.wav
push ebx
call fcn.00476e51
add esp, 0x14
push eax
call fcn.00472225
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x64]
pop ecx
call fcn.004724f4
push ebx
push ebx
call fcn.00459cf0
push eax
push str._sSoundsIntrocar_burnout2.wav
push ebx
call fcn.00476e51
add esp, 0x14
push eax
call fcn.00472225
pop ecx
mov dword [esp + 0x60], eax
call fcn.0040c300
mov esi, eax
call fcn.0040c382
mov ecx, eax
mov eax, esi
call fcn.00468f97
mov dword [esp + 0xe8], eax
call fcn.0049a9b5
push 0x4f6114
lea esi, [esp + 0x118]
mov dword [esp + 0x9c], eax
call fcn.004a56b8
pop ecx
call fcn.0049ab07
mov dword [esp + 0x94], eax
xor eax, eax
call fcn.0049c506
xor edx, edx
call fcn.0049c5be
call fcn.0049ad56
push eax
push 0x37
pop ecx
lea eax, [esp + 0x190]
call fcn.00475883
pop ecx
push 0x2e
xor eax, eax
lea edi, [esp + 0x190]
call fcn.004765d4
cmp dword [0x613b7c], ebx
pop ecx
je 0x49b2b3
xor eax, eax
mov word [esp + 0x12c], bx
lea edi, [esp + 0x12e]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x241
stosw word es:[edi], ax
lea eax, [esp + 0x130]
push str..TitlePage.c
push eax
call fcn.004998ed
push ecx
lea esi, [esp + 0x13c]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0046c66e
push eax
push str.._04d
lea eax, [esp + 0x1a4]
push 0x37
push eax
call fcn.00476e0a
add esp, 0x20
push 0x24
pop eax
mov dword [esp + 0x48], 0x59
mov dword [esp + 0x74], 9
mov dword [esp + 0x4c], 0x13
mov dword [esp + 0x78], 0xffffffd4
mov dword [esp + 0x50], 0x1b
mov dword [esp + 0x7c], 0xffffffce
mov dword [esp + 0x54], eax
mov dword [esp + 0x80], 0xffffffc8
mov dword [esp + 0x58], 0x2d
mov dword [esp + 0x84], 0xffffffc2
mov dword [esp + 0x5c], 0x35
mov dword [esp + 0x88], 0xffffffbc
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x20], eax
call fcn.00498efc
mov dword [esp + 0x18], eax
xor edi, edi
cmp dword [esp + edi + 0xa0], ebx
jne 0x49b34f
mov eax, dword [esp + edi + 0x48]
push ebx
push dword [esp + edi + 0x78]
push dword [esp + edi + 0x11c]
call fcn.00469231
add esp, 0xc
add edi, 4
cmp edi, 0x18
jl 0x49b32e
cmp dword [esp + 0xb8], ebx
jne 0x49b378
mov eax, dword [esp + 0x3c]
push ebx
push dword [esp + 0x24]
push dword [esp + 0x9c]
call fcn.00469231
add esp, 0xc
xor esi, esi
inc esi
cmp dword [esp + 0x48], ebx
mov dword [esp + 0xa0], esi
jle 0x49b398
sub dword [esp + 0x48], 3
cmp dword [esp + 0x48], ebx
mov dword [esp + 0xa0], ebx
jge 0x49b39e
mov dword [esp + 0x48], ebx
cmp dword [esp + 0x74], 9
jge 0x49b3b0
inc dword [esp + 0x74]
mov dword [esp + 0xa0], ebx
xor edi, edi
lea eax, [esp + edi + 0x78]
mov ecx, dword [eax]
cmp ecx, esi
jge 0x49b3c8
inc ecx
mov dword [eax], ecx
mov dword [esp + edi + 0xa4], ebx
jmp 0x49b3e3
lea eax, [esp + edi + 0xa4]
cmp dword [eax], ebx
jne 0x49b3e3
mov ecx, dword [esp + 0xf0]
push ebx
mov dword [eax], esi
call fcn.00473097
pop ecx
add edi, 4
cmp edi, 0x14
jl 0x49b3b2
cmp dword [esp + 0x3c], ebx
mov dword [esp + 0xb8], esi
jle 0x49b403
dec dword [esp + 0x3c]
mov dword [esp + 0xb8], ebx
cmp dword [esp + 0x20], 0xb
jle 0x49b415
dec dword [esp + 0x20]
mov dword [esp + 0xb8], ebx
call fcn.00498efc
sub eax, dword [esp + 0x18]
push 0xa
pop edx
cmp eax, edx
ja 0x49b440
mov ecx, edx
sub ecx, eax
js 0x49b435
cmp ecx, 0x7fffffff
jge 0x49b435
sub edx, eax
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push edx
call esi
jmp 0x49b446
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
cmp dword [esp + eax*4 + 0xa0], ebx
je 0x49b457
inc eax
cmp eax, 6
jle 0x49b448
cmp eax, 6
jge 0x49b46e
mov eax, 0x613b88
call fcn.0049c506
test eax, eax
je 0x49b323
mov eax, 0x613b88
mov dword [esp + 0x24], 0xfffffff3
mov dword [esp + 0x34], 2
call fcn.0049c506
test eax, eax
jne 0x49b49a
mov ecx, dword [esp + 0xf8]
push ebx
call fcn.00473097
pop ecx
call fcn.00498efc
push ebx
push dword [esp + 0x38]
mov edi, eax
push dword [esp + 0xa0]
mov eax, dword [esp + 0x30]
call fcn.00469231
add esp, 0xc
cmp dword [esp + 0x24], 3
mov dword [esp + 0xa0], 1
jge 0x49b4d6
inc dword [esp + 0x24]
mov dword [esp + 0xa0], ebx
cmp dword [esp + 0x34], 2
jge 0x49b4e8
inc dword [esp + 0x34]
mov dword [esp + 0xa0], ebx
call fcn.00498efc
sub eax, edi
cmp eax, 0xa
ja 0x49b50f
push 0xa
pop ecx
sub ecx, eax
js 0x49b50b
cmp ecx, 0x7fffffff
jge 0x49b50b
push 0xa
pop ecx
sub ecx, eax
push ecx
jmp 0x49b50d
push 0xa
call esi
cmp dword [esp + 0xa0], ebx
jne 0x49b52a
mov eax, 0x613b88
call fcn.0049c506
test eax, eax
je 0x49b49a
mov eax, 0x613b88
call fcn.0049c506
test eax, eax
jne 0x49b598
xor edi, edi
mov eax, 0x613b88
call fcn.0049c506
test eax, eax
jne 0x49b552
push 0x64
call esi
inc edi
cmp edi, 5
jl 0x49b53a
mov ecx, dword [esp + 0x6c]
push ebx
call fcn.00473097
pop ecx
push 2
push 0x3b
call fcn.0040bfb4
push 0x4f6638
call fcn.0040c750
add esp, 0xc
push str.____2
call fcn.0040dc4a
pop ecx
xor edi, edi
mov eax, 0x613b88
call fcn.0049c506
test eax, eax
jne 0x49b598
push 0x64
call esi
inc edi
cmp edi, 0xa
jl 0x49b580
cmp dword [0x613b80], ebx
je 0x49b5aa
call fcn.00498efc
mov dword [0x613b84], eax
mov eax, 0x613b88
call fcn.0049c506
test eax, eax
jne 0x49bf2a
inc eax
push 9
pop ecx
mov dword [esp + 0x68], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x9c], eax
xor eax, eax
lea edi, [esp + 0x168]
mov dword [esp + 0x164], ebx
rep stosd dword es:[edi], eax
push 9
pop ecx
lea edi, [esp + 0x140]
mov dword [esp + 0x13c], ebx
rep stosd dword es:[edi], eax
mov dword [esp + 0x104], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0xc8], ebx
mov dword [esp + 0x40], 2
mov dword [esp + 0x10c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x64], ebx
xor edi, edi
call fcn.004a75cc
and eax, 0x80000003
jns 0x49b636
dec eax
or eax, 0xfffffffc
inc eax
add eax, 5
mov dword [esp + edi*4 + 0x13c], eax
inc edi
cmp edi, 0xa
jl 0x49b625
xor eax, eax
lea ecx, [eax + 0x40]
mov dword [esp + eax*4 + 0x164], ecx
inc eax
cmp eax, 0xa
jl 0x49b648
call fcn.00498efc
mov dword [esp + 0x18], eax
test byte [esp + 0x90], 1
je 0x49b675
cmp dword [esp + 0x68], ebx
je 0x49b689
push 0x1e
jmp 0x49b67d
cmp dword [esp + 0x68], ebx
je 0x49b689
push 0x1f
push 2
pop esi
push 0x3f
pop edi
call fcn.0040ad12
pop ecx
mov dword [esp + 0x68], ebx
call fcn.00498efc
sub eax, dword [esp + 0x104]
cmp eax, 0x87
jb 0x49b6bb
call fcn.00498efc
inc dword [esp + 0x90]
mov dword [esp + 0x104], eax
mov dword [esp + 0x68], 1
call fcn.00498efc
sub eax, dword [esp + 0x64]
cmp eax, 0x16
jae 0x49b6d2
cmp eax, 0x2d
jb 0x49b77a
lea eax, [esp + 0x18c]
push eax
xor esi, esi
call fcn.004a63c0
test eax, eax
pop ecx
jle 0x49b771
cmp dword [esp + esi*4 + 0x13c], 2
jg 0x49b709
lea eax, [esp + 0x18c]
push eax
inc esi
call fcn.004a63c0
cmp esi, eax
pop ecx
jl 0x49b6ea
jmp 0x49b771
lea eax, [esp + esi*4 + 0x13c]
dec dword [eax]
mov edi, dword [eax]
push 0x4f6644
mov dword [esp + 0x114], edi
call fcn.0040c750
mov eax, dword [esp + esi*4 + 0x168]
pop ecx
push edi
push eax
mov dword [esp + 0x6c], eax
call fcn.0040bfb4
movsx ebx, byte [esp + esi + 0x194]
call fcn.0040f52b
lea esi, [edi + 1]
mov edi, dword [esp + 0x6c]
push 0x20
call fcn.0040ab8f
add esp, 0xc
cmp dword [esp + 0x110], 2
jg 0x49b76f
mov ecx, dword [esp + 0x100]
push 0
call fcn.00473097
pop ecx
xor ebx, ebx
call fcn.00498efc
mov dword [esp + 0x64], eax
mov eax, dword [0x613b80]
cmp eax, ebx
je 0x49b7c1
call fcn.00498efc
sub eax, dword [0x613b84]
cmp eax, 0x493e0
jbe 0x49b79e
xor eax, eax
mov dword [0x613b80], eax
jmp 0x49b7a3
mov eax, dword [0x613b80]
cmp eax, ebx
je 0x49b7c1
cmp dword [esp + 0x44], ebx
jne 0x49b7dd
call fcn.00498efc
sub eax, dword [esp + 0x18]
mov dword [esp + 0x44], eax
mov eax, dword [0x613b80]
jmp 0x49b7dd
cmp dword [esp + 0x44], ebx
je 0x49b7d9
call fcn.00498efc
sub eax, dword [esp + 0x44]
mov dword [esp + 0x18], eax
mov eax, dword [0x613b80]
mov dword [esp + 0x44], ebx
cmp dword [esp + 0x8c], ebx
je 0x49b914
mov ecx, dword [esp + 0x40]
sub ecx, 3
je 0x49b8e5
dec ecx
je 0x49b8c2
dec ecx
je 0x49b8a0
dec ecx
je 0x49b87d
dec ecx
je 0x49b857
push 0x17
push 0xa
pop esi
push 0xf
pop edi
call fcn.0040ad12
pop ecx
push 0x17
pop edi
push edi
call fcn.0040ad12
pop ecx
push edi
push 0x21
pop edi
call fcn.0040ad12
pop ecx
push 0x17
push 0x2f
pop edi
call fcn.0040ad12
pop ecx
push 0x17
push 0x38
pop edi
call fcn.0040ad12
cmp dword [esp + 0x44], 3
pop ecx
jbe 0x49b90d
mov dword [esp + 0x40], ebx
jmp 0x49b90d
cmp eax, ebx
jne 0x49b866
mov ecx, dword [esp + 0x30]
push ebx
call fcn.00473097
pop ecx
push 0x17
push 0xa
pop esi
push 0x2f
pop edi
call fcn.0040ad12
pop ecx
push 0x1f
push 0x38
jmp 0x49b906
cmp eax, ebx
jne 0x49b88c
mov ecx, dword [esp + 0x30]
push ebx
call fcn.00473097
pop ecx
push 0x17
push 0xa
pop esi
push 0x21
pop edi
call fcn.0040ad12
pop ecx
push 0x1f
push 0x2f
jmp 0x49b906
cmp eax, ebx
jne 0x49b8af
mov ecx, dword [esp + 0x30]
push ebx
call fcn.00473097
pop ecx
push 0x17
pop edi
push edi
push 0xa
pop esi
call fcn.0040ad12
pop ecx
push 0x1f
push 0x21
jmp 0x49b906
cmp eax, ebx
jne 0x49b8d1
mov ecx, dword [esp + 0x30]
push ebx
call fcn.00473097
pop ecx
push 0x17
push 0xa
pop esi
push 0xf
pop edi
call fcn.0040ad12
pop ecx
push 0x1f
push 0x17
jmp 0x49b906
cmp eax, ebx
jne 0x49b8f4
mov ecx, dword [esp + 0x30]
push ebx
call fcn.00473097
pop ecx
push 0x17
push 0xa
pop esi
push 0x38
pop edi
call fcn.0040ad12
pop ecx
push 0x1f
push 0xf
pop edi
call fcn.0040ad12
pop ecx
mov dword [esp + 0x8c], ebx
call fcn.00498efc
sub eax, dword [esp + 0xc8]
mov esi, 0x309
cmp eax, esi
jb 0x49b954
call fcn.00498efc
sub eax, dword [esp + 0x18]
cmp eax, 0xbb8
jbe 0x49b954
call fcn.00498efc
inc dword [esp + 0x40]
mov dword [esp + 0xc8], eax
mov dword [esp + 0x8c], 1
cmp dword [esp + 0x9c], ebx
je 0x49b9f0
test byte [esp + 0x70], 3
je 0x49b98a
push 0x17
push 0x15
call fcn.0040bfb4
push 0x4c5db0
call fcn.0040c750
add esp, 0xc
push str.Press_New_Line_to_Begin_Accounting.
call fcn.0040dc4a
jmp 0x49b9e8
cmp dword [esp + 0x70], ebx
jbe 0x49b9e9
cmp dword [0x613b80], ebx
jne 0x49b9bc
inc dword [0x613be4]
cmp dword [0x613be4], 4
mov ecx, dword [esp + 0xcc]
push ebx
jle 0x49b9b6
mov ecx, dword [esp + 0xd8]
call fcn.00473097
pop ecx
push 0x17
push 0x15
call fcn.0040bfb4
push 0x4c5dac
call fcn.0040c750
add esp, 0xc
push str.Press_New_Line_to_Begin_Accounting.
call fcn.0040dc4a
mov dword [esp], 0x4c5db0
call fcn.0040c750
pop ecx
mov dword [esp + 0x9c], ebx
call fcn.00498efc
sub eax, dword [esp + 0x10c]
cmp eax, esi
jb 0x49ba2b
call fcn.00498efc
sub eax, dword [esp + 0x18]
cmp eax, 0x7d0
jbe 0x49ba2b
call fcn.00498efc
inc dword [esp + 0x70]
mov dword [esp + 0x10c], eax
mov dword [esp + 0x9c], 1
cmp dword [0x613b98], ebx
jne 0x49bda8
cmp dword [0x613b80], ebx
jne 0x49bda8
mov eax, dword [esp + 0x14]
push 7
pop esi
cmp eax, esi
ja case.default.0x49ba52
jmp dword [eax*4 + 0x49c3a9]
call fcn.00498efc
sub eax, dword [esp + 0x18]
cmp eax, 0x2710
jbe 0x49bdb5
mov edi, dword [esp + 0xd0]
push ebx
mov ecx, edi
call fcn.00473097
pop ecx
mov dword [esp + 0x1c], edi
call fcn.00498efc
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 1
jmp 0x49bdb5
call fcn.00498efc
sub eax, dword [esp + 0x10]
cmp eax, 0x7530
jbe 0x49bdb5
call fcn.00498efc
sub eax, dword [esp + 0x2c]
cmp eax, 0x2710
jbe 0x49bdb5
mov edi, dword [esp + 0xe4]
push ebx
mov ecx, edi
call fcn.00473097
pop ecx
mov dword [esp + 0x1c], edi
call fcn.00498efc
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 2
jmp 0x49bdb5
call fcn.00498efc
sub eax, dword [esp + 0x10]
cmp eax, 0x7530
jbe 0x49bdb5
call fcn.00498efc
sub eax, dword [esp + 0x2c]
cmp eax, 0x2710
jbe 0x49bdb5
mov edi, dword [esp + 0xd8]
push ebx
mov ecx, edi
call fcn.00473097
pop ecx
mov dword [esp + 0x1c], edi
call fcn.00498efc
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 3
jmp 0x49bdb5
call fcn.00498efc
sub eax, dword [esp + 0x10]
cmp eax, 0x7530
jbe 0x49bdb5
call fcn.00498efc
sub eax, dword [esp + 0x2c]
cmp eax, 0x2710
jbe 0x49bdb5
mov edi, dword [esp + 0xec]
push ebx
mov ecx, edi
call fcn.00473097
pop ecx
mov dword [esp + 0x1c], edi
call fcn.00498efc
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 4
jmp 0x49bdb5
call fcn.00498efc
sub eax, dword [esp + 0x10]
cmp eax, 0xea60
jbe 0x49bdb5
call fcn.00498efc
sub eax, dword [esp + 0x2c]
cmp eax, 0x2710
jbe 0x49bdb5
mov edi, dword [esp + 0xe0]
push ebx
mov ecx, edi
call fcn.00473097
pop ecx
mov dword [esp + 0x1c], edi
call fcn.00498efc
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 5
jmp 0x49bdb5
call fcn.00498efc
sub eax, dword [esp + 0x10]
cmp eax, 0x7530
jbe 0x49bdb5
call fcn.00498efc
sub eax, dword [esp + 0x2c]
cmp eax, 0x2710
jbe 0x49bdb5
mov edi, dword [esp + 0xf4]
push ebx
mov ecx, edi
call fcn.00473097
pop ecx
mov dword [esp + 0x1c], edi
call fcn.00498efc
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 6
jmp 0x49bdb5
call fcn.00498efc
sub eax, dword [esp + 0x10]
cmp eax, 0xea60
jbe 0x49bdb5
call fcn.00498efc
sub eax, dword [esp + 0x2c]
cmp eax, 0x2710
jbe 0x49bdb5
mov edi, dword [esp + 0xfc]
push ebx
mov ecx, edi
call fcn.00473097
pop ecx
mov dword [esp + 0x1c], edi
call fcn.00498efc
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], esi
jmp 0x49bdb5
call fcn.00498efc
sub eax, dword [esp + 0x10]
cmp eax, 0x7530
jbe 0x49bdb5
mov edi, dword [esp + 0x108]
push ebx
mov ecx, edi
call fcn.00473097
pop ecx
mov dword [esp + 0x1c], edi
call fcn.00498efc
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 8
call fcn.0049c573
test eax, eax
je 0x49be99
mov eax, 0x613b88
call fcn.0049c506
test eax, eax
jne 0x49be99
cmp dword [esp + 0x14], ebx
jbe 0x49be99
cmp dword [0x613b80], ebx
jne 0x49be99
call fcn.00498efc
sub eax, dword [0x613be8]
cmp eax, 0xbb8
jbe 0x49be88
call fcn.00498efc
mov ecx, dword [0x613bf0]
sub eax, dword [esp + 0x10]
add ecx, 0xbb8
cmp eax, ecx
jbe 0x49be88
mov eax, dword [esp + 0x1c]
call fcn.00473932
test eax, eax
jne 0x49be6a
call fcn.00498efc
sub eax, dword [0x613bec]
cmp eax, 0x1b58
jb 0x49be6a
call fcn.00498efc
mov ecx, dword [0x613bf4]
inc dword [esp + 0x38]
cmp ecx, ebx
mov dword [0x613be8], eax
jle 0x49bdf6
xor edi, edi
call fcn.004a75cc
mov ecx, dword [0x613bf4]
cdq
idiv ecx
inc edx
cmp edx, dword [0x613bf8]
jne 0x49bdfa
inc edi
cmp edi, 0xa
jl 0x49bd65
jmp 0x49bdfa
call fcn.00498efc
sub eax, dword [esp + 0x10]
cmp eax, 0x1f40
jbe 0x49bdab
inc dword [esp + 0x14]
mov esi, dword [esp + 0xe8]
mov dword [esp + 0x28], ebx
jmp 0x49c173
push 7
pop esi
cmp dword [esp + 0x14], esi
ja 0x49bcb8
call fcn.00498efc
sub eax, dword [esp + 0x10]
cmp eax, 0x2710
jbe 0x49bcb8
call fcn.00498efc
sub eax, dword [esp + 0x18]
cmp eax, 0x50910
jbe 0x49bcb8
cmp dword [0x613b80], ebx
jne 0x49be99
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
jmp 0x49be99
mov edx, dword [esp + 0x38]
cmp ecx, ebx
mov dword [0x613bf8], edx
jle 0x49be17
lea eax, [ecx + ecx]
cmp dword [esp + 0x38], eax
jle 0x49be17
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
jmp 0x49be88
push edx
push ebx
push ebx
call fcn.00459cf0
pop ecx
pop ecx
push eax
push str._sSoundsIntroIntel_d.dav
push ebx
call fcn.00476e51
push eax
call fcn.00473900
add esp, 0x14
test eax, eax
jne 0x49be5a
cmp dword [0x613bf4], ebx
jne 0x49be5a
mov eax, dword [esp + 0x38]
cmp eax, ebx
jle 0x49be5a
add dword [0x613bf0], 0x2ee0
dec eax
mov dword [0x613bf4], eax
call fcn.00498efc
mov dword [esp + 0x10], eax
mov dword [0x613bec], eax
jmp 0x49be88
cmp dword [0x613be8], ebx
jne 0x49be7e
call fcn.00498efc
mov dword [0x613be8], eax
jmp 0x49be88
add dword [0x613be8], 0x7d0
cmp dword [0x613bf4], ebx
jne 0x49be99
call fcn.00498efc
mov dword [esp + 0x2c], eax
mov esi, 0x613b88
mov edx, esi
call fcn.0049c5be
cmp eax, ebx
je 0x49bec6
cmp eax, 0x13
jne 0x49bef8
call fcn.0049aba9
call fcn.00498efc
mov dword [esp + 0x10], eax
call fcn.00498efc
mov dword [0x613b84], eax
call fcn.0040a5f9
test eax, eax
je 0x49bedf
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.0040a25d
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, esi
call fcn.0049c506
test eax, eax
je 0x49b661
jmp 0x49bf2a
push 0x20001
push ebx
push ebx
push ebx
mov dword [esp + 0x38], eax
call fcn.00459cf0
push eax
push str._sSoundsCodeEntered.wav
push ebx
call fcn.00476e51
add esp, 0x14
push eax
call dword [sym.imp.WINMM.dll_PlaySoundA]
push 0x2ee
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.00473b5a
mov eax, 0x613b88
call fcn.0049c506
test eax, eax
je 0x49bf61
cmp dword [esp + 0x28], ebx
jne 0x49bf48
or dword [esp + 0x28], 0xffffffff
call fcn.0040a5f9
test eax, eax
je 0x49bf61
push 0x4e20
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.0040a25d
cmp dword [esp + 0x78], ebx
jl 0x49bf72
mov ecx, dword [esp + 0x60]
push ebx
call fcn.00473097
pop ecx
push 0x28
lea eax, [esp + 0xa4]
push ebx
push eax
call fcn.004a7110
mov esi, dword [esp + 0xf4]
add esp, 0xc
call fcn.00498efc
xor ecx, ecx
mov dword [esp + 0x18], eax
call fcn.0040c606
push eax
push esi
call fcn.0046ab33
mov ecx, esi
call fcn.0046a29f
mov ecx, dword [esp + 0xa0]
push ebx
push ebx
push dword [esp + 0x44]
push dword [esp + 0x38]
push esi
call fcn.00469a0e
add esp, 0x1c
xor edi, edi
mov ecx, dword [esp + edi + 0x114]
push ebx
push ebx
push dword [esp + edi + 0x7c]
push dword [esp + edi + 0x54]
push esi
call fcn.00469a0e
add edi, 4
add esp, 0x14
cmp edi, 0x18
jl 0x49bfc6
mov ecx, dword [esp + 0x94]
push ebx
push ebx
push dword [esp + 0x28]
push dword [esp + 0x48]
push esi
call fcn.00469a0e
add esp, 0x14
push ebx
push ebx
push esi
xor eax, eax
call fcn.00469231
add esp, 0xc
xor eax, eax
push 7
inc eax
cmp dword [esp + 0x4c], ebx
pop ecx
lea edi, [esp + 0xa0]
rep stosd dword es:[edi], eax
jle 0x49c032
cmp dword [esp + 0x48], 0x50
jge 0x49c045
add dword [esp + 0x48], 7
jmp 0x49c03e
cmp dword [esp + 0x48], 0xffffffb0
jle 0x49c045
sub dword [esp + 0x48], 8
mov dword [esp + 0xa0], ebx
cmp dword [esp + 0x24], 0xfffffff1
jle 0x49c05f
cmp dword [esp + 0x34], 0xfffffff7
jle 0x49c05f
sub dword [esp + 0x24], 4
mov dword [esp + 0xa0], ebx
cmp dword [esp + 0x4c], 0xfffffff6
jle 0x49c07b
cmp dword [esp + 0x78], 0xfffffff7
jle 0x49c07b
sub dword [esp + 0x4c], 3
mov dword [esp + 0xa4], ebx
jmp 0x49c095
cmp dword [esp + 0x50], 0xfffffff6
jle 0x49c095
cmp dword [esp + 0x7c], 0xfffffff7
jle 0x49c095
sub dword [esp + 0x50], 5
mov dword [esp + 0xa8], ebx
cmp dword [esp + 0x5c], 0x50
jge 0x49c0b4
cmp dword [esp + 0x88], 0xfffffff7
jle 0x49c0b4
add dword [esp + 0x5c], 3
mov dword [esp + 0xb4], ebx
jmp 0x49c0d1
cmp dword [esp + 0x58], 0x50
jge 0x49c0d1
cmp dword [esp + 0x84], 0xfffffff7
jle 0x49c0d1
add dword [esp + 0x58], 5
mov dword [esp + 0xb0], ebx
cmp dword [esp + 0x88], 1
jge 0x49c0ee
cmp dword [esp + 0x80], 0xfffffff7
jle 0x49c119
dec dword [esp + 0x80]
jmp 0x49c112
cmp dword [esp + 0xa4], ebx
je 0x49c119
cmp dword [esp + 0xb4], ebx
je 0x49c119
cmp dword [esp + 0x80], 0x51
jge 0x49c119
add dword [esp + 0x80], 5
mov dword [esp + 0xac], ebx
cmp dword [esp + 0x20], 0x1c
jge 0x49c12c
add dword [esp + 0x20], 2
mov dword [esp + 0xb8], ebx
call fcn.00498efc
sub eax, dword [esp + 0x18]
cmp eax, 0x14
ja 0x49c159
push 0x14
pop ecx
sub ecx, eax
js 0x49c151
cmp ecx, 0x7fffffff
jge 0x49c151
push 0x14
pop ecx
sub ecx, eax
push ecx
jmp 0x49c153
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
cmp dword [esp + eax*4 + 0xa0], ebx
je 0x49c16a
inc eax
cmp eax, 6
jle 0x49c15b
cmp eax, 6
jl 0x49bf8c
mov edi, 0x4cd764
push edi
mov dword [0x613b88], 1
call fcn.0040ce7c
mov eax, dword [esp + 0x70]
pop ecx
call fcn.004724f4
mov eax, dword [esp + 0xd0]
call fcn.004724f4
mov eax, dword [esp + 0xe4]
call fcn.004724f4
mov eax, dword [esp + 0xd8]
call fcn.004724f4
mov eax, dword [esp + 0xec]
call fcn.004724f4
mov eax, dword [esp + 0xe0]
call fcn.004724f4
mov eax, dword [esp + 0xf4]
call fcn.004724f4
mov eax, dword [esp + 0xfc]
call fcn.004724f4
mov eax, dword [esp + 0x108]
call fcn.004724f4
mov eax, dword [esp + 0xf0]
call fcn.004724f4
mov eax, dword [esp + 0x100]
call fcn.004724f4
mov eax, dword [esp + 0x60]
call fcn.004724f4
mov eax, dword [esp + 0xf8]
call fcn.004724f4
mov eax, dword [esp + 0x30]
call fcn.004724f4
mov eax, dword [esp + 0xcc]
call fcn.004724f4
mov eax, dword [esp + 0xd4]
call fcn.004724f4
mov eax, dword [esp + 0x98]
call fcn.004690aa
mov eax, dword [esp + 0x94]
call fcn.004690aa
mov eax, esi
call fcn.004690aa
xor esi, esi
mov eax, dword [esp + esi*4 + 0x114]
call fcn.004690aa
inc esi
cmp esi, 6
jl 0x49c261
cmp dword [0x613b94], ebx
je 0x49c27f
mov dword [esp + 0x28], ebx
cmp dword [esp + 0x28], ebx
jne 0x49c2d6
call fcn.0040ee5d
test eax, eax
jne 0x49c2ca
push ebx
call fcn.00473eea
pop ecx
push ebx
push ebx
call fcn.00459cf0
push eax
push str._sSoundsIntroWait9.dav
push ebx
call fcn.00476e51
add esp, 0x14
push eax
call fcn.00472225
pop ecx
mov esi, eax
push 1
mov ecx, esi
call fcn.00473097
pop ecx
mov eax, esi
call fcn.004724f4
jmp 0x49c376
push 1
call fcn.00473eea
jmp 0x49c375
jg 0x49c376
cmp dword [esp + 0x14], 6
jae 0x49c352
call fcn.00498efc
sub eax, dword [esp + 0x18]
cmp eax, 0x2bf20
ja 0x49c352
cmp dword [esp + 0x14], 4
jae 0x49c33d
call fcn.00498efc
sub eax, dword [esp + 0x18]
cmp eax, 0x1d4c0
ja 0x49c33d
cmp dword [esp + 0x14], 2
jae 0x49c328
call fcn.00498efc
sub eax, dword [esp + 0x18]
cmp eax, 0x7530
ja 0x49c328
cmp dword [esp + 0x38], 2
jl 0x49c376
call fcn.0040ee32
push eax
push ebx
push ebx
call fcn.00459cf0
push eax
push str._sSoundsIntroResponse1.dav
jmp 0x49c365
call fcn.0040ee32
push eax
push ebx
push ebx
call fcn.00459cf0
push eax
push str._sSoundsIntroResponse2.dav
jmp 0x49c365
call fcn.0040ee32
push eax
push ebx
push ebx
call fcn.00459cf0
push eax
push str._sSoundsIntroResponse3.dav
push ebx
call fcn.00476e51
add esp, 0x14
push eax
call fcn.004738e6
pop ecx
pop ecx
mov eax, dword [esp + 0xdc]
cmp eax, ebx
je 0x49c386
call fcn.0040c5b0
mov ecx, edi
call fcn.0040c606
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004a69f5
mov esp, ebp
pop ebp
ret