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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1bc
mov eax, dword [0x5065d0]
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.004ab5d0
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
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
lea edi, [esp + 0x7c]
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
mov dword [esp + 0x98], ebx
lea edi, [esp + 0x9c]
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.0040c643
test eax, eax
je 0x49e4a2
call fcn.0040c6a1
call fcn.0040c672
mov dword [esp + 0xdc], eax
jmp 0x49e4a9
mov dword [esp + 0xdc], ebx
call fcn.0043f2a4
cmp eax, 0x35a5011f
je 0x49e4ba
call fcn.0049e159
mov ecx, 0x4d236c
call fcn.0040c7eb
push ebx
call fcn.0040d068
mov dword [esp], 0x309
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push ebx
call fcn.0045aa3a
push eax
push str._sSoundsKaChing.wav
push ebx
call fcn.0047822b
add esp, 0x14
push eax
call fcn.0047387f
pop ecx
push ebx
push ebx
mov dword [esp + 0xd0], eax
call fcn.0045aa3a
push eax
push str._sSoundsIntroWait1.dav
push ebx
call fcn.0047822b
add esp, 0x14
push eax
call fcn.0047387f
pop ecx
push ebx
push ebx
mov dword [esp + 0x100], eax
call fcn.0045aa3a
push eax
push str._sSoundsIntroWait2.dav
push ebx
call fcn.0047822b
add esp, 0x14
push eax
call fcn.0047387f
pop ecx
push ebx
push ebx
mov dword [esp + 0xd8], eax
call fcn.0045aa3a
push eax
push str._sSoundsIntroWait3.dav
push ebx
call fcn.0047822b
add esp, 0x14
push eax
call fcn.0047387f
pop ecx
push ebx
push ebx
mov dword [esp + 0xec], eax
call fcn.0045aa3a
push eax
push str._sSoundsIntroWait4.dav
push ebx
call fcn.0047822b
add esp, 0x14
push eax
call fcn.0047387f
pop ecx
push ebx
push ebx
mov dword [esp + 0xe0], eax
call fcn.0045aa3a
push eax
push str._sSoundsIntroWait5.dav
push ebx
call fcn.0047822b
add esp, 0x14
push eax
call fcn.0047387f
pop ecx
push ebx
push ebx
mov dword [esp + 0xf4], eax
call fcn.0045aa3a
push eax
push str._sSoundsIntroWait6.dav
push ebx
call fcn.0047822b
add esp, 0x14
push eax
call fcn.0047387f
pop ecx
push ebx
push ebx
mov dword [esp + 0xe8], eax
call fcn.0045aa3a
push eax
push str._sSoundsIntroWait7.dav
push ebx
call fcn.0047822b
add esp, 0x14
push eax
call fcn.0047387f
pop ecx
push ebx
push ebx
mov dword [esp + 0xfc], eax
call fcn.0045aa3a
push eax
push str._sSoundsIntroWait8.dav
push ebx
call fcn.0047822b
add esp, 0x14
push eax
call fcn.0047387f
pop ecx
push ebx
push ebx
mov dword [esp + 0x104], eax
call fcn.0045aa3a
push eax
push str._sSoundsIntroPaulaDrop.dav
push ebx
call fcn.0047822b
add esp, 0x14
push eax
call fcn.0047387f
pop ecx
push ebx
push ebx
mov dword [esp + 0x110], eax
call fcn.0045aa3a
push eax
push str._sSoundsIntroRevision.dav
push ebx
call fcn.0047822b
add esp, 0x14
push eax
call fcn.0047387f
pop ecx
push ebx
push ebx
mov dword [esp + 0xf8], eax
call fcn.0045aa3a
push eax
push str._sSoundsIntroNapaLogo.dav
push ebx
call fcn.0047822b
add esp, 0x14
push eax
call fcn.0047387f
pop ecx
push ebx
push ebx
mov dword [esp + 0xcc], eax
call fcn.0045aa3a
push eax
push str._sSoundsIntroLeaving.dav
push ebx
call fcn.0047822b
add esp, 0x14
push eax
call fcn.0047387f
pop ecx
mov dword [esp + 0x100], eax
push ebx
push ebx
call fcn.0045aa3a
push eax
push str._sSoundsIntroAcronym.dav
push ebx
call fcn.0047822b
add esp, 0x14
push eax
call fcn.0047387f
pop ecx
push ebx
push ebx
mov dword [esp + 0x38], eax
call fcn.0045aa3a
push eax
push str._sSoundsIntroPing.dav
push ebx
call fcn.0047822b
add esp, 0x14
push eax
call fcn.0047387f
pop ecx
push ebx
push ebx
mov dword [esp + 0xd4], eax
call fcn.0045aa3a
push eax
push str._sSoundsIntroPing2.dav
push ebx
call fcn.0047822b
add esp, 0x14
push eax
call fcn.0047387f
pop ecx
mov dword [esp + 0xd4], eax
call fcn.0040c4e5
mov esi, eax
call fcn.0040c567
mov ecx, eax
mov eax, esi
call fcn.0046b4ec
mov dword [esp + 0xc0], eax
call fcn.0049df65
push 0x4fdb24
lea esi, [esp + 0x118]
mov dword [esp + 0x94], eax
call fcn.0041e897
pop ecx
call fcn.0049e0b7
mov dword [esp + 0x8c], eax
xor eax, eax
call fcn.0049f8d5
xor edx, edx
call fcn.0049f98d
call fcn.0049e30a
push eax
push 0x37
pop ecx
lea eax, [esp + 0x190]
call fcn.00476b6c
pop ecx
push 0x2e
xor eax, eax
lea edi, [esp + 0x190]
call fcn.0047797b
cmp dword [0x6183a0], ebx
pop ecx
je 0x49e7ef
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.0049ce66
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.0046df3d
push eax
push str.._04d
lea eax, [esp + 0x1a4]
push 0x37
push eax
call fcn.004781b1
add esp, 0x20
push 0x24
pop eax
mov dword [esp + 0x48], 0x59
mov dword [esp + 0x6c], 9
mov dword [esp + 0x4c], 0x13
mov dword [esp + 0x70], 0xffffffd4
mov dword [esp + 0x50], 0x1b
mov dword [esp + 0x74], 0xffffffce
mov dword [esp + 0x54], eax
mov dword [esp + 0x78], 0xffffffc8
mov dword [esp + 0x58], 0x2d
mov dword [esp + 0x7c], 0xffffffc2
mov dword [esp + 0x5c], 0x35
mov dword [esp + 0x80], 0xffffffbc
mov dword [esp + 0x40], ebx
mov dword [esp + 0x20], eax
call fcn.0049c471
mov dword [esp + 0x18], eax
xor edi, edi
cmp dword [esp + edi + 0x98], ebx
jne 0x49e885
mov eax, dword [esp + edi + 0x48]
push ebx
push dword [esp + edi + 0x70]
push dword [esp + edi + 0x11c]
call fcn.0046b786
add esp, 0xc
add edi, 4
cmp edi, 0x18
jl 0x49e864
cmp dword [esp + 0xb0], ebx
jne 0x49e8ae
mov eax, dword [esp + 0x40]
push ebx
push dword [esp + 0x24]
push dword [esp + 0x94]
call fcn.0046b786
add esp, 0xc
xor esi, esi
inc esi
cmp dword [esp + 0x48], ebx
mov dword [esp + 0x98], esi
jle 0x49e8ce
sub dword [esp + 0x48], 3
cmp dword [esp + 0x48], ebx
mov dword [esp + 0x98], ebx
jge 0x49e8d4
mov dword [esp + 0x48], ebx
cmp dword [esp + 0x6c], 9
jge 0x49e8e6
inc dword [esp + 0x6c]
mov dword [esp + 0x98], ebx
xor edi, edi
lea eax, [esp + edi + 0x70]
mov ecx, dword [eax]
cmp ecx, esi
jge 0x49e8fe
inc ecx
mov dword [eax], ecx
mov dword [esp + edi + 0x9c], ebx
jmp 0x49e919
lea eax, [esp + edi + 0x9c]
cmp dword [eax], ebx
jne 0x49e919
mov ecx, dword [esp + 0x108]
push ebx
mov dword [eax], esi
call fcn.004746fa
pop ecx
add edi, 4
cmp edi, 0x14
jl 0x49e8e8
cmp dword [esp + 0x40], ebx
mov dword [esp + 0xb0], esi
jle 0x49e939
dec dword [esp + 0x40]
mov dword [esp + 0xb0], ebx
cmp dword [esp + 0x20], 0xb
jle 0x49e94b
dec dword [esp + 0x20]
mov dword [esp + 0xb0], ebx
call fcn.0049c471
sub eax, dword [esp + 0x18]
push 0xa
pop edx
cmp eax, edx
ja 0x49e976
mov ecx, edx
sub ecx, eax
js 0x49e96b
cmp ecx, 0x7fffffff
jge 0x49e96b
sub edx, eax
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push edx
call esi
jmp 0x49e97c
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
cmp dword [esp + eax*4 + 0x98], ebx
je 0x49e98d
inc eax
cmp eax, 6
jle 0x49e97e
cmp eax, 6
jge 0x49e9a4
mov eax, 0x6183ac
call fcn.0049f8d5
test eax, eax
je 0x49e859
mov eax, 0x6183ac
mov dword [esp + 0x24], 0xfffffff3
mov dword [esp + 0x34], 2
call fcn.0049f8d5
test eax, eax
jne 0x49e9d0
mov ecx, dword [esp + 0xc4]
push ebx
call fcn.004746fa
pop ecx
call fcn.0049c471
push ebx
push dword [esp + 0x38]
mov edi, eax
push dword [esp + 0x98]
mov eax, dword [esp + 0x30]
call fcn.0046b786
add esp, 0xc
cmp dword [esp + 0x24], 3
mov dword [esp + 0x98], 1
jge 0x49ea0c
inc dword [esp + 0x24]
mov dword [esp + 0x98], ebx
cmp dword [esp + 0x34], 2
jge 0x49ea1e
inc dword [esp + 0x34]
mov dword [esp + 0x98], ebx
call fcn.0049c471
sub eax, edi
cmp eax, 0xa
ja 0x49ea45
push 0xa
pop ecx
sub ecx, eax
js 0x49ea41
cmp ecx, 0x7fffffff
jge 0x49ea41
push 0xa
pop ecx
sub ecx, eax
push ecx
jmp 0x49ea43
push 0xa
call esi
cmp dword [esp + 0x98], ebx
jne 0x49ea60
mov eax, 0x6183ac
call fcn.0049f8d5
test eax, eax
je 0x49e9d0
mov eax, 0x6183ac
call fcn.0049f8d5
test eax, eax
jne 0x49ead1
xor edi, edi
mov eax, 0x6183ac
call fcn.0049f8d5
test eax, eax
jne 0x49ea88
push 0x64
call esi
inc edi
cmp edi, 5
jl 0x49ea70
mov ecx, dword [esp + 0xc8]
push ebx
call fcn.004746fa
pop ecx
push 2
push 0x3b
call fcn.0040c199
push 0x4fe010
call fcn.0040c935
add esp, 0xc
push str.____2
call fcn.0040de4c
pop ecx
xor edi, edi
mov eax, 0x6183ac
call fcn.0049f8d5
test eax, eax
jne 0x49ead1
push 0x64
call esi
inc edi
cmp edi, 0xa
jl 0x49eab9
cmp dword [0x6183a4], ebx
je 0x49eae3
call fcn.0049c471
mov dword [0x6183a8], eax
mov eax, 0x6183ac
call fcn.0049f8d5
test eax, eax
jne 0x49f463
inc eax
push 9
pop ecx
mov dword [esp + 0x64], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x84], 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 + 0xe8], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x104], ebx
mov dword [esp + 0x3c], 2
mov dword [esp + 0x10c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x68], ebx
xor edi, edi
call fcn.004aba8c
and eax, reloc.WSOCK32.dll_closesocket
jns 0x49eb6f
dec eax
or eax, 0xfffffffc
inc eax
add eax, 5
mov dword [esp + edi*4 + 0x13c], eax
inc edi
cmp edi, 0xa
jl 0x49eb5e
xor eax, eax
lea ecx, [eax + 0x40]
mov dword [esp + eax*4 + 0x164], ecx
inc eax
cmp eax, 0xa
jl 0x49eb81
call fcn.0049c471
mov dword [esp + 0x18], eax
test byte [esp + 0x94], 1
je 0x49ebae
cmp dword [esp + 0x64], ebx
je 0x49ebc2
push 0x1e
jmp 0x49ebb6
cmp dword [esp + 0x64], ebx
je 0x49ebc2
push 0x1f
push 2
pop esi
push 0x3f
pop edi
call fcn.0040b16e
pop ecx
mov dword [esp + 0x64], ebx
call fcn.0049c471
sub eax, dword [esp + 0xe8]
cmp eax, 0x87
jb 0x49ebf4
call fcn.0049c471
inc dword [esp + 0x94]
mov dword [esp + 0xe8], eax
mov dword [esp + 0x64], 1
call fcn.0049c471
sub eax, dword [esp + 0x68]
cmp eax, 0x16
jae 0x49ec0b
cmp eax, 0x2d
jb 0x49ecb3
lea eax, [esp + 0x18c]
push eax
xor esi, esi
call fcn.004aa880
test eax, eax
pop ecx
jle 0x49ecaa
cmp dword [esp + esi*4 + 0x13c], 2
jg 0x49ec42
lea eax, [esp + 0x18c]
push eax
inc esi
call fcn.004aa880
cmp esi, eax
pop ecx
jl 0x49ec23
jmp 0x49ecaa
lea eax, [esp + esi*4 + 0x13c]
dec dword [eax]
mov edi, dword [eax]
push 0x4fe01c
mov dword [esp + 0x114], edi
call fcn.0040c935
mov eax, dword [esp + esi*4 + 0x168]
pop ecx
push edi
push eax
mov dword [esp + 0x70], eax
call fcn.0040c199
movsx ebx, byte [esp + esi + 0x194]
call fcn.0040f00e
lea esi, [edi + 1]
mov edi, dword [esp + 0x70]
push 0x20
call fcn.0040afeb
add esp, 0xc
cmp dword [esp + 0x110], 2
jg 0x49eca8
mov ecx, dword [esp + 0xf0]
push 0
call fcn.004746fa
pop ecx
xor ebx, ebx
call fcn.0049c471
mov dword [esp + 0x68], eax
mov eax, dword [0x6183a4]
cmp eax, ebx
je 0x49ecfa
call fcn.0049c471
sub eax, dword [0x6183a8]
cmp eax, 0x493e0
jbe 0x49ecd7
xor eax, eax
mov dword [0x6183a4], eax
jmp 0x49ecdc
mov eax, dword [0x6183a4]
cmp eax, ebx
je 0x49ecfa
cmp dword [esp + 0x44], ebx
jne 0x49ed16
call fcn.0049c471
sub eax, dword [esp + 0x18]
mov dword [esp + 0x44], eax
mov eax, dword [0x6183a4]
jmp 0x49ed16
cmp dword [esp + 0x44], ebx
je 0x49ed12
call fcn.0049c471
sub eax, dword [esp + 0x44]
mov dword [esp + 0x18], eax
mov eax, dword [0x6183a4]
mov dword [esp + 0x44], ebx
cmp dword [esp + 0x88], ebx
je 0x49ee4d
mov ecx, dword [esp + 0x3c]
sub ecx, 3
je 0x49ee1e
dec ecx
je 0x49edfb
dec ecx
je 0x49edd9
dec ecx
je 0x49edb6
dec ecx
je 0x49ed90
push 0x17
push 0xa
pop esi
push 0xf
pop edi
call fcn.0040b16e
pop ecx
push 0x17
pop edi
push edi
call fcn.0040b16e
pop ecx
push edi
push 0x21
pop edi
call fcn.0040b16e
pop ecx
push 0x17
push 0x2f
pop edi
call fcn.0040b16e
pop ecx
push 0x17
push 0x38
pop edi
call fcn.0040b16e
cmp dword [esp + 0x40], 3
pop ecx
jbe 0x49ee46
mov dword [esp + 0x3c], ebx
jmp 0x49ee46
cmp eax, ebx
jne 0x49ed9f
mov ecx, dword [esp + 0x30]
push ebx
call fcn.004746fa
pop ecx
push 0x17
push 0xa
pop esi
push 0x2f
pop edi
call fcn.0040b16e
pop ecx
push 0x1f
push 0x38
jmp 0x49ee3f
cmp eax, ebx
jne 0x49edc5
mov ecx, dword [esp + 0x30]
push ebx
call fcn.004746fa
pop ecx
push 0x17
push 0xa
pop esi
push 0x21
pop edi
call fcn.0040b16e
pop ecx
push 0x1f
push 0x2f
jmp 0x49ee3f
cmp eax, ebx
jne 0x49ede8
mov ecx, dword [esp + 0x30]
push ebx
call fcn.004746fa
pop ecx
push 0x17
pop edi
push edi
push 0xa
pop esi
call fcn.0040b16e
pop ecx
push 0x1f
push 0x21
jmp 0x49ee3f
cmp eax, ebx
jne 0x49ee0a
mov ecx, dword [esp + 0x30]
push ebx
call fcn.004746fa
pop ecx
push 0x17
push 0xa
pop esi
push 0xf
pop edi
call fcn.0040b16e
pop ecx
push 0x1f
push 0x17
jmp 0x49ee3f
cmp eax, ebx
jne 0x49ee2d
mov ecx, dword [esp + 0x30]
push ebx
call fcn.004746fa
pop ecx
push 0x17
push 0xa
pop esi
push 0x38
pop edi
call fcn.0040b16e
pop ecx
push 0x1f
push 0xf
pop edi
call fcn.0040b16e
pop ecx
mov dword [esp + 0x88], ebx
call fcn.0049c471
sub eax, dword [esp + 0x104]
mov esi, 0x309
cmp eax, esi
jb 0x49ee8d
call fcn.0049c471
sub eax, dword [esp + 0x18]
cmp eax, 0xbb8
jbe 0x49ee8d
call fcn.0049c471
inc dword [esp + 0x3c]
mov dword [esp + 0x104], eax
mov dword [esp + 0x88], 1
cmp dword [esp + 0x84], ebx
je 0x49ef29
test byte [esp + 0x60], 3
je 0x49eec3
push 0x17
push 0x15
call fcn.0040c199
push 0x4c9da0
call fcn.0040c935
add esp, 0xc
push str.Press_New_Line_to_Begin_Accounting.
call fcn.0040de4c
jmp 0x49ef21
cmp dword [esp + 0x60], ebx
jbe 0x49ef22
cmp dword [0x6183a4], ebx
jne 0x49eef5
inc dword [0x618408]
cmp dword [0x618408], 4
mov ecx, dword [esp + 0xcc]
push ebx
jle 0x49eeef
mov ecx, dword [esp + 0xd8]
call fcn.004746fa
pop ecx
push 0x17
push 0x15
call fcn.0040c199
push 0x4c9d9c
call fcn.0040c935
add esp, 0xc
push str.Press_New_Line_to_Begin_Accounting.
call fcn.0040de4c
mov dword [esp], 0x4c9da0
call fcn.0040c935
pop ecx
mov dword [esp + 0x84], ebx
call fcn.0049c471
sub eax, dword [esp + 0x10c]
cmp eax, esi
jb 0x49ef64
call fcn.0049c471
sub eax, dword [esp + 0x18]
cmp eax, 0x7d0
jbe 0x49ef64
call fcn.0049c471
inc dword [esp + 0x60]
mov dword [esp + 0x10c], eax
mov dword [esp + 0x84], 1
cmp dword [0x6183bc], ebx
jne 0x49f2e1
cmp dword [0x6183a4], ebx
jne 0x49f2e1
mov eax, dword [esp + 0x14]
push 7
pop esi
cmp eax, esi
ja case.default.0x49ef8b
jmp dword [eax*4 + 0x49f8b5]
call fcn.0049c471
sub eax, dword [esp + 0x18]
cmp eax, 0x2710
jbe 0x49f2ee
mov edi, dword [esp + 0xf8]
push ebx
mov ecx, edi
call fcn.004746fa
pop ecx
mov dword [esp + 0x1c], edi
call fcn.0049c471
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 1
jmp 0x49f2ee
call fcn.0049c471
sub eax, dword [esp + 0x10]
cmp eax, 0x7530
jbe 0x49f2ee
call fcn.0049c471
sub eax, dword [esp + 0x2c]
cmp eax, 0x2710
jbe 0x49f2ee
mov edi, dword [esp + 0xd0]
push ebx
mov ecx, edi
call fcn.004746fa
pop ecx
mov dword [esp + 0x1c], edi
call fcn.0049c471
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 2
jmp 0x49f2ee
call fcn.0049c471
sub eax, dword [esp + 0x10]
cmp eax, 0x7530
jbe 0x49f2ee
call fcn.0049c471
sub eax, dword [esp + 0x2c]
cmp eax, 0x2710
jbe 0x49f2ee
mov edi, dword [esp + 0xe4]
push ebx
mov ecx, edi
call fcn.004746fa
pop ecx
mov dword [esp + 0x1c], edi
call fcn.0049c471
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 3
jmp 0x49f2ee
call fcn.0049c471
sub eax, dword [esp + 0x10]
cmp eax, 0x7530
jbe 0x49f2ee
call fcn.0049c471
sub eax, dword [esp + 0x2c]
cmp eax, 0x2710
jbe 0x49f2ee
mov edi, dword [esp + 0xd8]
push ebx
mov ecx, edi
call fcn.004746fa
pop ecx
mov dword [esp + 0x1c], edi
call fcn.0049c471
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 4
jmp 0x49f2ee
call fcn.0049c471
sub eax, dword [esp + 0x10]
cmp eax, 0xea60
jbe 0x49f2ee
call fcn.0049c471
sub eax, dword [esp + 0x2c]
cmp eax, 0x2710
jbe 0x49f2ee
mov edi, dword [esp + 0xec]
push ebx
mov ecx, edi
call fcn.004746fa
pop ecx
mov dword [esp + 0x1c], edi
call fcn.0049c471
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 5
jmp 0x49f2ee
call fcn.0049c471
sub eax, dword [esp + 0x10]
cmp eax, 0x7530
jbe 0x49f2ee
call fcn.0049c471
sub eax, dword [esp + 0x2c]
cmp eax, 0x2710
jbe 0x49f2ee
mov edi, dword [esp + 0xe0]
push ebx
mov ecx, edi
call fcn.004746fa
pop ecx
mov dword [esp + 0x1c], edi
call fcn.0049c471
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 6
jmp 0x49f2ee
call fcn.0049c471
sub eax, dword [esp + 0x10]
cmp eax, 0xea60
jbe 0x49f2ee
call fcn.0049c471
sub eax, dword [esp + 0x2c]
cmp eax, 0x2710
jbe 0x49f2ee
mov edi, dword [esp + 0xf4]
push ebx
mov ecx, edi
call fcn.004746fa
pop ecx
mov dword [esp + 0x1c], edi
call fcn.0049c471
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], esi
jmp 0x49f2ee
call fcn.0049c471
sub eax, dword [esp + 0x10]
cmp eax, 0x7530
jbe 0x49f2ee
mov edi, dword [esp + 0xfc]
push ebx
mov ecx, edi
call fcn.004746fa
pop ecx
mov dword [esp + 0x1c], edi
call fcn.0049c471
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 8
call fcn.0049f942
test eax, eax
je 0x49f3d2
mov eax, 0x6183ac
call fcn.0049f8d5
test eax, eax
jne 0x49f3d2
cmp dword [esp + 0x14], ebx
jbe 0x49f3d2
cmp dword [0x6183a4], ebx
jne 0x49f3d2
call fcn.0049c471
sub eax, dword [0x61840c]
cmp eax, 0xbb8
jbe 0x49f3c1
call fcn.0049c471
mov ecx, dword [0x618414]
sub eax, dword [esp + 0x10]
add ecx, 0xbb8
cmp eax, ecx
jbe 0x49f3c1
mov eax, dword [esp + 0x1c]
call fcn.00474f9b
test eax, eax
jne 0x49f3a3
call fcn.0049c471
sub eax, dword [0x618410]
cmp eax, 0x1b58
jb 0x49f3a3
call fcn.0049c471
mov ecx, dword [0x618418]
inc dword [esp + 0x38]
cmp ecx, ebx
mov dword [0x61840c], eax
jle 0x49f32f
xor edi, edi
call fcn.004aba8c
mov ecx, dword [0x618418]
cdq
idiv ecx
inc edx
cmp edx, dword [0x61841c]
jne 0x49f333
inc edi
cmp edi, 0xa
jl 0x49f29e
jmp 0x49f333
call fcn.0049c471
sub eax, dword [esp + 0x10]
cmp eax, 0x1f40
jbe 0x49f2e4
inc dword [esp + 0x14]
mov esi, dword [esp + 0xc0]
mov dword [esp + 0x28], ebx
jmp 0x49f6a0
push 7
pop esi
cmp dword [esp + 0x14], esi
ja 0x49f1f1
call fcn.0049c471
sub eax, dword [esp + 0x10]
cmp eax, 0x2710
jbe 0x49f1f1
call fcn.0049c471
sub eax, dword [esp + 0x18]
cmp eax, 0x50910
jbe 0x49f1f1
cmp dword [0x6183a4], ebx
jne 0x49f3d2
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
jmp 0x49f3d2
mov edx, dword [esp + 0x38]
cmp ecx, ebx
mov dword [0x61841c], edx
jle 0x49f350
lea eax, [ecx + ecx]
cmp dword [esp + 0x38], eax
jle 0x49f350
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
jmp 0x49f3c1
push edx
push ebx
push ebx
call fcn.0045aa3a
pop ecx
pop ecx
push eax
push str._sSoundsIntroIntel_d.dav
push ebx
call fcn.0047822b
push eax
call fcn.00474f69
add esp, 0x14
test eax, eax
jne 0x49f393
cmp dword [0x618418], ebx
jne 0x49f393
mov eax, dword [esp + 0x38]
cmp eax, ebx
jle 0x49f393
add dword [0x618414], 0x2ee0
dec eax
mov dword [0x618418], eax
call fcn.0049c471
mov dword [esp + 0x10], eax
mov dword [0x618410], eax
jmp 0x49f3c1
cmp dword [0x61840c], ebx
jne 0x49f3b7
call fcn.0049c471
mov dword [0x61840c], eax
jmp 0x49f3c1
add dword [0x61840c], 0x7d0
cmp dword [0x618418], ebx
jne 0x49f3d2
call fcn.0049c471
mov dword [esp + 0x2c], eax
mov esi, 0x6183ac
mov edx, esi
call fcn.0049f98d
cmp eax, ebx
je 0x49f3ff
cmp eax, 0x13
jne 0x49f431
call fcn.0049e159
call fcn.0049c471
mov dword [esp + 0x10], eax
call fcn.0049c471
mov dword [0x6183a8], eax
call fcn.0040aa55
test eax, eax
je 0x49f418
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.0040a6bc
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, esi
call fcn.0049f8d5
test eax, eax
je 0x49eb9a
jmp 0x49f463
push 0x20001
push ebx
push ebx
push ebx
mov dword [esp + 0x38], eax
call fcn.0045aa3a
push eax
push str._sSoundsCodeEntered.wav
push ebx
call fcn.0047822b
add esp, 0x14
push eax
call dword [sym.imp.WINMM.dll_PlaySoundA]
push 0x2ee
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.004751c3
mov eax, 0x6183ac
call fcn.0049f8d5
test eax, eax
je 0x49f49a
cmp dword [esp + 0x28], ebx
jne 0x49f481
or dword [esp + 0x28], 0xffffffff
call fcn.0040aa55
test eax, eax
je 0x49f49a
push 0x4e20
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.0040a6bc
cmp dword [esp + 0x70], ebx
jl 0x49f4ae
mov ecx, dword [esp + 0x100]
push ebx
call fcn.004746fa
pop ecx
push 0x28
lea eax, [esp + 0x9c]
push ebx
push eax
call fcn.004ab5d0
mov esi, dword [esp + 0xcc]
add esp, 0xc
call fcn.0049c471
xor ecx, ecx
mov dword [esp + 0x18], eax
call fcn.0040c7eb
push eax
push esi
call fcn.0046d0a1
mov ecx, esi
call fcn.0046c80d
mov ecx, dword [esp + 0x98]
push ebx
push ebx
push dword [esp + 0x44]
push dword [esp + 0x38]
push esi
call fcn.0046bf63
add esp, 0x1c
xor edi, edi
mov ecx, dword [esp + edi + 0x114]
push ebx
push ebx
push dword [esp + edi + 0x74]
push dword [esp + edi + 0x54]
push esi
call fcn.0046bf63
add edi, 4
add esp, 0x14
cmp edi, 0x18
jl 0x49f502
mov ecx, dword [esp + 0x8c]
push ebx
push ebx
push dword [esp + 0x28]
push dword [esp + 0x4c]
push esi
call fcn.0046bf63
add esp, 0x14
push ebx
push ebx
push esi
xor eax, eax
call fcn.0046b786
add esp, 0xc
xor eax, eax
push 7
inc eax
cmp dword [esp + 0x4c], ebx
pop ecx
lea edi, [esp + 0x98]
rep stosd dword es:[edi], eax
jle 0x49f56e
cmp dword [esp + 0x48], 0x50
jge 0x49f581
add dword [esp + 0x48], 7
jmp 0x49f57a
cmp dword [esp + 0x48], 0xffffffb0
jle 0x49f581
sub dword [esp + 0x48], 8
mov dword [esp + 0x98], ebx
cmp dword [esp + 0x24], 0xfffffff1
jle 0x49f59b
cmp dword [esp + 0x34], 0xfffffff7
jle 0x49f59b
sub dword [esp + 0x24], 4
mov dword [esp + 0x98], ebx
cmp dword [esp + 0x4c], 0xfffffff6
jle 0x49f5b7
cmp dword [esp + 0x70], 0xfffffff7
jle 0x49f5b7
sub dword [esp + 0x4c], 3
mov dword [esp + 0x9c], ebx
jmp 0x49f5d1
cmp dword [esp + 0x50], 0xfffffff6
jle 0x49f5d1
cmp dword [esp + 0x74], 0xfffffff7
jle 0x49f5d1
sub dword [esp + 0x50], 5
mov dword [esp + 0xa0], ebx
cmp dword [esp + 0x5c], 0x50
jge 0x49f5f0
cmp dword [esp + 0x80], 0xfffffff7
jle 0x49f5f0
add dword [esp + 0x5c], 3
mov dword [esp + 0xac], ebx
jmp 0x49f60a
cmp dword [esp + 0x58], 0x50
jge 0x49f60a
cmp dword [esp + 0x7c], 0xfffffff7
jle 0x49f60a
add dword [esp + 0x58], 5
mov dword [esp + 0xa8], ebx
cmp dword [esp + 0x80], 1
jge 0x49f621
cmp dword [esp + 0x78], 0xfffffff7
jle 0x49f646
dec dword [esp + 0x78]
jmp 0x49f63f
cmp dword [esp + 0x9c], ebx
je 0x49f646
cmp dword [esp + 0xac], ebx
je 0x49f646
cmp dword [esp + 0x78], 0x51
jge 0x49f646
add dword [esp + 0x78], 5
mov dword [esp + 0xa4], ebx
cmp dword [esp + 0x20], 0x1c
jge 0x49f659
add dword [esp + 0x20], 2
mov dword [esp + 0xb0], ebx
call fcn.0049c471
sub eax, dword [esp + 0x18]
cmp eax, 0x14
ja 0x49f686
push 0x14
pop ecx
sub ecx, eax
js 0x49f67e
cmp ecx, 0x7fffffff
jge 0x49f67e
push 0x14
pop ecx
sub ecx, eax
push ecx
jmp 0x49f680
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
cmp dword [esp + eax*4 + 0x98], ebx
je 0x49f697
inc eax
cmp eax, 6
jle 0x49f688
cmp eax, 6
jl 0x49f4c8
mov edi, 0x4d236c
push edi
mov dword [0x6183ac], 1
call fcn.0040d068
mov eax, dword [esp + 0xcc]
pop ecx
call fcn.00473b4e
mov eax, dword [esp + 0xf8]
call fcn.00473b4e
mov eax, dword [esp + 0xd0]
call fcn.00473b4e
mov eax, dword [esp + 0xe4]
call fcn.00473b4e
mov eax, dword [esp + 0xd8]
call fcn.00473b4e
mov eax, dword [esp + 0xec]
call fcn.00473b4e
mov eax, dword [esp + 0xe0]
call fcn.00473b4e
mov eax, dword [esp + 0xf4]
call fcn.00473b4e
mov eax, dword [esp + 0xfc]
call fcn.00473b4e
mov eax, dword [esp + 0x108]
call fcn.00473b4e
mov eax, dword [esp + 0xf0]
call fcn.00473b4e
mov eax, dword [esp + 0x100]
call fcn.00473b4e
mov eax, dword [esp + 0xc4]
call fcn.00473b4e
mov eax, dword [esp + 0x30]
call fcn.00473b4e
mov eax, dword [esp + 0xcc]
call fcn.00473b4e
mov eax, dword [esp + 0xd4]
call fcn.00473b4e
mov eax, dword [esp + 0x90]
call fcn.0046b5ff
mov eax, dword [esp + 0x8c]
call fcn.0046b5ff
mov eax, esi
call fcn.0046b5ff
xor esi, esi
mov eax, dword [esp + esi*4 + 0x114]
call fcn.0046b5ff
inc esi
cmp esi, 6
jl 0x49f794
cmp dword [0x6183b8], ebx
je 0x49f7b2
mov dword [esp + 0x28], ebx
cmp dword [esp + 0x28], ebx
jne 0x49f7f4
push ebx
call fcn.00475553
pop ecx
push ebx
push ebx
call fcn.0045aa3a
push eax
push str._sSoundsIntroWait9.dav
push ebx
call fcn.0047822b
add esp, 0x14
push eax
call fcn.0047387f
pop ecx
mov esi, eax
push 1
mov ecx, esi
call fcn.004746fa
pop ecx
mov eax, esi
call fcn.00473b4e
jmp 0x49f885
jg 0x49f885
cmp dword [esp + 0x14], 6
jae 0x49f866
call fcn.0049c471
sub eax, dword [esp + 0x18]
cmp eax, 0x2bf20
ja 0x49f866
cmp dword [esp + 0x14], 4
jae 0x49f856
call fcn.0049c471
sub eax, dword [esp + 0x18]
cmp eax, 0x1d4c0
ja 0x49f856
cmp dword [esp + 0x14], 2
jae 0x49f846
call fcn.0049c471
sub eax, dword [esp + 0x18]
cmp eax, 0x7530
ja 0x49f846
cmp dword [esp + 0x38], 2
jl 0x49f885
push ebx
push ebx
push ebx
call fcn.0045aa3a
push eax
push str._sSoundsIntroResponse1.dav
jmp 0x49f874
push ebx
push ebx
push ebx
call fcn.0045aa3a
push eax
push str._sSoundsIntroResponse2.dav
jmp 0x49f874
push ebx
push ebx
push ebx
call fcn.0045aa3a
push eax
push str._sSoundsIntroResponse3.dav
push ebx
call fcn.0047822b
add esp, 0x14
push eax
call fcn.00474f4f
pop ecx
pop ecx
mov eax, dword [esp + 0xdc]
cmp eax, ebx
je 0x49f895
call fcn.0040c795
mov ecx, edi
call fcn.0040c7eb
mov ecx, dword [esp + 0x1c4]
mov eax, dword [esp + 0x28]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004aaeb5
mov esp, ebp
pop ebp
ret