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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1bc
mov eax, dword [0x5345d0]
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.004b53e0
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.0040c04f
test eax, eax
je 0x4a6f5d
call fcn.0040c0ad
call fcn.0040c07e
mov dword [esp + 0xdc], eax
jmp 0x4a6f64
mov dword [esp + 0xdc], ebx
call fcn.00440674
cmp eax, 0x35a5011f
je 0x4a6f75
call fcn.004a6bd1
mov ecx, 0x4e4ed4
call fcn.0040c204
push ebx
call fcn.0040ca81
mov dword [esp], 0x309
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push ebx
call fcn.0045e70f
push eax
push str._sSoundsKaChing.wav
push ebx
call fcn.0047daba
add esp, 0x14
push eax
call fcn.00478aeb
pop ecx
push ebx
push ebx
mov dword [esp + 0xd0], eax
call fcn.0045e70f
push eax
push str._sSoundsIntroWait1.dav
push ebx
call fcn.0047daba
add esp, 0x14
push eax
call fcn.00478aeb
pop ecx
push ebx
push ebx
mov dword [esp + 0x100], eax
call fcn.0045e70f
push eax
push str._sSoundsIntroWait2.dav
push ebx
call fcn.0047daba
add esp, 0x14
push eax
call fcn.00478aeb
pop ecx
push ebx
push ebx
mov dword [esp + 0xd8], eax
call fcn.0045e70f
push eax
push str._sSoundsIntroWait3.dav
push ebx
call fcn.0047daba
add esp, 0x14
push eax
call fcn.00478aeb
pop ecx
push ebx
push ebx
mov dword [esp + 0xec], eax
call fcn.0045e70f
push eax
push str._sSoundsIntroWait4.dav
push ebx
call fcn.0047daba
add esp, 0x14
push eax
call fcn.00478aeb
pop ecx
push ebx
push ebx
mov dword [esp + 0xe0], eax
call fcn.0045e70f
push eax
push str._sSoundsIntroWait5.dav
push ebx
call fcn.0047daba
add esp, 0x14
push eax
call fcn.00478aeb
pop ecx
push ebx
push ebx
mov dword [esp + 0xf4], eax
call fcn.0045e70f
push eax
push str._sSoundsIntroWait6.dav
push ebx
call fcn.0047daba
add esp, 0x14
push eax
call fcn.00478aeb
pop ecx
push ebx
push ebx
mov dword [esp + 0xe8], eax
call fcn.0045e70f
push eax
push str._sSoundsIntroWait7.dav
push ebx
call fcn.0047daba
add esp, 0x14
push eax
call fcn.00478aeb
pop ecx
push ebx
push ebx
mov dword [esp + 0xfc], eax
call fcn.0045e70f
push eax
push str._sSoundsIntroWait8.dav
push ebx
call fcn.0047daba
add esp, 0x14
push eax
call fcn.00478aeb
pop ecx
push ebx
push ebx
mov dword [esp + 0x104], eax
call fcn.0045e70f
push eax
push str._sSoundsIntroPaulaDrop.dav
push ebx
call fcn.0047daba
add esp, 0x14
push eax
call fcn.00478aeb
pop ecx
push ebx
push ebx
mov dword [esp + 0x110], eax
call fcn.0045e70f
push eax
push str._sSoundsIntroRevision.dav
push ebx
call fcn.0047daba
add esp, 0x14
push eax
call fcn.00478aeb
pop ecx
push ebx
push ebx
mov dword [esp + 0xf8], eax
call fcn.0045e70f
push eax
push str._sSoundsIntroNapaLogo.dav
push ebx
call fcn.0047daba
add esp, 0x14
push eax
call fcn.00478aeb
pop ecx
push ebx
push ebx
mov dword [esp + 0xcc], eax
call fcn.0045e70f
push eax
push str._sSoundsIntroLeaving.dav
push ebx
call fcn.0047daba
add esp, 0x14
push eax
call fcn.00478aeb
pop ecx
mov dword [esp + 0x100], eax
push ebx
push ebx
call fcn.0045e70f
push eax
push str._sSoundsIntroAcronym.dav
push ebx
call fcn.0047daba
add esp, 0x14
push eax
call fcn.00478aeb
pop ecx
push ebx
push ebx
mov dword [esp + 0x38], eax
call fcn.0045e70f
push eax
push str._sSoundsIntroPing.dav
push ebx
call fcn.0047daba
add esp, 0x14
push eax
call fcn.00478aeb
pop ecx
push ebx
push ebx
mov dword [esp + 0xd4], eax
call fcn.0045e70f
push eax
push str._sSoundsIntroPing2.dav
push ebx
call fcn.0047daba
add esp, 0x14
push eax
call fcn.00478aeb
pop ecx
mov dword [esp + 0xd4], eax
call fcn.0040bec5
mov esi, eax
call fcn.0040bf5d
mov ecx, eax
mov eax, esi
call fcn.0046f915
mov dword [esp + 0xc0], eax
call fcn.004a69b4
push 0x5282ac
lea esi, [esp + 0x118]
mov dword [esp + 0x94], eax
call fcn.0041f11a
pop ecx
call fcn.004a6b1d
mov dword [esp + 0x8c], eax
xor eax, eax
call fcn.004a8390
xor edx, edx
call fcn.004a8448
call fcn.004a6dc5
push eax
push 0x37
pop ecx
lea eax, [esp + 0x190]
call fcn.0047c3fc
pop ecx
push 0x2e
xor eax, eax
lea edi, [esp + 0x190]
call fcn.0047d20a
cmp dword [0x6460b8], ebx
pop ecx
je 0x4a72aa
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.004a57c9
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.00472597
push eax
push str.._04d
lea eax, [esp + 0x1a4]
push 0x37
push eax
call fcn.0047da40
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.004a4ba8
mov dword [esp + 0x18], eax
xor edi, edi
cmp dword [esp + edi + 0x98], ebx
jne 0x4a7340
mov eax, dword [esp + edi + 0x48]
push ebx
push dword [esp + edi + 0x70]
push dword [esp + edi + 0x11c]
call fcn.0046fbf8
add esp, 0xc
add edi, 4
cmp edi, 0x18
jl 0x4a731f
cmp dword [esp + 0xb0], ebx
jne 0x4a7369
mov eax, dword [esp + 0x40]
push ebx
push dword [esp + 0x24]
push dword [esp + 0x94]
call fcn.0046fbf8
add esp, 0xc
xor esi, esi
inc esi
cmp dword [esp + 0x48], ebx
mov dword [esp + 0x98], esi
jle 0x4a7389
sub dword [esp + 0x48], 3
cmp dword [esp + 0x48], ebx
mov dword [esp + 0x98], ebx
jge 0x4a738f
mov dword [esp + 0x48], ebx
cmp dword [esp + 0x6c], 9
jge 0x4a73a1
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 0x4a73b9
inc ecx
mov dword [eax], ecx
mov dword [esp + edi + 0x9c], ebx
jmp 0x4a73d4
lea eax, [esp + edi + 0x9c]
cmp dword [eax], ebx
jne 0x4a73d4
mov ecx, dword [esp + 0x108]
push ebx
mov dword [eax], esi
call fcn.00479d60
pop ecx
add edi, 4
cmp edi, 0x14
jl 0x4a73a3
cmp dword [esp + 0x40], ebx
mov dword [esp + 0xb0], esi
jle 0x4a73f4
dec dword [esp + 0x40]
mov dword [esp + 0xb0], ebx
cmp dword [esp + 0x20], 0xb
jle 0x4a7406
dec dword [esp + 0x20]
mov dword [esp + 0xb0], ebx
call fcn.004a4ba8
sub eax, dword [esp + 0x18]
push 0xa
pop edx
cmp eax, edx
ja 0x4a7431
mov ecx, edx
sub ecx, eax
js 0x4a7426
cmp ecx, 0x7fffffff
jge 0x4a7426
sub edx, eax
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push edx
call esi
jmp 0x4a7437
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
cmp dword [esp + eax*4 + 0x98], ebx
je 0x4a7448
inc eax
cmp eax, 6
jle 0x4a7439
cmp eax, 6
jge 0x4a745f
mov eax, 0x6460c4
call fcn.004a8390
test eax, eax
je 0x4a7314
mov eax, 0x6460c4
mov dword [esp + 0x24], 0xfffffff3
mov dword [esp + 0x34], 2
call fcn.004a8390
test eax, eax
jne 0x4a748b
mov ecx, dword [esp + 0xc4]
push ebx
call fcn.00479d60
pop ecx
call fcn.004a4ba8
push ebx
push dword [esp + 0x38]
mov edi, eax
push dword [esp + 0x98]
mov eax, dword [esp + 0x30]
call fcn.0046fbf8
add esp, 0xc
cmp dword [esp + 0x24], 3
mov dword [esp + 0x98], 1
jge 0x4a74c7
inc dword [esp + 0x24]
mov dword [esp + 0x98], ebx
cmp dword [esp + 0x34], 2
jge 0x4a74d9
inc dword [esp + 0x34]
mov dword [esp + 0x98], ebx
call fcn.004a4ba8
sub eax, edi
cmp eax, 0xa
ja 0x4a7500
push 0xa
pop ecx
sub ecx, eax
js 0x4a74fc
cmp ecx, 0x7fffffff
jge 0x4a74fc
push 0xa
pop ecx
sub ecx, eax
push ecx
jmp 0x4a74fe
push 0xa
call esi
cmp dword [esp + 0x98], ebx
jne 0x4a751b
mov eax, 0x6460c4
call fcn.004a8390
test eax, eax
je 0x4a748b
mov eax, 0x6460c4
call fcn.004a8390
test eax, eax
jne 0x4a758c
xor edi, edi
mov eax, 0x6460c4
call fcn.004a8390
test eax, eax
jne 0x4a7543
push 0x64
call esi
inc edi
cmp edi, 5
jl 0x4a752b
mov ecx, dword [esp + 0xc8]
push ebx
call fcn.00479d60
pop ecx
push 2
push 0x3b
call fcn.0040bc78
push 0x5287e0
call fcn.0040c34e
add esp, 0xc
push str.____2
call fcn.0040d9a8
pop ecx
xor edi, edi
mov eax, 0x6460c4
call fcn.004a8390
test eax, eax
jne 0x4a758c
push 0x64
call esi
inc edi
cmp edi, 0xa
jl 0x4a7574
cmp dword [0x6460bc], ebx
je 0x4a759e
call fcn.004a4ba8
mov dword [0x6460c0], eax
mov eax, 0x6460c4
call fcn.004a8390
test eax, eax
jne 0x4a7f1e
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.004b586d
and eax, reloc.WSOCK32.dll_closesocket
jns 0x4a762a
dec eax
or eax, 0xfffffffc
inc eax
add eax, 5
mov dword [esp + edi*4 + 0x13c], eax
inc edi
cmp edi, 0xa
jl 0x4a7619
xor eax, eax
lea ecx, [eax + 0x40]
mov dword [esp + eax*4 + 0x164], ecx
inc eax
cmp eax, 0xa
jl 0x4a763c
call fcn.004a4ba8
mov dword [esp + 0x18], eax
test byte [esp + 0x94], 1
je 0x4a7669
cmp dword [esp + 0x64], ebx
je 0x4a767d
push 0x1e
jmp 0x4a7671
cmp dword [esp + 0x64], ebx
je 0x4a767d
push 0x1f
push 2
pop esi
push 0x3f
pop edi
call fcn.0040ab57
pop ecx
mov dword [esp + 0x64], ebx
call fcn.004a4ba8
sub eax, dword [esp + 0xe8]
cmp eax, 0x87
jb 0x4a76af
call fcn.004a4ba8
inc dword [esp + 0x94]
mov dword [esp + 0xe8], eax
mov dword [esp + 0x64], 1
call fcn.004a4ba8
sub eax, dword [esp + 0x68]
cmp eax, 0x16
jae 0x4a76c6
cmp eax, 0x2d
jb 0x4a776e
lea eax, [esp + 0x18c]
push eax
xor esi, esi
call fcn.004b4450
test eax, eax
pop ecx
jle 0x4a7765
cmp dword [esp + esi*4 + 0x13c], 2
jg 0x4a76fd
lea eax, [esp + 0x18c]
push eax
inc esi
call fcn.004b4450
cmp esi, eax
pop ecx
jl 0x4a76de
jmp 0x4a7765
lea eax, [esp + esi*4 + 0x13c]
dec dword [eax]
mov edi, dword [eax]
push 0x5287ec
mov dword [esp + 0x114], edi
call fcn.0040c34e
mov eax, dword [esp + esi*4 + 0x168]
pop ecx
push edi
push eax
mov dword [esp + 0x70], eax
call fcn.0040bc78
movsx ebx, byte [esp + esi + 0x194]
call fcn.0040ec41
lea esi, [edi + 1]
mov edi, dword [esp + 0x70]
push 0x20
call fcn.0040a9d4
add esp, 0xc
cmp dword [esp + 0x110], 2
jg 0x4a7763
mov ecx, dword [esp + 0xf0]
push 0
call fcn.00479d60
pop ecx
xor ebx, ebx
call fcn.004a4ba8
mov dword [esp + 0x68], eax
mov eax, dword [0x6460bc]
cmp eax, ebx
je 0x4a77b5
call fcn.004a4ba8
sub eax, dword [0x6460c0]
cmp eax, 0x493e0
jbe 0x4a7792
xor eax, eax
mov dword [0x6460bc], eax
jmp 0x4a7797
mov eax, dword [0x6460bc]
cmp eax, ebx
je 0x4a77b5
cmp dword [esp + 0x44], ebx
jne 0x4a77d1
call fcn.004a4ba8
sub eax, dword [esp + 0x18]
mov dword [esp + 0x44], eax
mov eax, dword [0x6460bc]
jmp 0x4a77d1
cmp dword [esp + 0x44], ebx
je 0x4a77cd
call fcn.004a4ba8
sub eax, dword [esp + 0x44]
mov dword [esp + 0x18], eax
mov eax, dword [0x6460bc]
mov dword [esp + 0x44], ebx
cmp dword [esp + 0x88], ebx
je 0x4a7908
mov ecx, dword [esp + 0x3c]
sub ecx, 3
je 0x4a78d9
dec ecx
je 0x4a78b6
dec ecx
je 0x4a7894
dec ecx
je 0x4a7871
dec ecx
je 0x4a784b
push 0x17
push 0xa
pop esi
push 0xf
pop edi
call fcn.0040ab57
pop ecx
push 0x17
pop edi
push edi
call fcn.0040ab57
pop ecx
push edi
push 0x21
pop edi
call fcn.0040ab57
pop ecx
push 0x17
push 0x2f
pop edi
call fcn.0040ab57
pop ecx
push 0x17
push 0x38
pop edi
call fcn.0040ab57
cmp dword [esp + 0x40], 3
pop ecx
jbe 0x4a7901
mov dword [esp + 0x3c], ebx
jmp 0x4a7901
cmp eax, ebx
jne 0x4a785a
mov ecx, dword [esp + 0x30]
push ebx
call fcn.00479d60
pop ecx
push 0x17
push 0xa
pop esi
push 0x2f
pop edi
call fcn.0040ab57
pop ecx
push 0x1f
push 0x38
jmp 0x4a78fa
cmp eax, ebx
jne 0x4a7880
mov ecx, dword [esp + 0x30]
push ebx
call fcn.00479d60
pop ecx
push 0x17
push 0xa
pop esi
push 0x21
pop edi
call fcn.0040ab57
pop ecx
push 0x1f
push 0x2f
jmp 0x4a78fa
cmp eax, ebx
jne 0x4a78a3
mov ecx, dword [esp + 0x30]
push ebx
call fcn.00479d60
pop ecx
push 0x17
pop edi
push edi
push 0xa
pop esi
call fcn.0040ab57
pop ecx
push 0x1f
push 0x21
jmp 0x4a78fa
cmp eax, ebx
jne 0x4a78c5
mov ecx, dword [esp + 0x30]
push ebx
call fcn.00479d60
pop ecx
push 0x17
push 0xa
pop esi
push 0xf
pop edi
call fcn.0040ab57
pop ecx
push 0x1f
push 0x17
jmp 0x4a78fa
cmp eax, ebx
jne 0x4a78e8
mov ecx, dword [esp + 0x30]
push ebx
call fcn.00479d60
pop ecx
push 0x17
push 0xa
pop esi
push 0x38
pop edi
call fcn.0040ab57
pop ecx
push 0x1f
push 0xf
pop edi
call fcn.0040ab57
pop ecx
mov dword [esp + 0x88], ebx
call fcn.004a4ba8
sub eax, dword [esp + 0x104]
mov esi, 0x309
cmp eax, esi
jb 0x4a7948
call fcn.004a4ba8
sub eax, dword [esp + 0x18]
cmp eax, 0xbb8
jbe 0x4a7948
call fcn.004a4ba8
inc dword [esp + 0x3c]
mov dword [esp + 0x104], eax
mov dword [esp + 0x88], 1
cmp dword [esp + 0x84], ebx
je 0x4a79e4
test byte [esp + 0x60], 3
je 0x4a797e
push 0x17
push 0x15
call fcn.0040bc78
push 0x4d5564
call fcn.0040c34e
add esp, 0xc
push str.Press_New_Line_to_Begin_Accounting.
call fcn.0040d9a8
jmp 0x4a79dc
cmp dword [esp + 0x60], ebx
jbe 0x4a79dd
cmp dword [0x6460bc], ebx
jne 0x4a79b0
inc dword [0x646120]
cmp dword [0x646120], 4
mov ecx, dword [esp + 0xcc]
push ebx
jle 0x4a79aa
mov ecx, dword [esp + 0xd8]
call fcn.00479d60
pop ecx
push 0x17
push 0x15
call fcn.0040bc78
push 0x4d5560
call fcn.0040c34e
add esp, 0xc
push str.Press_New_Line_to_Begin_Accounting.
call fcn.0040d9a8
mov dword [esp], 0x4d5564
call fcn.0040c34e
pop ecx
mov dword [esp + 0x84], ebx
call fcn.004a4ba8
sub eax, dword [esp + 0x10c]
cmp eax, esi
jb 0x4a7a1f
call fcn.004a4ba8
sub eax, dword [esp + 0x18]
cmp eax, 0x7d0
jbe 0x4a7a1f
call fcn.004a4ba8
inc dword [esp + 0x60]
mov dword [esp + 0x10c], eax
mov dword [esp + 0x84], 1
cmp dword [0x6460d4], ebx
jne 0x4a7d9c
cmp dword [0x6460bc], ebx
jne 0x4a7d9c
mov eax, dword [esp + 0x14]
push 7
pop esi
cmp eax, esi
ja case.default.0x4a7a46
jmp dword [eax*4 + 0x4a8370]
call fcn.004a4ba8
sub eax, dword [esp + 0x18]
cmp eax, 0x2710
jbe 0x4a7da9
mov edi, dword [esp + 0xf8]
push ebx
mov ecx, edi
call fcn.00479d60
pop ecx
mov dword [esp + 0x1c], edi
call fcn.004a4ba8
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 1
jmp 0x4a7da9
call fcn.004a4ba8
sub eax, dword [esp + 0x10]
cmp eax, 0x7530
jbe 0x4a7da9
call fcn.004a4ba8
sub eax, dword [esp + 0x2c]
cmp eax, 0x2710
jbe 0x4a7da9
mov edi, dword [esp + 0xd0]
push ebx
mov ecx, edi
call fcn.00479d60
pop ecx
mov dword [esp + 0x1c], edi
call fcn.004a4ba8
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 2
jmp 0x4a7da9
call fcn.004a4ba8
sub eax, dword [esp + 0x10]
cmp eax, 0x7530
jbe 0x4a7da9
call fcn.004a4ba8
sub eax, dword [esp + 0x2c]
cmp eax, 0x2710
jbe 0x4a7da9
mov edi, dword [esp + 0xe4]
push ebx
mov ecx, edi
call fcn.00479d60
pop ecx
mov dword [esp + 0x1c], edi
call fcn.004a4ba8
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 3
jmp 0x4a7da9
call fcn.004a4ba8
sub eax, dword [esp + 0x10]
cmp eax, 0x7530
jbe 0x4a7da9
call fcn.004a4ba8
sub eax, dword [esp + 0x2c]
cmp eax, 0x2710
jbe 0x4a7da9
mov edi, dword [esp + 0xd8]
push ebx
mov ecx, edi
call fcn.00479d60
pop ecx
mov dword [esp + 0x1c], edi
call fcn.004a4ba8
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 4
jmp 0x4a7da9
call fcn.004a4ba8
sub eax, dword [esp + 0x10]
cmp eax, 0xea60
jbe 0x4a7da9
call fcn.004a4ba8
sub eax, dword [esp + 0x2c]
cmp eax, 0x2710
jbe 0x4a7da9
mov edi, dword [esp + 0xec]
push ebx
mov ecx, edi
call fcn.00479d60
pop ecx
mov dword [esp + 0x1c], edi
call fcn.004a4ba8
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 5
jmp 0x4a7da9
call fcn.004a4ba8
sub eax, dword [esp + 0x10]
cmp eax, 0x7530
jbe 0x4a7da9
call fcn.004a4ba8
sub eax, dword [esp + 0x2c]
cmp eax, 0x2710
jbe 0x4a7da9
mov edi, dword [esp + 0xe0]
push ebx
mov ecx, edi
call fcn.00479d60
pop ecx
mov dword [esp + 0x1c], edi
call fcn.004a4ba8
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 6
jmp 0x4a7da9
call fcn.004a4ba8
sub eax, dword [esp + 0x10]
cmp eax, 0xea60
jbe 0x4a7da9
call fcn.004a4ba8
sub eax, dword [esp + 0x2c]
cmp eax, 0x2710
jbe 0x4a7da9
mov edi, dword [esp + 0xf4]
push ebx
mov ecx, edi
call fcn.00479d60
pop ecx
mov dword [esp + 0x1c], edi
call fcn.004a4ba8
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], esi
jmp 0x4a7da9
call fcn.004a4ba8
sub eax, dword [esp + 0x10]
cmp eax, 0x7530
jbe 0x4a7da9
mov edi, dword [esp + 0xfc]
push ebx
mov ecx, edi
call fcn.00479d60
pop ecx
mov dword [esp + 0x1c], edi
call fcn.004a4ba8
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 8
call fcn.004a83fd
test eax, eax
je 0x4a7e8d
mov eax, 0x6460c4
call fcn.004a8390
test eax, eax
jne 0x4a7e8d
cmp dword [esp + 0x14], ebx
jbe 0x4a7e8d
cmp dword [0x6460bc], ebx
jne 0x4a7e8d
call fcn.004a4ba8
sub eax, dword [0x646124]
cmp eax, 0xbb8
jbe 0x4a7e7c
call fcn.004a4ba8
mov ecx, dword [0x64612c]
sub eax, dword [esp + 0x10]
add ecx, 0xbb8
cmp eax, ecx
jbe 0x4a7e7c
mov eax, dword [esp + 0x1c]
call fcn.0047a6cd
test eax, eax
jne 0x4a7e5e
call fcn.004a4ba8
sub eax, dword [0x646128]
cmp eax, 0x1b58
jb 0x4a7e5e
call fcn.004a4ba8
mov ecx, dword [0x646130]
inc dword [esp + 0x38]
cmp ecx, ebx
mov dword [0x646124], eax
jle 0x4a7dea
xor edi, edi
call fcn.004b586d
mov ecx, dword [0x646130]
cdq
idiv ecx
inc edx
cmp edx, dword [0x646134]
jne 0x4a7dee
inc edi
cmp edi, 0xa
jl 0x4a7d59
jmp 0x4a7dee
call fcn.004a4ba8
sub eax, dword [esp + 0x10]
cmp eax, 0x1f40
jbe 0x4a7d9f
inc dword [esp + 0x14]
mov esi, dword [esp + 0xc0]
mov dword [esp + 0x28], ebx
jmp 0x4a815b
push 7
pop esi
cmp dword [esp + 0x14], esi
ja 0x4a7cac
call fcn.004a4ba8
sub eax, dword [esp + 0x10]
cmp eax, 0x2710
jbe 0x4a7cac
call fcn.004a4ba8
sub eax, dword [esp + 0x18]
cmp eax, 0x50910
jbe 0x4a7cac
cmp dword [0x6460bc], ebx
jne 0x4a7e8d
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
jmp 0x4a7e8d
mov edx, dword [esp + 0x38]
cmp ecx, ebx
mov dword [0x646134], edx
jle 0x4a7e0b
lea eax, [ecx + ecx]
cmp dword [esp + 0x38], eax
jle 0x4a7e0b
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
jmp 0x4a7e7c
push edx
push ebx
push ebx
call fcn.0045e70f
pop ecx
pop ecx
push eax
push str._sSoundsIntroIntel_d.dav
push ebx
call fcn.0047daba
push eax
call fcn.0047a698
add esp, 0x14
test eax, eax
jne 0x4a7e4e
cmp dword [0x646130], ebx
jne 0x4a7e4e
mov eax, dword [esp + 0x38]
cmp eax, ebx
jle 0x4a7e4e
add dword [0x64612c], 0x2ee0
dec eax
mov dword [0x646130], eax
call fcn.004a4ba8
mov dword [esp + 0x10], eax
mov dword [0x646128], eax
jmp 0x4a7e7c
cmp dword [0x646124], ebx
jne 0x4a7e72
call fcn.004a4ba8
mov dword [0x646124], eax
jmp 0x4a7e7c
add dword [0x646124], 0x7d0
cmp dword [0x646130], ebx
jne 0x4a7e8d
call fcn.004a4ba8
mov dword [esp + 0x2c], eax
mov esi, 0x6460c4
mov edx, esi
call fcn.004a8448
cmp eax, ebx
je 0x4a7eba
cmp eax, 0x13
jne 0x4a7eec
call fcn.004a6bd1
call fcn.004a4ba8
mov dword [esp + 0x10], eax
call fcn.004a4ba8
mov dword [0x6460c0], eax
call fcn.0040a381
test eax, eax
je 0x4a7ed3
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.00409f25
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, esi
call fcn.004a8390
test eax, eax
je 0x4a7655
jmp 0x4a7f1e
push 0x20001
push ebx
push ebx
push ebx
mov dword [esp + 0x38], eax
call fcn.0045e70f
push eax
push str._sSoundsCodeEntered.wav
push ebx
call fcn.0047daba
add esp, 0x14
push eax
call dword [sym.imp.WINMM.dll_PlaySoundA]
push 0x2ee
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.0047a916
mov eax, 0x6460c4
call fcn.004a8390
test eax, eax
je 0x4a7f55
cmp dword [esp + 0x28], ebx
jne 0x4a7f3c
or dword [esp + 0x28], 0xffffffff
call fcn.0040a381
test eax, eax
je 0x4a7f55
push 0x4e20
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.00409f25
cmp dword [esp + 0x70], ebx
jl 0x4a7f69
mov ecx, dword [esp + 0x100]
push ebx
call fcn.00479d60
pop ecx
push 0x28
lea eax, [esp + 0x9c]
push ebx
push eax
call fcn.004b53e0
mov esi, dword [esp + 0xcc]
add esp, 0xc
call fcn.004a4ba8
xor ecx, ecx
mov dword [esp + 0x18], eax
call fcn.0040c204
push eax
push esi
call fcn.004716a6
mov ecx, esi
call fcn.00470e12
mov ecx, dword [esp + 0x98]
push ebx
push ebx
push dword [esp + 0x44]
push dword [esp + 0x38]
push esi
call fcn.004703eb
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.004703eb
add edi, 4
add esp, 0x14
cmp edi, 0x18
jl 0x4a7fbd
mov ecx, dword [esp + 0x8c]
push ebx
push ebx
push dword [esp + 0x28]
push dword [esp + 0x4c]
push esi
call fcn.004703eb
add esp, 0x14
push ebx
push ebx
push esi
xor eax, eax
call fcn.0046fbf8
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 0x4a8029
cmp dword [esp + 0x48], 0x50
jge 0x4a803c
add dword [esp + 0x48], 7
jmp 0x4a8035
cmp dword [esp + 0x48], 0xffffffb0
jle 0x4a803c
sub dword [esp + 0x48], 8
mov dword [esp + 0x98], ebx
cmp dword [esp + 0x24], 0xfffffff1
jle 0x4a8056
cmp dword [esp + 0x34], 0xfffffff7
jle 0x4a8056
sub dword [esp + 0x24], 4
mov dword [esp + 0x98], ebx
cmp dword [esp + 0x4c], 0xfffffff6
jle 0x4a8072
cmp dword [esp + 0x70], 0xfffffff7
jle 0x4a8072
sub dword [esp + 0x4c], 3
mov dword [esp + 0x9c], ebx
jmp 0x4a808c
cmp dword [esp + 0x50], 0xfffffff6
jle 0x4a808c
cmp dword [esp + 0x74], 0xfffffff7
jle 0x4a808c
sub dword [esp + 0x50], 5
mov dword [esp + 0xa0], ebx
cmp dword [esp + 0x5c], 0x50
jge 0x4a80ab
cmp dword [esp + 0x80], 0xfffffff7
jle 0x4a80ab
add dword [esp + 0x5c], 3
mov dword [esp + 0xac], ebx
jmp 0x4a80c5
cmp dword [esp + 0x58], 0x50
jge 0x4a80c5
cmp dword [esp + 0x7c], 0xfffffff7
jle 0x4a80c5
add dword [esp + 0x58], 5
mov dword [esp + 0xa8], ebx
cmp dword [esp + 0x80], 1
jge 0x4a80dc
cmp dword [esp + 0x78], 0xfffffff7
jle 0x4a8101
dec dword [esp + 0x78]
jmp 0x4a80fa
cmp dword [esp + 0x9c], ebx
je 0x4a8101
cmp dword [esp + 0xac], ebx
je 0x4a8101
cmp dword [esp + 0x78], 0x51
jge 0x4a8101
add dword [esp + 0x78], 5
mov dword [esp + 0xa4], ebx
cmp dword [esp + 0x20], 0x1c
jge 0x4a8114
add dword [esp + 0x20], 2
mov dword [esp + 0xb0], ebx
call fcn.004a4ba8
sub eax, dword [esp + 0x18]
cmp eax, 0x14
ja 0x4a8141
push 0x14
pop ecx
sub ecx, eax
js 0x4a8139
cmp ecx, 0x7fffffff
jge 0x4a8139
push 0x14
pop ecx
sub ecx, eax
push ecx
jmp 0x4a813b
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
cmp dword [esp + eax*4 + 0x98], ebx
je 0x4a8152
inc eax
cmp eax, 6
jle 0x4a8143
cmp eax, 6
jl 0x4a7f83
mov edi, 0x4e4ed4
push edi
mov dword [0x6460c4], 1
call fcn.0040ca81
mov eax, dword [esp + 0xcc]
pop ecx
call fcn.00478dcc
mov eax, dword [esp + 0xf8]
call fcn.00478dcc
mov eax, dword [esp + 0xd0]
call fcn.00478dcc
mov eax, dword [esp + 0xe4]
call fcn.00478dcc
mov eax, dword [esp + 0xd8]
call fcn.00478dcc
mov eax, dword [esp + 0xec]
call fcn.00478dcc
mov eax, dword [esp + 0xe0]
call fcn.00478dcc
mov eax, dword [esp + 0xf4]
call fcn.00478dcc
mov eax, dword [esp + 0xfc]
call fcn.00478dcc
mov eax, dword [esp + 0x108]
call fcn.00478dcc
mov eax, dword [esp + 0xf0]
call fcn.00478dcc
mov eax, dword [esp + 0x100]
call fcn.00478dcc
mov eax, dword [esp + 0xc4]
call fcn.00478dcc
mov eax, dword [esp + 0x30]
call fcn.00478dcc
mov eax, dword [esp + 0xcc]
call fcn.00478dcc
mov eax, dword [esp + 0xd4]
call fcn.00478dcc
mov eax, dword [esp + 0x90]
call fcn.0046fa41
mov eax, dword [esp + 0x8c]
call fcn.0046fa41
mov eax, esi
call fcn.0046fa41
xor esi, esi
mov eax, dword [esp + esi*4 + 0x114]
call fcn.0046fa41
inc esi
cmp esi, 6
jl 0x4a824f
cmp dword [0x6460d0], ebx
je 0x4a826d
mov dword [esp + 0x28], ebx
cmp dword [esp + 0x28], ebx
jne 0x4a82af
push ebx
call fcn.0047acbe
pop ecx
push ebx
push ebx
call fcn.0045e70f
push eax
push str._sSoundsIntroWait9.dav
push ebx
call fcn.0047daba
add esp, 0x14
push eax
call fcn.00478aeb
pop ecx
mov esi, eax
push 1
mov ecx, esi
call fcn.00479d60
pop ecx
mov eax, esi
call fcn.00478dcc
jmp 0x4a8340
jg 0x4a8340
cmp dword [esp + 0x14], 6
jae 0x4a8321
call fcn.004a4ba8
sub eax, dword [esp + 0x18]
cmp eax, 0x2bf20
ja 0x4a8321
cmp dword [esp + 0x14], 4
jae 0x4a8311
call fcn.004a4ba8
sub eax, dword [esp + 0x18]
cmp eax, 0x1d4c0
ja 0x4a8311
cmp dword [esp + 0x14], 2
jae 0x4a8301
call fcn.004a4ba8
sub eax, dword [esp + 0x18]
cmp eax, 0x7530
ja 0x4a8301
cmp dword [esp + 0x38], 2
jl 0x4a8340
push ebx
push ebx
push ebx
call fcn.0045e70f
push eax
push str._sSoundsIntroResponse1.dav
jmp 0x4a832f
push ebx
push ebx
push ebx
call fcn.0045e70f
push eax
push str._sSoundsIntroResponse2.dav
jmp 0x4a832f
push ebx
push ebx
push ebx
call fcn.0045e70f
push eax
push str._sSoundsIntroResponse3.dav
push ebx
call fcn.0047daba
add esp, 0x14
push eax
call fcn.0047a67b
pop ecx
pop ecx
mov eax, dword [esp + 0xdc]
cmp eax, ebx
je 0x4a8350
call fcn.0040c1ae
mov ecx, edi
call fcn.0040c204
mov ecx, dword [esp + 0x1c4]
mov eax, dword [esp + 0x28]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004b4c95
mov esp, ebp
pop ebp
ret