Function at 0x4537b0
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.00407b80
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 [0x4b6330]
fld st(0)
fadd dword [eax - 4]
add eax, 4
dec ecx
fstp dword [eax - 4]
jne 0x45381e
fstp st(0)
mov dword [esi + 0x216], ebx
xor eax, eax
lea edi, [esi + 0x20f90]
inc eax
lea edx, [esp + 0x24]
push eax
push str.p_point__02d
push edx
mov dword [esp + 0x1c], eax
call fcn.004a725f
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.00407b80
test eax, eax
je 0x4538e4
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.00402a50
add esp, 0x10
mov eax, dword [esp + 0x10]
add edi, 0x14
cmp eax, 0xa
jl 0x45383c
mov ecx, 0x28
xor eax, eax
lea edi, [esi + 0x21058]
rep stosd dword es:[edi], eax
lea edi, [esi + 0x2105c]
inc eax
mov dword [esp + 0x10], eax
push eax
lea eax, [esp + 0x28]
push str.p_effect__02d
push eax
call fcn.004a725f
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.00407b80
test eax, eax
je 0x453984
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 0x453909
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.00407ba0
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.00407ba0
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.00407ba0
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 [0x4b6218]
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.00407b80
test eax, eax
je 0x453b5c
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 + 0x210f8]
lea edx, [esp + 0x64]
push ecx
push 0x2c
push 6
push edx
call fcn.00402a50
lea eax, [esi + 0x210fc]
lea ecx, [esp + 0x74]
push eax
push 0x2c
push 7
push ecx
call fcn.00402a50
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 [0x4b6218]
lea eax, [esp + 0x44]
push 0x400
push eax
lea edi, [esi + 0x152]
push str.p_forcus
push edi
lea ecx, [esi + 0x1a]
call fcn.00407b80
test eax, eax
je 0x453cb9
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.00407b80
test eax, eax
je 0x453d2b
lea ecx, [esi + 0x2111c]
lea edx, [esp + 0x44]
push ecx
push 0x2c
push ebx
push edx
call fcn.00402990
lea eax, [esi + 0x21120]
lea ecx, [esp + 0x54]
push eax
push 0x2c
push 1
push ecx
call fcn.00402990
lea edx, [esi + 0x21124]
lea eax, [esp + 0x64]
push edx
push 0x2c
push 2
push eax
call fcn.00402990
lea ecx, [esi + 0x21128]
lea edx, [esp + 0x74]
push ecx
push 0x2c
push 3
push edx
call fcn.00402990
add esp, 0x40
lea eax, [esi + 0x2113c]
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 [0x4b6218]
mov ecx, dword [esi + 0x21120]
mov edx, dword [esi + 0x2111c]
push ecx
push edx
push ebx
lea eax, [edi + 0x34]
push ebx
push eax
call dword [0x4b6218]
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 0x453d43
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 [0x4b6218]
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.00407b80
test eax, eax
je 0x453fd1
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.00402a50
lea edx, [esp + 0x4c]
lea eax, [esp + 0x74]
push edx
push 0x2c
push 7
push eax
call fcn.00402a50
add esp, 0x40
lea edi, [esi + 0x21108]
lea ecx, [esp + 0x44]
push edi
push 0x2c
push 8
push ecx
call fcn.00402a50
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 + 0x2111c]
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 + 0x21120]
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 [0x4b6218]
lea edx, [esi + 0x21114]
lea eax, [esi + 0x21118]
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.004a725f
add esp, 0xc
lea edx, [esp + 0x24]
lea eax, [esi + 0x152]
lea ecx, [esi + 0x1a]
push ebp
push edx
push eax
call fcn.00407ba0
mov eax, edi
add ebp, 4
cmp eax, 3
jl 0x453fe9
mov dword [esi + 0x286], ebx
lea edi, [esi + 0x70e]
mov ebp, 0x20
push 1
mov ecx, edi
call fcn.00415ef0
add edi, 0xf0c
dec ebp
jne 0x45402f
lea edx, [esi + 0x21170]
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.004a725f
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.00407b80
mov ecx, dword [esp + 0x10]
inc edi
add ecx, 0x20
cmp edi, 4
mov dword [esp + 0x10], ecx
jl 0x45405e
lea edx, [esi + 0x211f0]
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.004a725f
add esp, 0xc
lea ecx, [esp + 0x24]
push 0x20
push edi
push ecx
push ebp
lea ecx, [esi + 0x1a]
call fcn.00407b80
inc ebx
add edi, 0x20
cmp ebx, 3
jl 0x4540b0
lea eax, [esi + 0x21170]
mov ecx, esi
push eax
call fcn.004551a0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x434
ret