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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1bc
mov eax, dword [0x5092e4]
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.00401f80
xor eax, eax
mov dword [esp + 0xc8], ebx
lea edi, [esp + 0xcc]
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 + 0xf4]
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 + 0x10c]
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 + 0x114], ebx
lea edi, [esp + 0x118]
rep stosd dword es:[edi], eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.004accd7
test eax, eax
je 0x41cacd
call fcn.004adea3
call fcn.004acca8
mov dword [esp + 0x90], eax
jmp 0x41cad4
mov dword [esp + 0x90], ebx
call fcn.00474472
cmp eax, 0x35a5011f
je 0x41cae5
call fcn.0041c1ef
mov ecx, 0x4d5634
call fcn.004acb5e
push ebx
call fcn.004ae9f6
mov dword [esp], 0x309
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push ebx
call fcn.0046209e
push eax
push str._sSoundsKaChing.wav
push ebx
call fcn.0044507d
add esp, 0x14
push eax
call fcn.004b4849
pop ecx
push ebx
push ebx
mov dword [esp + 0x84], eax
call fcn.0046209e
push eax
push str._sSoundsIntroWait1.dav
push ebx
call fcn.0044507d
add esp, 0x14
push eax
call fcn.004b4849
pop ecx
push ebx
push ebx
mov dword [esp + 0xa4], eax
call fcn.0046209e
push eax
push str._sSoundsIntroWait2.dav
push ebx
call fcn.0044507d
add esp, 0x14
push eax
call fcn.004b4849
pop ecx
push ebx
push ebx
mov dword [esp + 0x8c], eax
call fcn.0046209e
push eax
push str._sSoundsIntroWait3.dav
push ebx
call fcn.0044507d
add esp, 0x14
push eax
call fcn.004b4849
pop ecx
push ebx
push ebx
mov dword [esp + 0xac], eax
call fcn.0046209e
push eax
push str._sSoundsIntroWait4.dav
push ebx
call fcn.0044507d
add esp, 0x14
push eax
call fcn.004b4849
pop ecx
push ebx
push ebx
mov dword [esp + 0x94], eax
call fcn.0046209e
push eax
push str._sSoundsIntroWait5.dav
push ebx
call fcn.0044507d
add esp, 0x14
push eax
call fcn.004b4849
pop ecx
push ebx
push ebx
mov dword [esp + 0xb4], eax
call fcn.0046209e
push eax
push str._sSoundsIntroWait6.dav
push ebx
call fcn.0044507d
add esp, 0x14
push eax
call fcn.004b4849
pop ecx
push ebx
push ebx
mov dword [esp + 0x9c], eax
call fcn.0046209e
push eax
push str._sSoundsIntroWait7.dav
push ebx
call fcn.0044507d
add esp, 0x14
push eax
call fcn.004b4849
pop ecx
push ebx
push ebx
mov dword [esp + 0xbc], eax
call fcn.0046209e
push eax
push str._sSoundsIntroWait8.dav
push ebx
call fcn.0044507d
add esp, 0x14
push eax
call fcn.004b4849
pop ecx
push ebx
push ebx
mov dword [esp + 0xb0], eax
call fcn.0046209e
push eax
push str._sSoundsIntroPaulaDrop.dav
push ebx
call fcn.0044507d
add esp, 0x14
push eax
call fcn.004b4849
pop ecx
push ebx
push ebx
mov dword [esp + 0xa8], eax
call fcn.0046209e
push eax
push str._sSoundsIntroRevision.dav
push ebx
call fcn.0044507d
add esp, 0x14
push eax
call fcn.004b4849
pop ecx
push ebx
push ebx
mov dword [esp + 0x74], eax
call fcn.0046209e
push eax
push str._sSoundsIntroNapaLogo.dav
push ebx
call fcn.0044507d
add esp, 0x14
push eax
call fcn.004b4849
pop ecx
push ebx
push ebx
mov dword [esp + 0x80], eax
call fcn.0046209e
push eax
push str._sSoundsIntroLeaving.dav
push ebx
call fcn.0044507d
add esp, 0x14
push eax
call fcn.004b4849
pop ecx
mov dword [esp + 0x70], eax
push ebx
push ebx
call fcn.0046209e
push eax
push str._sSoundsIntroAcronym.dav
push ebx
call fcn.0044507d
add esp, 0x14
push eax
call fcn.004b4849
pop ecx
push ebx
push ebx
mov dword [esp + 0x3c], eax
call fcn.0046209e
push eax
push str._sSoundsIntroPing.dav
push ebx
call fcn.0044507d
add esp, 0x14
push eax
call fcn.004b4849
pop ecx
push ebx
push ebx
mov dword [esp + 0x88], eax
call fcn.0046209e
push eax
push str._sSoundsIntroPing2.dav
push ebx
call fcn.0044507d
add esp, 0x14
push eax
call fcn.004b4849
pop ecx
mov dword [esp + 0x88], eax
call fcn.004ab58b
mov esi, eax
call fcn.004ab4f6
mov ecx, eax
mov eax, esi
call fcn.0044d9e5
mov dword [esp + 0x68], eax
call fcn.0041bd7c
push 0x500674
lea esi, [esp + 0xc0]
mov dword [esp + 0x5c], eax
call fcn.0049dc41
pop ecx
call fcn.0041bce0
mov dword [esp + 0x5c], eax
xor eax, eax
call fcn.0041bc39
xor edx, edx
call fcn.0041c2d1
call fcn.0041beb8
push eax
push 0x37
pop ecx
lea eax, [esp + 0x190]
call fcn.00444961
pop ecx
push 0x2e
xor eax, eax
lea edi, [esp + 0x190]
call fcn.00444563
pop ecx
cmp dword [0x61d3ec], ebx
je 0x41ce0b
xor eax, eax
mov word [esp + 0xd4], ax
lea edi, [esp + 0xd6]
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 + 0xd8]
push str.TitlePage.c
push eax
call fcn.004205e9
push ecx
lea esi, [esp + 0xe4]
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.0044d27b
push eax
push str.._04d
lea eax, [esp + 0x1a4]
push 0x37
push eax
call fcn.004451a8
add esp, 0x20
push 0x24
pop eax
mov dword [esp + 0xe4], 0x59
mov dword [esp + 0xfc], 9
mov dword [esp + 0xe8], 0x13
mov dword [esp + 0x100], 0xffffffd4
mov dword [esp + 0xec], 0x1b
mov dword [esp + 0x104], 0xffffffce
mov dword [esp + 0xf0], eax
mov dword [esp + 0x108], 0xffffffc8
mov dword [esp + 0xf4], 0x2d
mov dword [esp + 0x10c], 0xffffffc2
mov dword [esp + 0xf8], 0x35
mov dword [esp + 0x110], 0xffffffbc
mov dword [esp + 0x44], ebx
mov dword [esp + 0x20], eax
call fcn.0041df75
mov dword [esp + 0x18], eax
xor edi, edi
cmp dword [esp + edi + 0x114], ebx
jne 0x41cec7
mov ecx, dword [esp + edi + 0xe4]
mov edx, dword [esp + edi + 0xbc]
push ebx
push dword [esp + edi + 0x100]
call fcn.0044f3ee
pop ecx
pop ecx
add edi, 4
cmp edi, 0x18
jl 0x41cea1
cmp dword [esp + 0x12c], ebx
jne 0x41ceec
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x5c]
push ebx
push dword [esp + 0x24]
call fcn.0044f3ee
pop ecx
pop ecx
xor esi, esi
inc esi
mov dword [esp + 0x114], esi
cmp dword [esp + 0xe4], ebx
jle 0x41cf15
sub dword [esp + 0xe4], 3
cmp dword [esp + 0xe4], ebx
mov dword [esp + 0x114], ebx
jge 0x41cf1e
mov dword [esp + 0xe4], ebx
cmp dword [esp + 0xfc], 9
jge 0x41cf36
inc dword [esp + 0xfc]
mov dword [esp + 0x114], ebx
xor edi, edi
lea eax, [esp + edi + 0x100]
mov ecx, dword [eax]
cmp ecx, esi
jge 0x41cf51
inc ecx
mov dword [eax], ecx
mov dword [esp + edi + 0x118], ebx
jmp 0x41cf6c
lea eax, [esp + edi + 0x118]
cmp dword [eax], ebx
jne 0x41cf6c
mov ecx, dword [esp + 0xa0]
push ebx
mov dword [eax], esi
call fcn.004b3a4e
pop ecx
add edi, 4
cmp edi, 0x14
jl 0x41cf38
mov dword [esp + 0x12c], esi
cmp dword [esp + 0x44], ebx
jle 0x41cf8c
dec dword [esp + 0x44]
mov dword [esp + 0x12c], ebx
cmp dword [esp + 0x20], 0xb
jle 0x41cf9e
dec dword [esp + 0x20]
mov dword [esp + 0x12c], ebx
call fcn.0041df75
sub eax, dword [esp + 0x18]
push 0xa
pop edx
cmp eax, edx
ja 0x41cfc9
mov ecx, edx
sub ecx, eax
js 0x41cfbe
cmp ecx, 0x7fffffff
jge 0x41cfbe
sub edx, eax
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push edx
call esi
jmp 0x41cfcf
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
cmp dword [esp + eax*4 + 0x114], ebx
je 0x41cfe0
inc eax
cmp eax, 6
jle 0x41cfd1
cmp eax, 6
jge 0x41cff7
mov eax, 0x61d3f8
call fcn.0041bc39
test eax, eax
je 0x41ce96
mov eax, 0x61d3f8
mov dword [esp + 0x28], 0xfffffff3
mov dword [esp + 0x38], 2
call fcn.0041bc39
test eax, eax
jne 0x41d020
mov ecx, dword [esp + 0x78]
push ebx
call fcn.004b3a4e
pop ecx
call fcn.0041df75
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x58]
push ebx
push dword [esp + 0x3c]
mov edi, eax
call fcn.0044f3ee
cmp dword [esp + 0x30], 3
pop ecx
pop ecx
mov dword [esp + 0x114], 1
jge 0x41d058
inc dword [esp + 0x28]
mov dword [esp + 0x114], ebx
cmp dword [esp + 0x38], 2
jge 0x41d06a
inc dword [esp + 0x38]
mov dword [esp + 0x114], ebx
call fcn.0041df75
sub eax, edi
cmp eax, 0xa
ja 0x41d091
push 0xa
pop ecx
sub ecx, eax
js 0x41d08d
cmp ecx, 0x7fffffff
jge 0x41d08d
push 0xa
pop ecx
sub ecx, eax
push ecx
jmp 0x41d08f
push 0xa
call esi
cmp dword [esp + 0x114], ebx
jne 0x41d0ac
mov eax, 0x61d3f8
call fcn.0041bc39
test eax, eax
je 0x41d020
mov eax, 0x61d3f8
call fcn.0041bc39
test eax, eax
jne 0x41d11a
xor edi, edi
mov eax, 0x61d3f8
call fcn.0041bc39
test eax, eax
jne 0x41d0d4
push 0x64
call esi
inc edi
cmp edi, 5
jl 0x41d0bc
mov ecx, dword [esp + 0x7c]
push ebx
call fcn.004b3a4e
pop ecx
push 2
push 0x3b
call fcn.004acd0b
push 0x500b5c
call fcn.004adc59
add esp, 0xc
push str.____2
call fcn.004afd65
pop ecx
xor edi, edi
mov eax, 0x61d3f8
call fcn.0041bc39
test eax, eax
jne 0x41d11a
push 0x64
call esi
inc edi
cmp edi, 0xa
jl 0x41d102
cmp dword [0x61d3f0], ebx
je 0x41d12c
call fcn.0041df75
mov dword [0x61d3f4], eax
mov eax, 0x61d3f8
call fcn.0041bc39
test eax, eax
jne 0x41da7c
inc eax
push 9
pop ecx
mov dword [esp + 0x50], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x54], 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 + 0x98], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0xb0], ebx
mov dword [esp + 0x40], 2
mov dword [esp + 0x74], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
xor edi, edi
call fcn.0040237f
and eax, reloc.WSOCK32.dll_closesocket
jns 0x41d1ac
dec eax
or eax, 0xfffffffc
inc eax
add eax, 5
mov dword [esp + edi*4 + 0x13c], eax
inc edi
cmp edi, 0xa
jl 0x41d19b
xor eax, eax
lea ecx, [eax + 0x40]
mov dword [esp + eax*4 + 0x164], ecx
inc eax
cmp eax, 0xa
jl 0x41d1be
call fcn.0041df75
mov dword [esp + 0x18], eax
test byte [esp + 0x60], 1
je 0x41d1e8
cmp dword [esp + 0x50], ebx
je 0x41d1fc
push 0x1e
jmp 0x41d1f0
cmp dword [esp + 0x50], ebx
je 0x41d1fc
push 0x1f
push 2
pop esi
push 0x3f
pop edi
call fcn.004aba2b
pop ecx
mov dword [esp + 0x50], ebx
call fcn.0041df75
sub eax, dword [esp + 0x98]
cmp eax, 0x87
jb 0x41d22b
call fcn.0041df75
inc dword [esp + 0x60]
mov dword [esp + 0x98], eax
mov dword [esp + 0x50], 1
call fcn.0041df75
sub eax, dword [esp + 0x4c]
cmp eax, 0x16
jae 0x41d242
cmp eax, 0x2d
jb 0x41d2e7
lea eax, [esp + 0x18c]
push eax
xor esi, esi
call fcn.00401a80
pop ecx
test eax, eax
jle 0x41d2de
cmp dword [esp + esi*4 + 0x13c], 2
jg 0x41d279
lea eax, [esp + 0x18c]
push eax
inc esi
call fcn.00401a80
pop ecx
cmp esi, eax
jl 0x41d25a
jmp 0x41d2de
lea eax, [esp + esi*4 + 0x13c]
dec dword [eax]
mov edi, dword [eax]
push 0x500b68
mov dword [esp + 0xbc], edi
call fcn.004adc59
mov eax, dword [esp + esi*4 + 0x168]
pop ecx
push edi
push eax
mov dword [esp + 0x54], eax
call fcn.004acd0b
movsx ebx, byte [esp + esi + 0x194]
call fcn.004abedb
lea esi, [edi + 1]
mov edi, dword [esp + 0x54]
push 0x20
call fcn.004abb39
add esp, 0xc
cmp dword [esp + 0xb8], 2
jg 0x41d2dc
mov ecx, dword [esp + 0x6c]
push 0
call fcn.004b3a4e
pop ecx
xor ebx, ebx
call fcn.0041df75
mov dword [esp + 0x4c], eax
mov eax, dword [0x61d3f0]
cmp eax, ebx
je 0x41d32e
call fcn.0041df75
sub eax, dword [0x61d3f4]
cmp eax, 0x493e0
jbe 0x41d30b
xor eax, eax
mov dword [0x61d3f0], eax
jmp 0x41d310
mov eax, dword [0x61d3f0]
cmp eax, ebx
je 0x41d32e
cmp dword [esp + 0x3c], ebx
jne 0x41d34a
call fcn.0041df75
sub eax, dword [esp + 0x18]
mov dword [esp + 0x3c], eax
mov eax, dword [0x61d3f0]
jmp 0x41d34a
cmp dword [esp + 0x3c], ebx
je 0x41d346
call fcn.0041df75
sub eax, dword [esp + 0x3c]
mov dword [esp + 0x18], eax
mov eax, dword [0x61d3f0]
mov dword [esp + 0x3c], ebx
cmp dword [esp + 0x64], ebx
je 0x41d47b
mov ecx, dword [esp + 0x40]
sub ecx, 3
je 0x41d44f
dec ecx
je 0x41d42c
dec ecx
je 0x41d40a
dec ecx
je 0x41d3e7
dec ecx
je 0x41d3c1
push 0x17
push 0xa
pop esi
push 0xf
pop edi
call fcn.004aba2b
pop ecx
push 0x17
pop edi
push edi
call fcn.004aba2b
pop ecx
push edi
push 0x21
pop edi
call fcn.004aba2b
pop ecx
push 0x17
push 0x2f
pop edi
call fcn.004aba2b
pop ecx
push 0x17
push 0x38
pop edi
call fcn.004aba2b
cmp dword [esp + 0x44], 3
pop ecx
jbe 0x41d477
mov dword [esp + 0x40], ebx
jmp 0x41d477
cmp eax, ebx
jne 0x41d3d0
mov ecx, dword [esp + 0x34]
push ebx
call fcn.004b3a4e
pop ecx
push 0x17
push 0xa
pop esi
push 0x2f
pop edi
call fcn.004aba2b
pop ecx
push 0x1f
push 0x38
jmp 0x41d470
cmp eax, ebx
jne 0x41d3f6
mov ecx, dword [esp + 0x34]
push ebx
call fcn.004b3a4e
pop ecx
push 0x17
push 0xa
pop esi
push 0x21
pop edi
call fcn.004aba2b
pop ecx
push 0x1f
push 0x2f
jmp 0x41d470
cmp eax, ebx
jne 0x41d419
mov ecx, dword [esp + 0x34]
push ebx
call fcn.004b3a4e
pop ecx
push 0x17
pop edi
push edi
push 0xa
pop esi
call fcn.004aba2b
pop ecx
push 0x1f
push 0x21
jmp 0x41d470
cmp eax, ebx
jne 0x41d43b
mov ecx, dword [esp + 0x34]
push ebx
call fcn.004b3a4e
pop ecx
push 0x17
push 0xa
pop esi
push 0xf
pop edi
call fcn.004aba2b
pop ecx
push 0x1f
push 0x17
jmp 0x41d470
cmp eax, ebx
jne 0x41d45e
mov ecx, dword [esp + 0x34]
push ebx
call fcn.004b3a4e
pop ecx
push 0x17
push 0xa
pop esi
push 0x38
pop edi
call fcn.004aba2b
pop ecx
push 0x1f
push 0xf
pop edi
call fcn.004aba2b
pop ecx
mov dword [esp + 0x64], ebx
call fcn.0041df75
sub eax, dword [esp + 0xb0]
mov esi, 0x309
cmp eax, esi
jb 0x41d4b8
call fcn.0041df75
sub eax, dword [esp + 0x18]
cmp eax, 0xbb8
jbe 0x41d4b8
call fcn.0041df75
inc dword [esp + 0x40]
mov dword [esp + 0xb0], eax
mov dword [esp + 0x64], 1
cmp dword [esp + 0x54], ebx
je 0x41d54e
test byte [esp + 0x48], 3
je 0x41d4eb
push 0x17
push 0x15
call fcn.004acd0b
push 0x4cd320
call fcn.004adc59
add esp, 0xc
push str.Press_New_Line_to_Begin_Accounting.
call fcn.004afd65
jmp 0x41d549
cmp dword [esp + 0x48], ebx
jbe 0x41d54a
cmp dword [0x61d3f0], ebx
jne 0x41d51d
inc dword [0x61d454]
cmp dword [0x61d454], 4
mov ecx, dword [esp + 0x80]
push ebx
jle 0x41d517
mov ecx, dword [esp + 0x8c]
call fcn.004b3a4e
pop ecx
push 0x17
push 0x15
call fcn.004acd0b
push 0x4cd31c
call fcn.004adc59
add esp, 0xc
push str.Press_New_Line_to_Begin_Accounting.
call fcn.004afd65
mov dword [esp], 0x4cd320
call fcn.004adc59
pop ecx
mov dword [esp + 0x54], ebx
call fcn.0041df75
sub eax, dword [esp + 0x74]
cmp eax, esi
jb 0x41d580
call fcn.0041df75
sub eax, dword [esp + 0x18]
cmp eax, 0x7d0
jbe 0x41d580
call fcn.0041df75
inc dword [esp + 0x48]
mov dword [esp + 0x74], eax
mov dword [esp + 0x54], 1
cmp dword [0x61d408], ebx
jne 0x41d8fa
cmp dword [0x61d3f0], ebx
jne 0x41d8fa
mov eax, dword [esp + 0x14]
push 7
pop esi
cmp eax, esi
ja case.default.0x41d5a7
jmp dword [eax*4 + 0x41def8]
call fcn.0041df75
sub eax, dword [esp + 0x18]
cmp eax, 0x2710
jbe 0x41d907
mov edi, dword [esp + 0x9c]
push ebx
mov ecx, edi
call fcn.004b3a4e
pop ecx
mov dword [esp + 0x1c], edi
call fcn.0041df75
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 1
jmp 0x41d907
call fcn.0041df75
sub eax, dword [esp + 0x10]
cmp eax, 0x7530
jbe 0x41d907
call fcn.0041df75
sub eax, dword [esp + 0x2c]
cmp eax, 0x2710
jbe 0x41d907
mov edi, dword [esp + 0x84]
push ebx
mov ecx, edi
call fcn.004b3a4e
pop ecx
mov dword [esp + 0x1c], edi
call fcn.0041df75
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 2
jmp 0x41d907
call fcn.0041df75
sub eax, dword [esp + 0x10]
cmp eax, 0x7530
jbe 0x41d907
call fcn.0041df75
sub eax, dword [esp + 0x2c]
cmp eax, 0x2710
jbe 0x41d907
mov edi, dword [esp + 0xa4]
push ebx
mov ecx, edi
call fcn.004b3a4e
pop ecx
mov dword [esp + 0x1c], edi
call fcn.0041df75
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 3
jmp 0x41d907
call fcn.0041df75
sub eax, dword [esp + 0x10]
cmp eax, 0x7530
jbe 0x41d907
call fcn.0041df75
sub eax, dword [esp + 0x2c]
cmp eax, 0x2710
jbe 0x41d907
mov edi, dword [esp + 0x8c]
push ebx
mov ecx, edi
call fcn.004b3a4e
pop ecx
mov dword [esp + 0x1c], edi
call fcn.0041df75
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 4
jmp 0x41d907
call fcn.0041df75
sub eax, dword [esp + 0x10]
cmp eax, 0xea60
jbe 0x41d907
call fcn.0041df75
sub eax, dword [esp + 0x2c]
cmp eax, 0x2710
jbe 0x41d907
mov edi, dword [esp + 0xac]
push ebx
mov ecx, edi
call fcn.004b3a4e
pop ecx
mov dword [esp + 0x1c], edi
call fcn.0041df75
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 5
jmp 0x41d907
call fcn.0041df75
sub eax, dword [esp + 0x10]
cmp eax, 0x7530
jbe 0x41d907
call fcn.0041df75
sub eax, dword [esp + 0x2c]
cmp eax, 0x2710
jbe 0x41d907
mov edi, dword [esp + 0x94]
push ebx
mov ecx, edi
call fcn.004b3a4e
pop ecx
mov dword [esp + 0x1c], edi
call fcn.0041df75
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 6
jmp 0x41d907
call fcn.0041df75
sub eax, dword [esp + 0x10]
cmp eax, 0xea60
jbe 0x41d907
call fcn.0041df75
sub eax, dword [esp + 0x2c]
cmp eax, 0x2710
jbe 0x41d907
mov edi, dword [esp + 0xb4]
push ebx
mov ecx, edi
call fcn.004b3a4e
pop ecx
mov dword [esp + 0x1c], edi
call fcn.0041df75
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], esi
jmp 0x41d907
call fcn.0041df75
sub eax, dword [esp + 0x10]
cmp eax, 0x7530
jbe 0x41d907
mov edi, dword [esp + 0xa8]
push ebx
mov ecx, edi
call fcn.004b3a4e
pop ecx
mov dword [esp + 0x1c], edi
call fcn.0041df75
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 8
call fcn.0041ba14
test eax, eax
je 0x41d9eb
mov eax, 0x61d3f8
call fcn.0041bc39
test eax, eax
jne 0x41d9eb
cmp dword [esp + 0x14], ebx
jbe 0x41d9eb
cmp dword [0x61d3f0], ebx
jne 0x41d9eb
call fcn.0041df75
sub eax, dword [0x61d458]
cmp eax, 0xbb8
jbe 0x41d9da
call fcn.0041df75
mov ecx, dword [0x61d460]
sub eax, dword [esp + 0x10]
add ecx, 0xbb8
cmp eax, ecx
jbe 0x41d9da
mov eax, dword [esp + 0x1c]
call fcn.004b35bd
test eax, eax
jne 0x41d9bc
call fcn.0041df75
sub eax, dword [0x61d45c]
cmp eax, 0x1b58
jb 0x41d9bc
call fcn.0041df75
mov ecx, dword [0x61d464]
inc dword [esp + 0x30]
mov dword [0x61d458], eax
cmp ecx, ebx
jle 0x41d948
xor edi, edi
call fcn.0040237f
mov ecx, dword [0x61d464]
cdq
idiv ecx
inc edx
cmp edx, dword [0x61d468]
jne 0x41d94c
inc edi
cmp edi, 0xa
jl 0x41d8ba
jmp 0x41d94c
call fcn.0041df75
sub eax, dword [esp + 0x10]
cmp eax, 0x1f40
jbe 0x41d8fd
inc dword [esp + 0x14]
mov esi, dword [esp + 0x68]
mov dword [esp + 0x24], ebx
jmp 0x41dcf2
push 7
pop esi
cmp dword [esp + 0x14], esi
ja 0x41d80d
call fcn.0041df75
sub eax, dword [esp + 0x10]
cmp eax, 0x2710
jbe 0x41d80d
call fcn.0041df75
sub eax, dword [esp + 0x18]
cmp eax, 0x50910
jbe 0x41d80d
cmp dword [0x61d3f0], ebx
jne 0x41d9eb
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
jmp 0x41d9eb
mov edx, dword [esp + 0x30]
mov dword [0x61d468], edx
cmp ecx, ebx
jle 0x41d969
lea eax, [ecx + ecx]
cmp dword [esp + 0x30], eax
jle 0x41d969
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
jmp 0x41d9da
push edx
push ebx
push ebx
call fcn.0046209e
pop ecx
pop ecx
push eax
push str._sSoundsIntroIntel_d.dav
push ebx
call fcn.0044507d
push eax
call fcn.004b4e1f
add esp, 0x14
test eax, eax
jne 0x41d9ac
cmp dword [0x61d464], ebx
jne 0x41d9ac
mov eax, dword [esp + 0x30]
cmp eax, ebx
jle 0x41d9ac
add dword [0x61d460], 0x2ee0
dec eax
mov dword [0x61d464], eax
call fcn.0041df75
mov dword [esp + 0x10], eax
mov dword [0x61d45c], eax
jmp 0x41d9da
cmp dword [0x61d458], ebx
jne 0x41d9d0
call fcn.0041df75
mov dword [0x61d458], eax
jmp 0x41d9da
add dword [0x61d458], 0x7d0
cmp dword [0x61d464], ebx
jne 0x41d9eb
call fcn.0041df75
mov dword [esp + 0x2c], eax
mov esi, 0x61d3f8
mov edx, esi
call fcn.0041c2d1
cmp eax, ebx
je 0x41da18
cmp eax, 0x13
jne 0x41da4a
call fcn.0041c1ef
call fcn.0041df75
mov dword [esp + 0x10], eax
call fcn.0041df75
mov dword [0x61d3f4], eax
call fcn.004abcbb
test eax, eax
je 0x41da31
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.004adfdb
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, esi
call fcn.0041bc39
test eax, eax
je 0x41d1d7
jmp 0x41da7c
push 0x20001
push ebx
push ebx
push ebx
mov dword [esp + 0x34], eax
call fcn.0046209e
push eax
push str._sSoundsCodeEntered.wav
push ebx
call fcn.0044507d
add esp, 0x14
push eax
call dword [sym.imp.WINMM.dll_PlaySoundA]
push 0x2ee
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.004b3c7d
mov eax, 0x61d3f8
call fcn.0041bc39
test eax, eax
je 0x41dab3
cmp dword [esp + 0x24], ebx
jne 0x41da9a
or dword [esp + 0x24], 0xffffffff
call fcn.004abcbb
test eax, eax
je 0x41dab3
push 0x4e20
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.004adfdb
cmp dword [esp + 0x100], ebx
jl 0x41dac7
mov ecx, dword [esp + 0x70]
push ebx
call fcn.004b3a4e
pop ecx
push 0x28
lea eax, [esp + 0x118]
push ebx
push eax
call fcn.00401f80
mov esi, dword [esp + 0x74]
add esp, 0xc
call fcn.0041df75
xor ecx, ecx
mov dword [esp + 0x18], eax
call fcn.004acb5e
push eax
push esi
call fcn.0044f781
mov ecx, esi
call fcn.0044e64e
mov ecx, dword [esp + 0x60]
push ebx
push ebx
push dword [esp + 0x48]
push dword [esp + 0x3c]
push esi
call fcn.0044ebc3
add esp, 0x1c
xor edi, edi
mov ecx, dword [esp + edi + 0xbc]
push ebx
push ebx
push dword [esp + edi + 0x104]
push dword [esp + edi + 0xf0]
push esi
call fcn.0044ebc3
add edi, 4
add esp, 0x14
cmp edi, 0x18
jl 0x41db15
mov ecx, dword [esp + 0x5c]
push ebx
push ebx
push dword [esp + 0x28]
push dword [esp + 0x50]
push esi
call fcn.0044ebc3
add esp, 0x14
push ebx
push ebx
xor ecx, ecx
mov edx, esi
call fcn.0044f3ee
pop ecx
pop ecx
xor eax, eax
push 7
inc eax
pop ecx
lea edi, [esp + 0x114]
rep stosd dword es:[edi], eax
cmp dword [esp + 0xe4], ebx
jle 0x41db8d
cmp dword [esp + 0xe4], 0x50
jge 0x41dba6
add dword [esp + 0xe4], 7
jmp 0x41db9f
cmp dword [esp + 0xe4], 0xffffffb0
jle 0x41dba6
sub dword [esp + 0xe4], 8
mov dword [esp + 0x114], ebx
cmp dword [esp + 0x28], 0xfffffff1
jle 0x41dbc0
cmp dword [esp + 0x38], 0xfffffff7
jle 0x41dbc0
sub dword [esp + 0x28], 4
mov dword [esp + 0x114], ebx
cmp dword [esp + 0xe8], 0xfffffff6
jle 0x41dbe5
cmp dword [esp + 0x100], 0xfffffff7
jle 0x41dbe5
sub dword [esp + 0xe8], 3
mov dword [esp + 0x118], ebx
jmp 0x41dc08
cmp dword [esp + 0xec], 0xfffffff6
jle 0x41dc08
cmp dword [esp + 0x104], 0xfffffff7
jle 0x41dc08
sub dword [esp + 0xec], 5
mov dword [esp + 0x11c], ebx
cmp dword [esp + 0xf8], 0x50
jge 0x41dc2d
cmp dword [esp + 0x110], 0xfffffff7
jle 0x41dc2d
add dword [esp + 0xf8], 3
mov dword [esp + 0x128], ebx
jmp 0x41dc50
cmp dword [esp + 0xf4], 0x50
jge 0x41dc50
cmp dword [esp + 0x10c], 0xfffffff7
jle 0x41dc50
add dword [esp + 0xf4], 5
mov dword [esp + 0x124], ebx
cmp dword [esp + 0x110], 1
jge 0x41dc6d
cmp dword [esp + 0x108], 0xfffffff7
jle 0x41dc98
dec dword [esp + 0x108]
jmp 0x41dc91
cmp dword [esp + 0x118], ebx
je 0x41dc98
cmp dword [esp + 0x128], ebx
je 0x41dc98
cmp dword [esp + 0x108], 0x51
jge 0x41dc98
add dword [esp + 0x108], 5
mov dword [esp + 0x120], ebx
cmp dword [esp + 0x20], 0x1c
jge 0x41dcab
add dword [esp + 0x20], 2
mov dword [esp + 0x12c], ebx
call fcn.0041df75
sub eax, dword [esp + 0x18]
cmp eax, 0x14
ja 0x41dcd8
push 0x14
pop ecx
sub ecx, eax
js 0x41dcd0
cmp ecx, 0x7fffffff
jge 0x41dcd0
push 0x14
pop ecx
sub ecx, eax
push ecx
jmp 0x41dcd2
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
cmp dword [esp + eax*4 + 0x114], ebx
je 0x41dce9
inc eax
cmp eax, 6
jle 0x41dcda
cmp eax, 6
jl 0x41dade
mov edi, 0x4d5634
push edi
mov dword [0x61d3f8], 1
call fcn.004ae9f6
mov eax, dword [esp + 0x80]
pop ecx
call fcn.004b3b82
mov eax, dword [esp + 0x9c]
call fcn.004b3b82
mov eax, dword [esp + 0x84]
call fcn.004b3b82
mov eax, dword [esp + 0xa4]
call fcn.004b3b82
mov eax, dword [esp + 0x8c]
call fcn.004b3b82
mov eax, dword [esp + 0xac]
call fcn.004b3b82
mov eax, dword [esp + 0x94]
call fcn.004b3b82
mov eax, dword [esp + 0xb4]
call fcn.004b3b82
mov eax, dword [esp + 0xa8]
call fcn.004b3b82
mov eax, dword [esp + 0xa0]
call fcn.004b3b82
mov eax, dword [esp + 0x6c]
call fcn.004b3b82
mov eax, dword [esp + 0x70]
call fcn.004b3b82
mov eax, dword [esp + 0x78]
call fcn.004b3b82
mov eax, dword [esp + 0x34]
call fcn.004b3b82
mov eax, dword [esp + 0x80]
call fcn.004b3b82
mov eax, dword [esp + 0x88]
call fcn.004b3b82
mov eax, dword [esp + 0x58]
call fcn.0044f49f
mov eax, dword [esp + 0x5c]
call fcn.0044f49f
mov eax, esi
call fcn.0044f49f
xor esi, esi
mov eax, dword [esp + esi*4 + 0xbc]
call fcn.0044f49f
inc esi
cmp esi, 6
jl 0x41ddd7
cmp dword [0x61d404], ebx
je 0x41ddf5
mov dword [esp + 0x24], ebx
cmp dword [esp + 0x24], ebx
jne 0x41de37
push ebx
call fcn.004b3c14
pop ecx
push ebx
push ebx
call fcn.0046209e
push eax
push str._sSoundsIntroWait9.dav
push ebx
call fcn.0044507d
add esp, 0x14
push eax
call fcn.004b4849
pop ecx
mov esi, eax
push 1
mov ecx, esi
call fcn.004b3a4e
pop ecx
mov eax, esi
call fcn.004b3b82
jmp 0x41dec8
jg 0x41dec8
cmp dword [esp + 0x14], 6
jae 0x41dea9
call fcn.0041df75
sub eax, dword [esp + 0x18]
cmp eax, 0x2bf20
ja 0x41dea9
cmp dword [esp + 0x14], 4
jae 0x41de99
call fcn.0041df75
sub eax, dword [esp + 0x18]
cmp eax, 0x1d4c0
ja 0x41de99
cmp dword [esp + 0x14], 2
jae 0x41de89
call fcn.0041df75
sub eax, dword [esp + 0x18]
cmp eax, 0x7530
ja 0x41de89
cmp dword [esp + 0x30], 2
jl 0x41dec8
push ebx
push ebx
push ebx
call fcn.0046209e
push eax
push str._sSoundsIntroResponse1.dav
jmp 0x41deb7
push ebx
push ebx
push ebx
call fcn.0046209e
push eax
push str._sSoundsIntroResponse2.dav
jmp 0x41deb7
push ebx
push ebx
push ebx
call fcn.0046209e
push eax
push str._sSoundsIntroResponse3.dav
push ebx
call fcn.0044507d
add esp, 0x14
push eax
call fcn.004b4a86
pop ecx
pop ecx
mov eax, dword [esp + 0x90]
cmp eax, ebx
je 0x41ded8
call fcn.004adda0
mov ecx, edi
call fcn.004acb5e
mov ecx, dword [esp + 0x1c4]
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401317
mov esp, ebp
pop ebp
ret