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

Disassembly:
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 0xc]
push 0x562b08
push str.._image_InterfaceScript_SaveMove.bin
call fcn.0042bee0
fild dword [0x66a5c4]
mov esi, eax
mov eax, dword [0x66a5c4]
test eax, eax
jge 0x435c01
fadd dword [0x562930]
movzx ecx, word [esi + 0x22c]
fld qword [0x562ae8]
mov eax, dword [0x66a5c8]
fmul st(1), st(0)
shr cx, 1
test eax, eax
movzx edx, cx
mov dword [esp + 0xc], edx
fild dword [esp + 0xc]
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x10]
fild dword [0x66a5c8]
jge 0x435c3b
fadd dword [0x562930]
movzx ecx, word [esi + 0x22e]
fmulp st(1)
mov ebx, dword [esi]
shr cx, 1
movzx edx, cx
mov dword [esp + 0xc], edx
fild dword [esp + 0xc]
fsubp st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
call fcn.00551860
fld dword [esp + 0x10]
push eax
call fcn.00551860
push eax
mov eax, dword [ebx + 0x24]
mov ecx, esi
call eax
mov ecx, dword [edi + 0x18]
push esi
call fcn.0054ea60
pop edi
mov dword [0x63b058], esi
mov ecx, esi
pop esi
pop ebx
add esp, 0xc
jmp 0x463940
push 0xffffffffffffffff
push 0x55673b
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x6397d4]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6397d4]
xor eax, esp
push eax
lea eax, [esp + 0x224]
mov dword fs:[0], eax
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x6c]
call fcn.00504dc0
xor ebx, ebx
push ebx
push 0x562b08
push str.Resource_StaticNpc.bin
lea ecx, [esp + 0x78]
mov dword [esp + 0x238], ebx
call fcn.00505730
lea ecx, [esp + 0x6c]
call fcn.00504f10
test eax, eax
je 0x4638a3
push 0x7f
lea eax, [esp + 0x1a5]
push ebx
push eax
mov byte [esp + 0x1ac], bl
call sub.MSVCR80.dll_memset
xor eax, eax
add esp, 0xc
lea ecx, [esp + 0x6c]
mov dword [esp + 0x24], 0x7d6
mov dword [esp + 0x28], 0x7d7
mov dword [esp + 0x2c], 0x7dc
mov dword [esp + 0x30], 0x7e1
mov dword [esp + 0x34], 0x7d1
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
call fcn.00504ed0
test eax, eax
jne 0x46389a
nop
lea ecx, [esp + 0x6c]
call fcn.005058e0
lea ecx, [esp + 0x6c]
call fcn.005058e0
lea ecx, [esp + 0x1a0]
push ecx
lea ecx, [esp + 0x70]
call fcn.00505060
lea ecx, [esp + 0x6c]
call fcn.005058e0
lea ecx, [esp + 0x6c]
movzx ebp, ax
call fcn.005058e0
lea ecx, [esp + 0x6c]
mov dword [esp + 0x1c], eax
call fcn.005058e0
lea ecx, [esp + 0x6c]
mov dword [esp + 0x20], eax
call fcn.005058b0
fstp st(0)
cmp ebp, 0x7d0
jbe 0x463889
xor eax, eax
mov dword [esp + 0x14], eax
cmp dword [esp + eax*4 + 0x24], ebp
jne 0x463879
xor eax, eax
lea edx, [ebp - 0x7d0]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov byte [esp + 0x64], al
mov dword [esp + 0x4c], ebx
mov word [esp + 0x65], dx
lea esp, [esp]
mov cl, byte [esp + eax + 0x1a0]
mov byte [esp + eax + 0x50], cl
add eax, 1
cmp cl, bl
jne 0x4637f0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
add eax, 0x32
movzx eax, ax
add ecx, 0x32
movzx ecx, cx
shl eax, 0x10
or eax, ecx
push 0x1f
mov dword [esp + 0x6b], eax
call fcn.00551850
add esp, 4
cmp eax, ebx
je 0x46384c
xor ecx, ecx
mov dword [eax], ebx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov byte [eax + 0x18], cl
mov word [eax + 0x19], bx
mov dword [eax + 0x1b], ebx
jmp 0x46384e
xor eax, eax
mov edi, eax
mov ecx, 7
lea esi, [esp + 0x4c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x18]
push eax
lea ecx, [esi + 0x280]
call fcn.0054ea60
mov ecx, esi
call fcn.00463130
mov eax, dword [esp + 0x14]
add eax, 1
cmp eax, 0xa
mov dword [esp + 0x14], eax
jl 0x4637b6
lea ecx, [esp + 0x6c]
call fcn.00504ed0
test eax, eax
je 0x463750
lea ecx, [esp + 0x6c]
call fcn.00504e70
lea ecx, [esp + 0x6c]
mov dword [esp + 0x22c], 0xffffffff
call fcn.00505050
mov ecx, dword [esp + 0x224]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.0055160d
add esp, 0x21c
ret
push esi
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 0x60]
push 0x5dc
call edx
mov dword [esi + 0x260], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x60]
push 0x5dd
mov ecx, esi
call edx
mov dword [esi + 0x29c], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x60]
push 0x5de
mov ecx, esi
call edx
mov dword [esi + 0x2a0], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x60]
push 0x5df
mov ecx, esi
call edx
mov dword [esi + 0x2a4], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x60]
push 0x5e0
mov ecx, esi
call edx
mov dword [esi + 0x2a8], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x60]
push 0x5e1
mov ecx, esi
call edx
mov ecx, dword [esi + 0x2a8]
test ecx, ecx
mov dword [esi + 0x2ac], eax
je 0x4639cc
mov eax, dword [ecx]
mov edx, dword [eax + 8]
push 0
call edx
mov ecx, dword [esi + 0x2ac]
test ecx, ecx
je 0x4639df
mov eax, dword [ecx]
mov edx, dword [eax + 8]
push 0
call edx
mov ecx, esi
pop esi
jmp 0x463670