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

Disassembly:
mov eax, dword [0x5040e8]
sub esp, 0x57c
push ebx
push ebp
push esi
lea esi, [eax + 0x10e28]
push edi
add eax, 0x10c28
push eax
push str.__Load_system_file__s...
call fcn.0040c4a0
mov eax, dword [0x5040e8]
add eax, 0x10c28
mov ecx, esi
lea edx, [esp + 0x190]
call fcn.00461700
lea eax, [esp + 0x190]
push 0x4f6a34
push eax
call fcn.00466c20
mov esi, eax
xor ebx, ebx
add esp, 0x10
cmp esi, ebx
je 0x45c542
push ebx
mov ecx, esi
call fcn.00469bc0
mov ebp, eax
add esp, 4
mov eax, esi
call fcn.00466ee0
cmp ebp, ebx
jne 0x45c56e
mov eax, dword [0x5040e8]
lea ecx, [eax + 0x10c28]
push ecx
add eax, 0x10e28
push eax
push str.Cant_open__s_s_n
call fcn.0040c140
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x57c
ret
push 0x4f06c0
call fcn.0040c4a0
add esp, 4
mov edi, str.Info
mov ecx, ebp
call fcn.0046a2f0
cmp eax, 0xffffffff
je 0x45c63a
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x14]
push eax
push 0x4f09dc
mov eax, str.localcoord
mov ecx, ebp
mov dword [esp + 0x1c], 0x140
mov dword [esp + 0x24], pe_nt_image_headers32
call fcn.0046a960
mov eax, dword [esp + 0x1c]
add esp, 0xc
cmp eax, 1
jge 0x45c5d0
mov eax, 1
mov dword [esp + 0x10], eax
mov esi, dword [esp + 0x18]
cmp esi, 1
jge 0x45c5e2
mov esi, 1
mov dword [esp + 0x18], esi
fild dword [esp + 0x18]
mov ecx, dword [0x5040e8]
dec eax
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x14], eax
lea eax, [esi - 1]
fild dword [esp + 0x14]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fild dword [esp + 0x10]
fstp qword [ecx + 0x11088]
fxch st(2)
fstp qword [ecx + 0x11090]
fstp qword [ecx + 0x11098]
fstp qword [ecx + 0x110a0]
fld qword [ecx + 0x12888]
fdiv qword [ecx + 0x11088]
fstp qword [ecx + 0x110a8]
mov edi, str.Files
mov ecx, ebp
call fcn.0046a2f0
cmp eax, 0xffffffff
jne 0x45c655
push str.Cant_access__Files__n
jmp 0x45d8d2
push str.__Load_system_spr...
call fcn.0040c4a0
add esp, 4
push 0x4f4f40
push ebp
call fcn.0046a5e0
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x45d8cd
push ebx
push ebx
lea ecx, [esp + 0x190]
push ecx
push esi
call fcn.0040c200
add esp, 0x10
test eax, eax
je 0x45d8da
lea edx, [esp + 0x188]
push edx
call fcn.00467510
mov ecx, dword [0x5040e8]
add esp, 4
mov dword [ecx + 0x110bc], eax
cmp eax, ebx
jne 0x45c6d0
push esi
push str.Cant_load__s_n
call fcn.0040c140
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x57c
ret
lea eax, [esp + 0x188]
lea edx, [ecx + 0x110c0]
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x45c6e1
push 0x4f06c0
call fcn.0040c4a0
add esp, 4
cmp dword [0x5044e0], 1
jne 0x45c78f
push str.__Load_system_snd...
call fcn.0040c4a0
add esp, 4
push 0x4f3538
push ebp
call fcn.0046a5e0
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x45c780
push ebx
push ebx
lea edx, [esp + 0x190]
push edx
push esi
call fcn.0040c200
add esp, 0x10
test eax, eax
je 0x45d8da
lea eax, [esp + 0x188]
push eax
call fcn.0046ef30
mov ecx, dword [0x5040e8]
add esp, 4
mov dword [ecx + 0x112c0], eax
cmp eax, ebx
je 0x45c6b5
lea eax, [esp + 0x188]
lea edx, [ecx + 0x112c4]
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x45c776
push 0x4f06c0
call fcn.0040c4a0
add esp, 4
jmp 0x45c79b
mov edx, dword [0x5040e8]
mov dword [edx + 0x112c0], ebx
push str.fight
push ebp
call fcn.0046a5e0
add esp, 8
cmp eax, ebx
je 0x45d8da
lea edx, [esp + 0x388]
sub edx, eax
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x45c7c0
mov esi, dword [0x5040e8]
push 0x200
add esi, 0x21dc
mov eax, str.select
mov ecx, ebp
call fcn.0046a990
add esp, 4
cmp eax, 1
jl 0x45d8da
mov eax, dword [0x5040e8]
cmp byte [eax + 0x21dc], bl
je 0x45d8da
lea esi, [eax + 0x3580]
push 0x200
mov eax, str.logo.storyboard
mov ecx, ebp
call fcn.0046a990
mov esi, dword [0x5040e8]
add esp, 4
push 0x200
add esi, 0x3780
mov eax, str.intro.storyboard
mov ecx, ebp
call fcn.0046a990
add esp, 4
push str.__Load_system_fonts...
call fcn.0040c4a0
mov eax, dword [0x5040e8]
lea ecx, [eax + 0x10e28]
lea edx, [esp + 0x20]
add esp, 4
mov dword [esp + 0x1c], ecx
push edx
lea edx, [eax + 0x114c8]
mov ecx, ebp
mov dword [esp + 0x24], 0x4f1744
mov dword [esp + 0x28], str.data_
mov dword [esp + 0x2c], str.font_
mov dword [esp + 0x30], ebx
call fcn.0046e120
add esp, 4
push 0x4f06c0
call fcn.0040c4a0
add esp, 4
mov ecx, ebp
mov dword [ebp + 0x18], 0xffffffff
call fcn.0046a3f0
mov esi, eax
lea eax, [esi + 1]
mov ecx, str.begin_action
call fcn.004614d0
test eax, eax
jne 0x45c8de
lea esp, [esp]
mov ecx, ebp
call fcn.0046a3f0
mov esi, eax
cmp esi, ebx
je 0x45c91d
lea eax, [esi + 1]
mov ecx, str.begin_action
call fcn.004614d0
test eax, eax
je 0x45c8c0
cmp esi, ebx
je 0x45c91d
push str.__Load_system_anim...
call fcn.0040c4a0
add esp, 4
mov edi, ebp
call fcn.00463890
mov ecx, dword [0x5040e8]
mov dword [ecx + 0x114c4], eax
cmp eax, ebx
jne 0x45c910
push str.Error_loading_anim_n
jmp 0x45d8d2
push 0x4f06c0
call fcn.0040c4a0
add esp, 4
mov edi, str.Music
mov ecx, ebp
call fcn.0046a2f0
cmp eax, 0xffffffff
je 0x45c99c
mov edx, dword [0x5040e8]
add edx, 0x11508
push edx
mov esi, str.title.bgm
mov ecx, ebp
call fcn.00470860
mov eax, dword [0x5040e8]
add eax, 0x11b68
add esp, 4
push eax
mov esi, str.select.bgm
mov ecx, ebp
call fcn.00470860
mov ecx, dword [0x5040e8]
add ecx, 0x11728
add esp, 4
push ecx
mov esi, str.vs.bgm
mov ecx, ebp
call fcn.00470860
mov edx, dword [0x5040e8]
add edx, 0x11948
add esp, 4
push edx
mov esi, str.victory.bgm
mov ecx, ebp
call fcn.00470860
add esp, 4
mov edi, str.Infobox
mov ecx, ebp
call fcn.0046a2f0
cmp eax, 0xffffffff
je 0x45c9c7
mov esi, dword [0x5040e8]
push str.text.font
add esi, 0x810
push ebp
call fcn.0045fc80
add esp, 8
mov edi, str.Infobox_Text
mov ecx, ebp
call fcn.0046a2f0
cmp eax, 0xffffffff
je 0x45ca26
mov esi, dword [0x5040e8]
add esi, 0x82c
mov ecx, ebp
mov byte [esi], bl
call fcn.0046a9c0
cmp eax, ebx
je 0x45ca26
cmp byte [eax], 0x5f
jne 0x45c9fb
cmp byte [eax + 1], bl
je 0x45ca09
push 0x1000
push eax
call fcn.004617a0
add esp, 8
push 0x1000
push 0x4f074c
call fcn.004617a0
add esp, 8
mov ecx, ebp
call fcn.0046aa30
cmp eax, ebx
jne 0x45c9f1
push str.__Load__Title_Info_...
call fcn.0040c4a0
add esp, 4
mov edi, str.title_info
mov ecx, ebp
call fcn.0046a2f0
cmp eax, 0xffffffff
jne 0x45ca4e
push str.Cant_access__Title_Info__n
jmp 0x45d8d2
mov ebx, dword [0x5040e8]
add ebx, 0x182c
lea esi, [ebx + 0x20]
lea edi, [ebx + 0x24]
push ebx
mov eax, str.fadein.time
mov ecx, ebp
mov dword [esi], 0x9f
mov dword [edi], 0x9e
mov dword [ebx + 0x64], 0xd
mov dword [ebx + 0x1c8], 0xc
mov dword [ebx + 0x1cc], 8
mov dword [ebx + 0x1d0], 5
mov dword [ebx + 0x1d4], 1
mov dword [ebx + 0x1d8], 0xffffffe0
mov dword [ebx + 0x1dc], 0xfffffff6
mov dword [ebx + 0x1e0], 0x20
mov dword [ebx + 0x1e4], 2
mov dword [esp + 0x34], str.arcade
mov dword [esp + 0x38], str.versus
mov dword [esp + 0x3c], str.teamarcade
mov dword [esp + 0x40], str.teamversus
mov dword [esp + 0x44], str.teamcoop
mov dword [esp + 0x48], str.survival
mov dword [esp + 0x4c], str.survivalcoop
mov dword [esp + 0x50], str.training
mov dword [esp + 0x54], str.watch
mov dword [esp + 0x58], str.options
mov dword [esp + 0x5c], 0x4fa644
mov dword [esp + 0x60], str.Arcade
mov dword [esp + 0x64], str.VS_Mode
mov dword [esp + 0x68], str.Team_Arcade
mov dword [esp + 0x6c], str.Team_Versus
mov dword [esp + 0x70], str.Team_Co_op
mov dword [esp + 0x74], str.Survival
mov dword [esp + 0x78], str.Survival_Co_op
mov dword [esp + 0x7c], str.Training
mov dword [esp + 0x80], str.Watch
mov dword [esp + 0x84], str.Options
mov dword [esp + 0x88], 0x4f5bc4
call fcn.0046a900
lea eax, [ebx + 4]
add esp, 4
push eax
mov eax, str.fadeout.time
mov ecx, ebp
call fcn.0046a900
add esp, 4
cmp dword [ebx], 1
jge 0x45cbaa
mov dword [ebx], 1
mov eax, 1
cmp dword [ebx + 4], eax
jge 0x45cbb7
mov dword [ebx + 4], eax
push edi
push esi
push 0x4f09dc
mov eax, str.menu.pos
mov ecx, ebp
call fcn.0046a960
add esp, 0xc
push str.menu.item.font
lea esi, [ebx + 0x28]
push ebp
call fcn.0045fc80
push str.menu.item.active.font
lea esi, [ebx + 0x44]
push ebp
call fcn.0045fc80
lea eax, [ebx + 0x64]
push eax
lea eax, [ebx + 0x60]
push eax
push 0x4f09dc
mov eax, str.menu.item.spacing
mov ecx, ebp
call fcn.0046a960
lea edi, [ebx + 0x68]
add esp, 0x1c
mov dword [esp + 0x10], edi
xor esi, esi
mov edi, edi
mov eax, dword [esp + esi + 0x30]
cmp byte [eax], 0
je 0x45cc70
push eax
lea ecx, [esp + 0x8c]
push str.menu.itemname._s
push ecx
call dword [sym.imp.MSVCR90.dll_sprintf]
add esp, 0xc
lea edx, [esp + 0x88]
push edx
push ebp
call fcn.0046a5e0
add esp, 8
test eax, eax
je 0x45cc5e
mov ecx, 0x1f
lea edx, [esp + 0x88]
mov eax, ebp
call fcn.0040c360
mov edi, dword [esp + 0x10]
jmp 0x45cc70
mov eax, dword [esp + esi + 0x5c]
mov edx, edi
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x45cc66
add edi, 0x20
add esi, 4
cmp esi, 0x2c
mov dword [esp + 0x10], edi
jl 0x45cc10
lea eax, [ebx + 0x1cc]
push eax
lea eax, [ebx + 0x1c8]
push eax
push 0x4f09dc
mov eax, str.menu.window.margins.y
mov ecx, ebp
call fcn.0046a960
lea eax, [ebx + 0x1d0]
add esp, 0xc
push eax
mov eax, str.menu.window.visibleitems
mov ecx, ebp
call fcn.0046a900
lea eax, [ebx + 0x1d4]
add esp, 4
push eax
mov eax, str.menu.boxcursor.visible
mov ecx, ebp
call fcn.0046a900
add esp, 4
lea eax, [ebx + 0x1e4]
push eax
lea eax, [ebx + 0x1e0]
push eax
lea eax, [ebx + 0x1dc]
push eax
lea eax, [ebx + 0x1d8]
push eax
push str._i__i__i__i
mov eax, str.menu.boxcursor.coords
mov ecx, ebp
call fcn.0046a960
add esp, 0x14
push str.cursor.move.snd
lea ecx, [ebx + 0xc]
lea eax, [ebx + 8]
push ebp
call fcn.00444d30
push str.cursor.done.snd
lea ecx, [ebx + 0x14]
lea eax, [ebx + 0x10]
push ebp
call fcn.00444d30
push str.cancel.snd
lea ecx, [ebx + 0x1c]
lea eax, [ebx + 0x18]
push ebp
call fcn.00444d30
push 0x4f06c0
call fcn.0040c4a0
add esp, 0x1c
push str.__Load__Option_Info_...
call fcn.0040c4a0
add esp, 4
mov edi, str.option_info
mov ecx, ebp
call fcn.0046a2f0
cmp eax, 0xffffffff
jne 0x45cd65
push str.Cant_access__Option_Info__n
jmp 0x45d8d2
mov esi, dword [0x5040e8]
add esi, 0x1a14
lea edi, [esi + 4]
push esi
mov eax, str.fadein.time
mov ecx, ebp
mov dword [esi], 0xa
mov dword [edi], 0xa
call fcn.0046a900
add esp, 4
push edi
mov eax, str.fadeout.time
mov ecx, ebp
call fcn.0046a900
add esp, 4
push str.cursor.move.snd
lea ecx, [esi + 0xc]
lea eax, [esi + 8]
push ebp
call fcn.00444d30
push str.cursor.done.snd
lea ecx, [esi + 0x14]
lea eax, [esi + 0x10]
push ebp
call fcn.00444d30
push str.cancel.snd
lea ecx, [esi + 0x1c]
lea eax, [esi + 0x18]
push ebp
call fcn.00444d30
add esi, 0x20
push ebp
mov eax, str.title
call fcn.004117d0
add esp, 0x1c
push 0x4f06c0
call fcn.0040c4a0
add esp, 4
push str.__Load__Select_Info_...
call fcn.0040c4a0
add esp, 4
mov edi, str.select_info
mov ecx, ebp
call fcn.0046a2f0
cmp eax, 0xffffffff
jne 0x45ce19
push str.Cant_access__Select_Info__n
jmp 0x45d8d2
mov edi, ebp
call fcn.00409500
test eax, eax
je 0x45d8da
push 0x4f06c0
call fcn.0040c4a0
add esp, 4
push str.__Load__VS_Screen_...
call fcn.0040c4a0
add esp, 4
mov edi, str.vs_screen
mov ecx, ebp
call fcn.0046a2f0
cmp eax, 0xffffffff
je 0x45d8c6
mov edi, dword [0x5040e8]
add edi, 0x4874
push edi
mov eax, str.time
mov ecx, ebp
mov dword [esp + 0x18], edi
mov dword [edi], 0x96
call fcn.0046a900
lea eax, [edi + 4]
add esp, 4
push eax
mov eax, str.fadein.time
mov ecx, ebp
call fcn.0046a900
lea ecx, [edi + 8]
add esp, 4
push ecx
mov eax, str.fadeout.time
mov ecx, ebp
call fcn.0046a900
add esp, 4
mov ebx, 1
add edi, 0x40
jmp 0x45ceb0
push ebx
lea edx, [esp + 0x8c]
push 0x4fa810
push edx
call dword [sym.imp.MSVCR90.dll_sprintf]
add esp, 0xc
lea esi, [edi - 8]
push ebp
lea eax, [esp + 0x8c]
call fcn.004117d0
add esp, 4
cmp dword [esi], 0
jne 0x45cf76
fld1
lea eax, [ebx - 1]
neg eax
fst dword [edi + 0x3c]
sbb eax, eax
fstp dword [edi + 0x38]
push ebx
mov dword [esi], 2
and eax, 0xfffffffe
lea ecx, [esp + 0x8c]
lea esi, [edi + 0x3c]
inc eax
push str.p_i.scale
push ecx
mov dword [edi - 4], 0x2328
mov dword [edi], 1
mov dword [edi + 0x30], eax
call dword [sym.imp.MSVCR90.dll_sprintf]
add esp, 0xc
push esi
lea eax, [edi + 0x38]
push eax
push str._f__f
lea eax, [esp + 0x94]
mov ecx, ebp
call fcn.0046a960
add esp, 0xc
push ebx
lea edx, [esp + 0x8c]
push str.p_i.pos
push edx
call dword [sym.imp.MSVCR90.dll_sprintf]
add esp, 0xc
lea eax, [edi + 0x20]
push eax
lea ecx, [edi + 0x1c]
push ecx
push str._f__f
lea eax, [esp + 0x94]
mov ecx, ebp
call fcn.0046a960
add esp, 0xc
push ebx
lea edx, [esp + 0x8c]
push str.p_i.name.offset
push edx
call dword [sym.imp.MSVCR90.dll_sprintf]
add esp, 0xc
lea esi, [edi - 0x14]
lea eax, [edi - 0x18]
push esi
push eax
push 0x4f09dc
lea eax, [esp + 0x94]
mov ecx, ebp
call fcn.0046a960
add esp, 0xc
push ebx
lea eax, [esp + 0x8c]
push str.p_i.name.pos
push eax
call dword [sym.imp.MSVCR90.dll_sprintf]
add esp, 0xc
push esi
lea eax, [edi - 0x18]
push eax
push 0x4f09dc
lea eax, [esp + 0x94]
mov ecx, ebp
call fcn.0046a960
add esp, 0xc
push ebx
lea ecx, [esp + 0x8c]
push str.p_i.name.font
push ecx
call dword [sym.imp.MSVCR90.dll_sprintf]
add esp, 0xc
lea edx, [esp + 0x88]
push edx
lea esi, [edi - 0x34]
push ebp
call fcn.0045fc80
push ebx
lea eax, [esp + 0x94]
push str.p_i.name.spacing
push eax
call dword [sym.imp.MSVCR90.dll_sprintf]
add esp, 0x14
lea ecx, [edi - 0xc]
push ecx
lea edx, [edi - 0x10]
push edx
push 0x4f09dc
lea eax, [esp + 0x94]
mov ecx, ebp
call fcn.0046a960
inc ebx
lea eax, [ebx - 1]
add esp, 0xc
add edi, 0xd8
cmp eax, 2
jl 0x45ceb0
mov esi, dword [esp + 0x14]
add esi, 0x1bc
push ebp
mov eax, str.match
call fcn.004117d0
add esp, 4
push 0x4f06c0
call fcn.0040c4a0
add esp, 4
push str.__Load__Victory_Screen_...
call fcn.0040c4a0
add esp, 4
mov edi, str.victory_screen
mov ecx, ebp
call fcn.0046a2f0
cmp eax, 0xffffffff
je 0x45d1c0
mov edi, dword [0x5040e8]
add edi, 0x4adc
lea esi, [edi + 4]
push edi
mov eax, str.enabled
mov ecx, ebp
mov dword [esi], 0x96
call fcn.0046a900
add esp, 4
push esi
mov eax, str.time
mov ecx, ebp
call fcn.0046a900
lea ecx, [edi + 8]
add esp, 4
push ecx
mov eax, str.fadein.time
mov ecx, ebp
call fcn.0046a900
lea edx, [edi + 0xc]
add esp, 4
push edx
mov eax, str.fadeout.time
mov ecx, ebp
call fcn.0046a900
mov ebx, dword [sym.imp.MSVCR90.dll_sprintf]
add esp, 4
push 1
lea eax, [esp + 0x8c]
push 0x4fa810
push eax
call ebx
add esp, 0xc
lea esi, [edi + 0x3c]
push ebp
lea eax, [esp + 0x8c]
call fcn.004117d0
add esp, 4
push 1
lea ecx, [esp + 0x8c]
push str.p_i.name.offset
push ecx
call ebx
add esp, 0xc
lea edx, [edi + 0x30]
push edx
lea eax, [edi + 0x2c]
push eax
push 0x4f09dc
lea eax, [esp + 0x94]
mov ecx, ebp
call fcn.0046a960
add esp, 0xc
push 1
lea ecx, [esp + 0x8c]
push str.p_i.name.font
push ecx
call ebx
add esp, 0xc
lea edx, [esp + 0x88]
push edx
lea esi, [edi + 0x10]
push ebp
call fcn.0045fc80
push 1
lea eax, [esp + 0x94]
push str.p_i.name.spacing
push eax
call ebx
add esp, 0x14
lea ecx, [edi + 0x38]
push ecx
lea edx, [edi + 0x34]
push edx
push 0x4f09dc
lea eax, [esp + 0x94]
mov ecx, ebp
call fcn.0046a960
add esp, 0xc
lea esi, [edi + 0xe8]
push ebp
mov eax, str.winquote
call fcn.004117d0
add esp, 4
push 0x4f06c0
jmp 0x45d1c5
push str.Couldnt_load_n
call fcn.0040c4a0
mov eax, dword [0x5040e8]
add esp, 4
mov edi, str.demo_mode
mov ecx, ebp
mov dword [eax + 0x126b4], 0xffffffff
call fcn.0046a2f0
cmp eax, 0xffffffff
je 0x45d324
push str.__Load__Demo_Mode_...
call fcn.0040c4a0
lea ecx, [esp + 0x14]
add esp, 4
push ecx
mov eax, str.enabled
mov ecx, ebp
mov dword [esp + 0x14], 0
call fcn.0046a900
add esp, 4
cmp dword [esp + 0x10], 0
je 0x45d23d
mov edx, dword [0x5040e8]
add edx, 0x126b4
push edx
mov eax, str.title.waittime
mov ecx, ebp
call fcn.0046a900
add esp, 4
mov eax, dword [0x5040e8]
add eax, 0x126b8
push eax
mov eax, str.select.enabled
mov ecx, ebp
call fcn.0046a900
mov ecx, dword [0x5040e8]
add ecx, 0x126bc
add esp, 4
push ecx
mov eax, str.vsscreen.enabled
mov ecx, ebp
call fcn.0046a900
mov edx, dword [0x5040e8]
add edx, 0x126c0
add esp, 4
push edx
mov eax, str.fight.endtime
mov ecx, ebp
call fcn.0046a900
mov eax, dword [0x5040e8]
add eax, 0x126c4
add esp, 4
push eax
mov eax, str.fight.playbgm
mov ecx, ebp
call fcn.0046a900
mov ecx, dword [0x5040e8]
add ecx, 0x126c8
add esp, 4
push ecx
mov eax, str.fight.stopbgm
mov ecx, ebp
call fcn.0046a900
mov edx, dword [0x5040e8]
add edx, 0x126cc
add esp, 4
push edx
mov eax, str.fight.bars.display
mov ecx, ebp
call fcn.0046a900
mov eax, dword [0x5040e8]
add eax, 0x126b0
add esp, 4
push eax
mov eax, str.intro.waitcycles
mov ecx, ebp
call fcn.0046a900
mov ecx, dword [0x5040e8]
add ecx, 0x126d0
add esp, 4
push ecx
mov eax, str.debuginfo
mov ecx, ebp
call fcn.0046a900
add esp, 4
push 0x4f06c0
call fcn.0040c4a0
add esp, 4
mov edi, str.continue_screen
mov ecx, ebp
call fcn.0046a2f0
cmp eax, 0xffffffff
je 0x45d418
mov edi, dword [0x5040e8]
push str.__Load__Continue_Screen_...
add edi, 0x4108
call fcn.0040c4a0
add esp, 4
push edi
mov eax, str.enabled
mov ecx, ebp
call fcn.0046a900
add esp, 4
push 0x200
lea esi, [edi + 4]
mov eax, str.storyboard
mov ecx, ebp
call fcn.0046a990
add esp, 4
lea ecx, [edi + 0x208]
push ecx
lea eax, [edi + 0x204]
push eax
mov dword [eax], 0x9f
mov dword [ecx], 0x28
push 0x4f09dc
mov eax, 0x4f0c68
mov ecx, ebp
call fcn.0046a960
add esp, 0xc
lea esi, [edi + 0x20c]
push ebp
mov eax, str.continue
call fcn.004117d0
add esp, 4
lea esi, [edi + 0x2b8]
push ebp
mov eax, 0x4fa990
call fcn.004117d0
add esp, 4
lea esi, [edi + 0x410]
push ebp
mov eax, 0x4fa994
call fcn.004117d0
add esp, 4
lea esi, [edi + 0x364]
push ebp
mov eax, str.yes.active
call fcn.004117d0
add esp, 4
lea esi, [edi + 0x4bc]
push ebp
mov eax, str.no.active
call fcn.004117d0
add esp, 4
push 0x4f06c0
call fcn.0040c4a0
add esp, 4
mov edi, str.game_over_screen
mov ecx, ebp
call fcn.0046a2f0
cmp eax, 0xffffffff
je 0x45d476
mov esi, dword [0x5040e8]
push str.__Load__Game_Over_Screen_...
add esi, 0x4670
call fcn.0040c4a0
add esp, 4
push esi
mov eax, str.enabled
mov ecx, ebp
call fcn.0046a900
add esp, 4
push 0x200
add esi, 4
mov eax, str.storyboard
mov ecx, ebp
call fcn.0046a990
add esp, 4
push 0x4f06c0
call fcn.0040c4a0
add esp, 4
mov edi, str.win_screen
mov ecx, ebp
call fcn.0046a2f0
cmp eax, 0xffffffff
je 0x45d51d
mov edi, dword [0x5040e8]
push str.__Load__Win_Screen_...
add edi, 0x3984
call fcn.0040c4a0
lea edx, [edi + 0x608]
add esp, 4
push edx
mov eax, str.enabled
mov ecx, ebp
call fcn.0046a900
add esp, 4
lea esi, [edi + 0x60c]
push ebp
mov eax, str.wintext
call fcn.004117d0
lea eax, [edi + 0x6bc]
add esp, 4
push eax
mov eax, str.fadein.time
mov ecx, ebp
call fcn.0046a900
lea ecx, [edi + 0x6b8]
add esp, 4
push ecx
mov eax, str.pose.time
mov ecx, ebp
call fcn.0046a900
add esp, 4
add edi, 0x6c0
push edi
mov eax, str.fadeout.time
mov ecx, ebp
call fcn.0046a900
add esp, 4
push 0x4f06c0
call fcn.0040c4a0
add esp, 4
mov edi, str.survival_results_screen
mov ecx, ebp
call fcn.0046a2f0
cmp eax, 0xffffffff
je 0x45d5d1
mov edi, dword [0x5040e8]
push str.__Load__Survival_Results_Screen_...
add edi, 0x4048
call fcn.0040c4a0
add esp, 4
push edi
mov eax, str.enabled
mov ecx, ebp
call fcn.0046a900
add esp, 4
lea esi, [edi + 4]
push ebp
mov eax, str.winstext
call fcn.004117d0
lea edx, [edi + 0xb4]
add esp, 4
push edx
mov eax, str.fadein.time
mov ecx, ebp
call fcn.0046a900
lea eax, [edi + 0xb0]
add esp, 4
push eax
mov eax, str.show.time
mov ecx, ebp
call fcn.0046a900
lea ecx, [edi + 0xb8]
add esp, 4
push ecx
mov eax, str.fadeout.time
mov ecx, ebp
call fcn.0046a900
add esp, 4
add edi, 0xbc
push edi
mov eax, str.roundstowin
mov ecx, ebp
call fcn.0046a900
add esp, 4
push 0x4f06c0
call fcn.0040c4a0
add esp, 4
mov edi, str.default_ending
mov ecx, ebp
call fcn.0046a2f0
cmp eax, 0xffffffff
je 0x45d638
mov esi, dword [0x5040e8]
push str.__Load__Default_Ending_...
add esi, 0x3984
call fcn.0040c4a0
lea edx, [esi + 0x204]
add esp, 4
push edx
mov eax, str.enabled
mov ecx, ebp
call fcn.0046a900
add esp, 4
push 0x200
add esi, 0x208
mov eax, str.storyboard
mov ecx, ebp
call fcn.0046a990
add esp, 4
push 0x4f06c0
call fcn.0040c4a0
add esp, 4
mov edi, str.end_credits
mov ecx, ebp
call fcn.0046a2f0
cmp eax, 0xffffffff
je 0x45d696
mov esi, dword [0x5040e8]
push str.__Load__End_Credits_...
add esi, 0x3984
call fcn.0040c4a0
add esp, 4
push esi
mov eax, str.enabled
mov ecx, ebp
call fcn.0046a900
add esp, 4
push 0x200
add esi, 4
mov eax, str.storyboard
mov ecx, ebp
call fcn.0046a990
add esp, 4
push 0x4f06c0
call fcn.0040c4a0
add esp, 4
push str.__Load_TitleBG...
call fcn.0040c4a0
mov eax, dword [0x5040e8]
mov ecx, dword [eax + 0x114c4]
mov edx, dword [eax + 0x110bc]
add esp, 4
push ecx
push edx
add eax, 0x10e28
push eax
push ebp
mov ecx, str.TitleBG
call fcn.00470ca0
mov ecx, dword [0x5040e8]
add esp, 0x10
mov dword [ecx + 0x114f8], eax
test eax, eax
jne 0x45d6e4
push str.Error_loading_TitleBG_n
jmp 0x45d8d2
push str.VersusBG...
call fcn.0040c4a0
mov eax, dword [0x5040e8]
mov edx, dword [eax + 0x114c4]
mov ecx, dword [eax + 0x110bc]
add esp, 4
push edx
push ecx
add eax, 0x10e28
push eax
push ebp
mov ecx, str.VersusBG
call fcn.00470ca0
mov edx, dword [0x5040e8]
add esp, 0x10
mov dword [edx + 0x114f0], eax
test eax, eax
jne 0x45d732
push str.Error_loading_VersusBG_n
jmp 0x45d8d2
push str.VictoryBG...
call fcn.0040c4a0
mov eax, dword [0x5040e8]
mov ecx, dword [eax + 0x114c4]
mov edx, dword [eax + 0x110bc]
add esp, 4
push ecx
push edx
add eax, 0x10e28
push eax
push ebp
mov ecx, str.VictoryBG
call fcn.00470ca0
mov ecx, dword [0x5040e8]
add esp, 0x10
mov dword [ecx + 0x114f4], eax
test eax, eax
jne 0x45d78a
push str.Error_loading_VictoryBG_n
call fcn.0040c4a0
add esp, 4
mov byte [0x505100], 0
push str.SelectBG...
call fcn.0040c4a0
mov eax, dword [0x5040e8]
mov edx, dword [eax + 0x114c4]
mov ecx, dword [eax + 0x110bc]
add esp, 4
push edx
push ecx
add eax, 0x10e28
push eax
push ebp
mov ecx, str.SelectBG
call fcn.00470ca0
mov edx, dword [0x5040e8]
add esp, 0x10
mov dword [edx + 0x114fc], eax
test eax, eax
jne 0x45d7d8
push str.Error_loading_SelectBG_n
jmp 0x45d8d2
push str.OptionBG...
call fcn.0040c4a0
mov eax, dword [0x5040e8]
mov ecx, dword [eax + 0x114c4]
mov edx, dword [eax + 0x110bc]
add esp, 4
push ecx
push edx
add eax, 0x10e28
push eax
push ebp
mov ecx, str.OptionBG
call fcn.00470ca0
mov ecx, dword [0x5040e8]
add esp, 0x10
mov dword [ecx + 0x11500], eax
test eax, eax
jne 0x45d826
push str.Error_loading_OptionBG_n
jmp 0x45d8d2
push 0x4f06c0
call fcn.0040c4a0
add esp, 4
mov ebx, ebp
call fcn.00469a50
mov edx, dword [0x5040e8]
push str.__Loading_fight_data_n
mov dword [edx + 0x110b8], 1
call fcn.0040c4a0
add esp, 4
push 0
push 0
lea eax, [esp + 0x190]
push eax
lea ecx, [esp + 0x394]
push ecx
call fcn.0040c200
add esp, 0x10
test eax, eax
je 0x45d8da
lea eax, [esp + 0x188]
call fcn.0041b500
test eax, eax
jne 0x45d8a9
lea edx, [esp + 0x388]
push edx
push str.Error_loading_fight_data:__s_n
call fcn.0040c140
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x57c
ret
push str.__Fight_data_loaded_OK_n
call fcn.0040c4a0
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x57c
ret
push str.Cant_access__VS_Screen__n
jmp 0x45d8d2
push str.Missing_spr_specification_in__Files__n
call fcn.0040c140
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x57c
ret