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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x3c]
test eax, eax
push edi
jne 0x460abe
push esi
call fcn.004607e0
test eax, eax
je 0x460dc2
mov ecx, dword [eax + 0x158]
fldz
push ecx
fstp dword [esp]
mov dword [esi + 0x12c], ecx
call fcn.0052a580
call fcn.006397d0
fld dword [0x679638]
mov ecx, eax
mov eax, dword [esi + 0x10]
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
cmp ecx, dword [esi + 8]
push ecx
mov dword [esi + 0x80], ecx
fstp dword [esp]
mov dword [esi + 0x3c], 3
mov dword [esi + 0x54], 0x50
mov eax, esi
push 3
mov ecx, 0xa
jge 0x460a53
push str.anim_lookleft
jmp 0x460a58
push str.anim_lookright
call fcn.0045fd90
mov esi, dword [esi]
cmp byte [esi + 0x8c5], 0
jne 0x460dc2
fldz
mov ecx, dword [0x6a9f00]
mov esi, dword [esi + 0x784]
fst dword [esp + 0xc]
fcomp dword [ecx + 0x858]
fnstsw ax
test ah, 0x44
jnp 0x460aa1
fld dword [ecx + 0x858]
push ecx
fstp dword [esp]
call fcn.005af410
fstp dword [esp + 0x10]
add esp, 4
fld dword [esp + 0xc]
push ecx
mov eax, 0x29
fstp dword [esp]
mov ecx, esi
call fcn.00515020
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp eax, 3
jne 0x460afe
cmp dword [esi + 0x54], 0
jne 0x460dc2
fld dword [0x679638]
push ecx
fstp dword [esp]
push eax
lea ecx, [eax + 0x11]
push str.anim_jumpup
mov eax, esi
call fcn.0045fd90
mov dword [esi + 0x3c], 4
mov dword [esi + 0x54], 0x2d
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp eax, 4
jne 0x460b66
cmp dword [esi + 0x54], 0
jne 0x460dc2
push esi
call fcn.004607e0
test eax, eax
je 0x460b3d
fld dword [0x66541c]
push ecx
fstp dword [esp]
call fcn.0052a580
call fcn.006397d0
mov ecx, eax
mov eax, dword [esi + 0x10]
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
mov dword [esi + 0x80], ecx
mov edx, dword [esi + 0x1c]
imul edx, edx, 0x2710
add edx, 0x4a768
mov dword [esi + 0x3c], 5
mov dword [esi + 0x54], 0x32
mov dword [esi + 0x20], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [esi + 4]
mov edi, dword [esi + 0xc]
mov eax, dword [esi + 0x80]
mov ecx, ebx
call fcn.0041c4c0
test eax, eax
jle 0x460b90
mov eax, dword [esi + 0x80]
mov ecx, ebx
call fcn.0041c4c0
mov dword [esp + 0xc], eax
jmp 0x460b98
mov dword [esp + 0xc], 0
mov eax, dword [esi + 0x1c]
mov ecx, dword [esp + 0xc]
call fcn.0041c740
mov edi, eax
mov eax, dword [esi + 0x3c]
add edi, 8
cmp eax, 5
jne 0x460c60
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x88]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ebx
call fcn.0041c740
mov ebx, dword [esi + 0x54]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x80]
mov esi, dword [esi + 0x88]
push 4
push eax
mov eax, dword [esp + 0x1c]
call fcn.0041c680
mov ecx, 0x14
push eax
mov eax, ebx
lea edx, [ecx + 0x1e]
call fcn.00511c40
mov ecx, dword [esp + 0x28]
mov esi, dword [ebp + 8]
add esp, 0xc
push 4
add edi, 0xffffff88
push edi
push ecx
mov ecx, 0x14
mov dword [esi + 8], eax
mov eax, ebx
lea edx, [ecx + 0x1e]
call fcn.00511c40
add esp, 0xc
test ebx, ebx
mov dword [esi + 0xc], eax
jne 0x460dc2
fld dword [0x679aa8]
push ecx
fstp dword [esp]
push 3
push str.anim_jumpdown
xor ecx, ecx
mov eax, esi
call fcn.0045fd90
jmp 0x794760
cmp eax, 6
jne 0x460db1
mov ebx, dword [esi + 0x54]
push 1
push edi
xor ecx, ecx
add edi, 0xffffff88
push edi
mov eax, ebx
lea edx, [ecx + 0xa]
call fcn.00511c40
add esp, 0xc
cmp ebx, 5
mov dword [esi + 0xc], eax
jne 0x460c90
push esi
call fcn.004606f0
cmp dword [esi + 0x54], 0
jne 0x460dc2
mov edx, dword [esi + 4]
mov ecx, dword [esi + 0x1c]
mov eax, dword [esp + 0xc]
call fcn.0040ce00
test al, al
je 0x460d14
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 0x20]
mov ecx, dword [esi + 8]
add eax, 0x14
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
mov eax, dword [esi]
add edx, 1
push edx
sub esp, 8
sub ecx, 0xb
fstp dword [esp + 4]
mov dword [esp + 0x28], ecx
fild dword [esp + 0x28]
mov ebx, 0x20
fstp dword [esp]
call fcn.00453c30
mov edi, dword [ebp + 8]
mov eax, dword [edi]
lea esi, [ebx - 0x1f]
call fcn.00453630
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [0x6a7ac8]
mov edx, dword [edx + 0xd8]
push eax
call edx
push edi
call fcn.004679b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp + 8]
mov dword [esi + 0x3c], 7
mov dword [esi + 0x54], 0x64
mov dword [edx + 0x5540], 0xc
mov dword [edx + 0x5544], 1
mov dword [edx + 0x5548], 4
mov eax, dword [edi]
mov esi, 0x28
call fcn.00453630
fld dword [0x67a0b8]
mov eax, dword [edi + 4]
fstp dword [esp + 0x10]
call fcn.0041c0b0
test al, al
je 0x460d6f
fld dword [0x67a29c]
fstp dword [esp + 0x10]
fild dword [edi + 0xc]
mov eax, dword [edi + 8]
mov ecx, dword [edi + 0x20]
mov edx, dword [edi]
fadd dword [esp + 0x10]
add eax, 0x28
sub esp, 8
add ecx, 4
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
mov dword [esp + 0x24], eax
fstp dword [esp + 4]
mov eax, 0x61
fild dword [esp + 0x24]
fstp dword [esp]
call fcn.00453c80
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp eax, 7
jne 0x460dc2
cmp dword [esi + 0x54], 0
jne 0x460dc2
push esi
call fcn.004679b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4