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

Disassembly:
sub esp, 0x434
lea edx, [esp + 0x34]
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 0x400
lea eax, [esi + 0x152]
push edx
push str.scale
lea ecx, [esi + 0x1a]
push eax
call fcn.00407ce0
lea edi, [esi + 0x1fe]
xor ebx, ebx
push edi
push 0x2c
lea eax, [esp + 0x4c]
push ebx
push eax
call fcn.00402b10
lea ebp, [esi + 0x212]
lea ecx, [esp + 0x54]
push ebp
push 0x2c
push 1
push ecx
call fcn.00402b10
fld dword [ebp]
fsub dword [edi]
add esp, 0x20
lea eax, [esi + 0x202]
mov ecx, 4
fmul dword [0x4c0350]
fld st(0)
fadd dword [eax - 4]
add eax, 4
dec ecx
fstp dword [eax - 4]
jne 0x45cf2e
fstp st(0)
mov dword [esi + 0x216], ebx
xor eax, eax
lea edi, [esi + 0x20f94]
inc eax
lea edx, [esp + 0x24]
push eax
push str.p_point__02d
push edx
mov dword [esp + 0x1c], eax
call fcn.004b093f
mov ecx, edi
xor eax, eax
add esp, 0xc
lea edx, [esp + 0x44]
mov dword [ecx], eax
lea ebp, [esi + 0x152]
push 0x400
push edx
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
lea eax, [esp + 0x2c]
push eax
push ebp
lea ecx, [esi + 0x1a]
mov dword [edi + 0x10], ebx
call fcn.00407ce0
test eax, eax
je 0x45cff4
push edi
push 0x2c
lea ecx, [esp + 0x4c]
push ebx
push ecx
call fcn.00402990
lea edx, [edi + 4]
lea eax, [esp + 0x54]
push edx
push 0x2c
push 1
push eax
call fcn.00402990
lea ecx, [edi + 8]
lea edx, [esp + 0x64]
push ecx
push 0x2c
push 2
push edx
call fcn.00402990
lea eax, [edi + 0xc]
lea ecx, [esp + 0x74]
push eax
push 0x2c
push 3
push ecx
call fcn.00402990
add esp, 0x40
lea eax, [edi + 0x10]
lea edx, [esp + 0x44]
push eax
push 0x2c
push 4
push edx
call fcn.004029f0
add esp, 0x10
mov eax, dword [esp + 0x10]
add edi, 0x14
cmp eax, 0xa
jl 0x45cf4c
mov ecx, 0x28
xor eax, eax
lea edi, [esi + 0x2105c]
rep stosd dword es:[edi], eax
lea edi, [esi + 0x21060]
inc eax
mov dword [esp + 0x10], eax
push eax
lea eax, [esp + 0x28]
push str.p_effect__02d
push eax
call fcn.004b093f
add esp, 0xc
lea ecx, [esp + 0x44]
lea edx, [esp + 0x24]
push 0x400
push ecx
push edx
push ebp
lea ecx, [esi + 0x1a]
call fcn.00407ce0
test eax, eax
je 0x45d094
lea eax, [edi - 4]
lea ecx, [esp + 0x44]
push eax
push 0x2c
push ebx
push ecx
call fcn.00402990
push edi
push 0x2c
lea edx, [esp + 0x5c]
push 1
push edx
call fcn.00402990
lea eax, [edi + 4]
lea ecx, [esp + 0x64]
push eax
push 0x2c
push 2
push ecx
call fcn.00402990
lea edx, [edi + 8]
lea eax, [esp + 0x74]
push edx
push 0x2c
push 3
push eax
call fcn.00402990
add esp, 0x40
mov eax, dword [esp + 0x10]
add edi, 0x10
cmp eax, 0xa
jl 0x45d019
lea edx, [esi + 0x24a]
xor ecx, ecx
lea eax, [esp + 0x18]
lea edi, [esi + 0x1a]
mov dword [edx], ecx
push eax
push str.move_width
push ebp
mov dword [edx + 4], ecx
mov ecx, edi
call fcn.00407dc0
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0x10]
lea edx, [esp + 0x18]
sub ecx, eax
push edx
mov dword [esi + 0x26a], ecx
push str.move_height
push ebp
mov ecx, edi
mov dword [esi + 0x262], eax
call fcn.00407dc0
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0x14]
lea edx, [esi + 0x272]
sub ecx, eax
push edx
mov dword [esi + 0x26e], ecx
push str.move_add
push ebp
mov ecx, edi
mov dword [esi + 0x266], eax
call fcn.00407dc0
lea edi, [esi + 0x38e]
push ebx
push ebx
push ebx
lea eax, [edi + 0x44]
mov ebp, 0x3f800000
push ebx
mov dword [edi + 0x14], ebx
push eax
mov dword [edi + 0x10], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 8], ebx
mov dword [edi + 4], ebx
mov dword [edi], ebx
mov dword [edi + 0x20], ebp
mov dword [edi + 0x1c], ebp
mov dword [edi + 0x18], ebp
mov dword [edi + 0x40], ebx
mov dword [edi + 0x3c], ebx
mov dword [edi + 0x38], ebx
mov dword [edi + 0x34], ebp
mov dword [edi + 0x30], ebp
mov dword [edi + 0x2c], ebp
mov dword [edi + 0x28], ebp
mov dword [edi + 0x24], ebp
mov word [edi + 0x66], bx
mov word [edi + 0x64], bx
mov word [edi + 0x62], bx
mov word [edi + 0x60], bx
mov word [edi + 0x5e], bx
mov word [edi + 0x5c], bx
mov word [edi + 0x5a], bx
mov word [edi + 0x58], bx
mov word [edi + 0x56], bx
mov word [edi + 0x54], bx
mov word [edi + 0x76], bx
mov word [edi + 0x74], bx
mov word [edi + 0x72], bx
mov word [edi + 0x70], bx
mov dword [edi + 0x7c], ebx
mov dword [edi + 0x78], ebx
call dword [sym.imp.USER32.dll_SetRect]
lea ecx, [esp + 0x44]
push 0x400
push ecx
lea eax, [esi + 0x152]
push str.p_chara_face
push eax
lea ecx, [esi + 0x1a]
call fcn.00407ce0
test eax, eax
je 0x45d26c
push edi
push 0x2c
lea edx, [esp + 0x4c]
push ebx
push edx
call fcn.00402b10
lea eax, [esi + 0x392]
lea ecx, [esp + 0x54]
push eax
push 0x2c
push 1
push ecx
call fcn.00402b10
lea edx, [esi + 0x3da]
lea eax, [esp + 0x64]
push edx
push 0x2c
push 2
push eax
call fcn.00402990
lea ecx, [esi + 0x3de]
lea edx, [esp + 0x74]
push ecx
push 0x2c
push 3
push edx
call fcn.00402990
add esp, 0x40
lea eax, [esi + 0x3d2]
lea ecx, [esp + 0x44]
push eax
push 0x2c
push 4
push ecx
call fcn.00402990
lea edx, [esi + 0x3d6]
lea eax, [esp + 0x54]
push edx
push 0x2c
push 5
push eax
call fcn.00402990
lea ecx, [esi + 0x210fc]
lea edx, [esp + 0x64]
push ecx
push 0x2c
push 6
push edx
call fcn.004029f0
lea eax, [esi + 0x21100]
lea ecx, [esp + 0x74]
push eax
push 0x2c
push 7
push ecx
call fcn.004029f0
add esp, 0x40
push ebx
push ebx
push ebx
lea edx, [esi + 0x452]
push ebx
mov dword [esi + 0x422], ebx
push edx
mov dword [esi + 0x41e], ebx
mov dword [esi + 0x41a], ebx
mov dword [esi + 0x416], ebx
mov dword [esi + 0x412], ebx
mov dword [esi + 0x40e], ebx
mov dword [esi + 0x42e], ebp
mov dword [esi + 0x42a], ebp
mov dword [esi + 0x426], ebp
mov dword [esi + 0x44e], ebx
mov dword [esi + 0x44a], ebx
mov dword [esi + 0x446], ebx
mov dword [esi + 0x442], ebp
mov dword [esi + 0x43e], ebp
mov dword [esi + 0x43a], ebp
mov dword [esi + 0x436], ebp
mov dword [esi + 0x432], ebp
mov word [esi + 0x474], bx
mov word [esi + 0x472], bx
mov word [esi + 0x470], bx
mov word [esi + 0x46e], bx
mov word [esi + 0x46c], bx
mov word [esi + 0x46a], bx
mov word [esi + 0x468], bx
mov word [esi + 0x466], bx
mov word [esi + 0x464], bx
mov word [esi + 0x462], bx
mov word [esi + 0x484], bx
mov word [esi + 0x482], bx
mov word [esi + 0x480], bx
mov word [esi + 0x47e], bx
mov dword [esi + 0x48a], ebx
mov dword [esi + 0x486], ebx
call dword [sym.imp.USER32.dll_SetRect]
lea eax, [esp + 0x44]
push 0x400
push eax
lea edi, [esi + 0x152]
push str.p_forcus
push edi
lea ecx, [esi + 0x1a]
call fcn.00407ce0
test eax, eax
je 0x45d3c9
lea ecx, [esi + 0x452]
lea edx, [esp + 0x44]
push ecx
push 0x2c
push ebx
push edx
call fcn.00402990
lea eax, [esi + 0x456]
lea ecx, [esp + 0x54]
push eax
push 0x2c
push 1
push ecx
call fcn.00402990
lea edx, [esi + 0x45a]
lea eax, [esp + 0x64]
push edx
push 0x2c
push 2
push eax
call fcn.00402990
lea ecx, [esi + 0x45e]
lea edx, [esp + 0x74]
push ecx
push 0x2c
push 3
push edx
call fcn.00402990
add esp, 0x40
lea eax, [esp + 0x44]
push 0x400
push eax
push str.p_number
push edi
lea ecx, [esi + 0x1a]
call fcn.00407ce0
test eax, eax
je 0x45d43b
lea ecx, [esi + 0x21120]
lea edx, [esp + 0x44]
push ecx
push 0x2c
push ebx
push edx
call fcn.00402990
lea eax, [esi + 0x21124]
lea ecx, [esp + 0x54]
push eax
push 0x2c
push 1
push ecx
call fcn.00402990
lea edx, [esi + 0x21128]
lea eax, [esp + 0x64]
push edx
push 0x2c
push 2
push eax
call fcn.00402990
lea ecx, [esi + 0x2112c]
lea edx, [esp + 0x74]
push ecx
push 0x2c
push 3
push edx
call fcn.00402990
add esp, 0x40
lea eax, [esi + 0x21140]
lea edi, [esi + 0x49e]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 4
push ebx
push ebx
lea eax, [edi + 0x34]
push ebx
push ebx
mov dword [edi + 4], ebx
push eax
mov dword [edi], ebx
mov dword [edi - 4], ebx
mov dword [edi - 8], ebx
mov dword [edi - 0xc], ebx
mov dword [edi - 0x10], ebx
mov dword [edi + 0x10], ebp
mov dword [edi + 0xc], ebp
mov dword [edi + 8], ebp
mov dword [edi + 0x30], ebx
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x28], ebx
mov dword [edi + 0x24], ebp
mov dword [edi + 0x20], ebp
mov dword [edi + 0x1c], ebp
mov dword [edi + 0x18], ebp
mov dword [edi + 0x14], ebp
mov word [edi + 0x56], bx
mov word [edi + 0x54], bx
mov word [edi + 0x52], bx
mov word [edi + 0x50], bx
mov word [edi + 0x4e], bx
mov word [edi + 0x4c], bx
mov word [edi + 0x4a], bx
mov word [edi + 0x48], bx
mov word [edi + 0x46], bx
mov word [edi + 0x44], bx
mov word [edi + 0x66], bx
mov word [edi + 0x64], bx
mov word [edi + 0x62], bx
mov word [edi + 0x60], bx
mov dword [edi + 0x6c], ebx
mov dword [edi + 0x68], ebx
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, dword [esi + 0x21124]
mov edx, dword [esi + 0x21120]
push ecx
push edx
push ebx
lea eax, [edi + 0x34]
push ebx
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [esp + 0x10]
add edi, 0x80
mov dword [eax - 0x10], ebp
mov dword [eax], ebp
add eax, 4
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
dec eax
mov dword [esp + 0x14], eax
jne 0x45d453
lea edi, [esi + 0x68e]
push ebx
push ebx
push ebx
lea eax, [edi + 0x44]
push ebx
mov dword [edi + 0x14], ebx
push eax
mov dword [edi + 0x10], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 8], ebx
mov dword [edi + 4], ebx
mov dword [edi], ebx
mov dword [edi + 0x20], ebp
mov dword [edi + 0x1c], ebp
mov dword [edi + 0x18], ebp
mov dword [edi + 0x40], ebx
mov dword [edi + 0x3c], ebx
mov dword [edi + 0x38], ebx
mov dword [edi + 0x34], ebp
mov dword [edi + 0x30], ebp
mov dword [edi + 0x2c], ebp
mov dword [edi + 0x28], ebp
mov dword [edi + 0x24], ebp
mov word [edi + 0x66], bx
mov word [edi + 0x64], bx
mov word [edi + 0x62], bx
mov word [edi + 0x60], bx
mov word [edi + 0x5e], bx
mov word [edi + 0x5c], bx
mov word [edi + 0x5a], bx
mov word [edi + 0x58], bx
mov word [edi + 0x56], bx
mov word [edi + 0x54], bx
mov word [edi + 0x76], bx
mov word [edi + 0x74], bx
mov word [edi + 0x72], bx
mov word [edi + 0x70], bx
mov dword [edi + 0x7c], ebx
mov dword [edi + 0x78], ebx
call dword [sym.imp.USER32.dll_SetRect]
lea ecx, [esp + 0x44]
push 0x400
push ecx
lea eax, [esi + 0x152]
push str.p_time_count
push eax
lea ecx, [esi + 0x1a]
call fcn.00407ce0
test eax, eax
je 0x45d6e1
lea ebp, [esi + 0x48e]
lea edx, [esp + 0x44]
push ebp
push 0x2c
push ebx
push edx
call fcn.00402b10
lea eax, [esi + 0x492]
push eax
push 0x2c
lea eax, [esp + 0x5c]
push 1
push eax
call fcn.00402b10
lea eax, [esi + 0x58e]
lea ecx, [esp + 0x64]
push eax
push 0x2c
push 2
push ecx
call fcn.00402b10
lea eax, [esi + 0x592]
lea edx, [esp + 0x74]
push eax
push 0x2c
push 3
push edx
call fcn.00402b10
add esp, 0x40
lea eax, [esp + 0x44]
push edi
push 0x2c
push 4
push eax
call fcn.00402b10
lea ecx, [esi + 0x692]
lea edx, [esp + 0x54]
push ecx
push 0x2c
push 5
push edx
call fcn.00402b10
lea eax, [esp + 0x40]
lea ecx, [esp + 0x64]
push eax
push 0x2c
push 6
push ecx
call fcn.004029f0
lea edx, [esp + 0x4c]
lea eax, [esp + 0x74]
push edx
push 0x2c
push 7
push eax
call fcn.004029f0
add esp, 0x40
lea edi, [esi + 0x2110c]
lea ecx, [esp + 0x44]
push edi
push 0x2c
push 8
push ecx
call fcn.004029f0
mov eax, dword [edi]
mov ecx, dword [esi + 0x492]
add esp, 0x10
mov dword [esi + 0x512], ecx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x21120]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
shl edx, 3
mov dword [edi], edx
fld st(0)
fadd dword [ebp]
fstp dword [esi + 0x50e]
fadd dword [esi + 0x58e]
fstp dword [esi + 0x60e]
mov edx, dword [esi + 0x592]
mov ecx, dword [esi + 0x21124]
mov dword [esi + 0x612], edx
mov edx, dword [esp + 0x1c]
push ecx
push eax
mov eax, dword [esp + 0x28]
push edx
lea ecx, [esi + 0x6d2]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetRect]
lea edx, [esi + 0x21118]
lea eax, [esi + 0x2111c]
lea ebp, [esi + 0x276]
mov dword [edx], ebx
mov dword [eax], ebx
xor eax, eax
lea edi, [eax + 1]
lea ecx, [esp + 0x24]
push edi
push str.lv_up__02d
push ecx
call fcn.004b093f
add esp, 0xc
lea edx, [esp + 0x24]
lea eax, [esi + 0x152]
lea ecx, [esi + 0x1a]
push ebp
push edx
push eax
call fcn.00407dc0
mov eax, edi
add ebp, 4
cmp eax, 3
jl 0x45d6f9
mov dword [esi + 0x286], ebx
lea edi, [esi + 0x70e]
mov ebp, 0x20
push 1
mov ecx, edi
call fcn.00416750
add edi, 0xf0c
dec ebp
jne 0x45d73f
lea edx, [esi + 0x21174]
mov ecx, 0x20
xor eax, eax
mov edi, edx
mov dword [esi + 0x1e88e], ebx
mov dword [esp + 0x10], edx
rep stosd dword es:[edi], eax
xor edi, edi
push edi
lea eax, [esp + 0x28]
push str.lv_up_voice__02d
push eax
call fcn.004b093f
mov ecx, dword [esp + 0x1c]
add esp, 0xc
lea edx, [esp + 0x24]
lea ebp, [esi + 0x152]
push 0x20
push ecx
push edx
push ebp
lea ecx, [esi + 0x1a]
call fcn.00407ce0
mov ecx, dword [esp + 0x10]
inc edi
add ecx, 0x20
cmp edi, 4
mov dword [esp + 0x10], ecx
jl 0x45d76e
lea edx, [esi + 0x211f4]
mov ecx, 0x18
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov edi, edx
push ebx
lea eax, [esp + 0x28]
push str.end_voice__02d
push eax
call fcn.004b093f
add esp, 0xc
lea ecx, [esp + 0x24]
push 0x20
push edi
push ecx
push ebp
lea ecx, [esi + 0x1a]
call fcn.00407ce0
inc ebx
add edi, 0x20
cmp ebx, 3
jl 0x45d7c0
lea eax, [esi + 0x21174]
mov ecx, esi
push eax
call fcn.0045e8b0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x434
ret