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

Disassembly:
push 0xffffffffffffffff
push 0x6591db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb0
fld dword [0x672468]
mov eax, dword [esp + 0xc0]
push ebx
fst dword [esp + 0x88]
mov ebx, dword [esp + 0xc8]
fst dword [esp + 0x8c]
push ebp
fst dword [esp + 0x94]
push esi
fst dword [esp + 0x9c]
lea esi, [ebx + ebx*2]
fst dword [esp + 0xa0]
push edi
fst dword [esp + 0xa8]
shl esi, 5
fst dword [esp + 0xac]
add esi, dword [eax + 0x58]
fstp dword [esp + 0xb0]
xor ecx, ecx
push eax
lea eax, [esp + 0x98]
mov dword [esp + 0x20], esi
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xc0], 0x660950
call fcn.00475aa0
mov ebx, 0xf
xor edi, edi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], edi
mov byte [esp + 0x28], 0
mov dword [esp + 0x58], ebx
mov dword [esp + 0x54], edi
mov byte [esp + 0x44], 0
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x98]
mov dword [esp + 0xcc], edi
call fcn.00477800
add esp, 4
or ebp, 0xffffffff
cmp dword [esp + 0x38], edi
je 0x477de8
cmp dword [esp + 0x3c], 0x10
mov eax, dword [esp + 0x28]
jae 0x477d48
lea eax, [esp + 0x28]
push eax
push str.reanim_s.reanim
lea esi, [esp + 0x80]
call fcn.005b73b0
add esp, 8
cmp dword [0x6ba00c], edi
jle 0x477db5
xor esi, esi
jmp 0x477d70
cmp dword [esp + 0x90], 0x10
mov ecx, dword [0x6ba010]
mov eax, dword [esp + 0x7c]
lea ebx, [esi + ecx]
jae 0x477d8b
lea eax, [esp + 0x7c]
mov edx, dword [ebx + 4]
push edx
push eax
call fcn.00624c8f
add esp, 8
test eax, eax
je 0x477dac
add edi, 1
add esi, 0xc
cmp edi, dword [0x6ba00c]
jl 0x477d70
jmp 0x477dae
mov ebp, dword [ebx]
mov ebx, 0xf
xor edi, edi
cmp dword [esp + 0x90], 0x10
jb 0x477dcc
mov eax, dword [esp + 0x7c]
push eax
call fcn.0062414c
add esp, 4
cmp ebp, 0xffffffff
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x90], ebx
mov dword [esp + 0x8c], edi
mov byte [esp + 0x7c], 0
jne 0x477e63
mov ecx, dword [esi + 0x40]
cmp ecx, edi
je 0x477e2a
mov edx, dword [0x6b9fd8]
mov edx, dword [edx + 0xc]
movzx eax, cx
cmp eax, dword [edx + 8]
jb 0x477e04
xor ecx, ecx
jmp 0x477e1e
imul eax, eax, 0x30c
add eax, dword [edx]
xor edx, edx
cmp dword [eax + 0x308], ecx
setne dl
sub edx, 1
and edx, eax
mov ecx, edx
cmp ecx, edi
mov dword [esi + 0x40], edi
je 0x477e2a
call fcn.00406570
mov esi, 0x10
cmp dword [esp + 0x58], esi
jb 0x477e42
mov eax, dword [esp + 0x44]
push eax
call fcn.0062414c
add esp, 4
cmp dword [esp + 0x3c], esi
mov dword [esp + 0x58], ebx
mov dword [esp + 0x54], edi
mov byte [esp + 0x44], 0
jb 0x478131
mov ecx, dword [esp + 0x28]
push ecx
jmp 0x478129
add esi, 0x40
mov eax, esi
mov dword [esp + 0x20], esi
call fcn.00406a30
mov ebx, eax
test ebx, ebx
je 0x477e7f
cmp dword [ebx], ebp
je 0x477f45
mov ecx, dword [esi]
test ecx, ecx
je 0x477ec3
mov edx, dword [0x6b9fd8]
mov edx, dword [edx + 0xc]
movzx eax, cx
cmp eax, dword [edx + 8]
jb 0x477e9a
xor ecx, ecx
jmp 0x477eb4
imul eax, eax, 0x30c
add eax, dword [edx]
xor edx, edx
cmp dword [eax + 0x308], ecx
setne dl
sub edx, 1
and edx, eax
mov ecx, edx
test ecx, ecx
mov dword [esi], 0
je 0x477ec3
call fcn.00406570
mov eax, dword [0x6b9fd8]
mov edi, dword [eax + 8]
mov esi, edi
call fcn.004782a0
mov esi, eax
push 0
push ebp
mov dword [esi + 0x60], edi
mov dword [esi + 0x68], 0
call fcn.00477160
fldz
mov eax, ebp
fst dword [esp + 4]
shl eax, 4
fstp dword [esp]
add eax, dword [0x6ba008]
push esi
mov dword [esi], ebp
call fcn.00475610
mov ecx, dword [esp + 0x60]
mov edx, dword [esi + 0x9c]
mov edi, dword [esp + 0x20]
mov dword [esi + 0x10], ecx
fld dword [esp + 0x5c]
fstp dword [esi + 8]
sub esp, 8
fldz
mov ebx, esi
fst dword [esp + 4]
fstp dword [esp]
push edx
push 2
call fcn.00406af0
mov eax, dword [esp + 0xe0]
mov byte [esi + 0x64], 1
add esp, 0x10
mov dword [eax + 0x20], 0xfffffffe
cmp dword [esp + 0x54], 0
je 0x47802d
mov edx, dword [esp + 0x44]
mov edi, 0x10
cmp dword [esp + 0x58], edi
jae 0x477f63
lea edx, [esp + 0x44]
lea ecx, [esp + 0x14]
push ecx
lea eax, [esp + 0x1c]
push eax
mov eax, ebx
call fcn.00476d50
mov ecx, dword [ebx + 0x18]
cmp ecx, dword [esp + 0x18]
lea esi, [ebx + 0x18]
jne 0x477f89
mov edx, dword [ebx + 0x1c]
cmp edx, dword [esp + 0x14]
je 0x477fce
push 0x14
push ebx
call fcn.00476e90
cmp dword [esp + 0x58], edi
mov edx, dword [esp + 0x44]
jae 0x477f9f
lea edx, [esp + 0x44]
fldz
fcom dword [ebx + 8]
fnstsw ax
test ah, 0x41
jnp 0x477fb3
fstp st(0)
fld dword [0x688800]
lea eax, [ebx + 0x1c]
fstp dword [ebx + 4]
fld dword [0x688638]
push eax
push esi
fstp dword [ebx + 0x94]
mov eax, ebx
call fcn.00476d50
fld dword [0x688648]
fcomp dword [esp + 0x5c]
fnstsw ax
test ah, 0x44
jp 0x47801f
mov ecx, dword [esp + 0x54]
push 9
push str.anim_walk
push ecx
push 0
lea ecx, [esp + 0x50]
call fcn.004598c0
test eax, eax
jne 0x47801f
push str._ground
call fcn.00476e40
test al, al
je 0x47801f
mov edx, dword [esp + 0xd4]
mov esi, dword [esp + 0xd0]
push ebx
push edx
call fcn.00477a50
jmp 0x478026
fld dword [esp + 0x5c]
fstp dword [ebx + 8]
mov eax, dword [esp + 0x60]
mov dword [ebx + 0x10], eax
mov edi, dword [esp + 0x1c]
mov ebp, dword [esp + 0xd0]
add edi, 0x4c
lea ebx, [ebp + 0x48]
lea esi, [esp + 0x68]
call fcn.005172a0
fild dword [esp + 0x74]
fmul dword [esp + 0xb0]
fstp dword [esp + 0x14]
fldz
fld dword [esp + 0x14]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x47806f
fadd qword [0x6885c0]
jmp 0x478075
fsub qword [0x6885c0]
call fcn.00643d70
xor ebx, ebx
cmp eax, ebx
jg 0x478086
mov dword [esp + 0x74], ebx
jmp 0x478099
cmp eax, 0xff
mov dword [esp + 0x74], 0xff
jge 0x478099
mov dword [esp + 0x74], eax
mov dl, byte [ebp + 0x7c]
mov eax, dword [esp + 0x20]
mov cl, byte [ebp + 0x90]
mov byte [esp + 0x18], dl
mov edx, dword [eax]
cmp edx, ebx
mov byte [esp + 0x14], cl
je 0x4780f6
mov ecx, dword [0x6b9fd8]
mov ecx, dword [ecx + 0xc]
movzx eax, dx
cmp eax, dword [ecx + 8]
jae 0x4780f6
imul eax, eax, 0x30c
add eax, dword [ecx]
cmp dword [eax + 0x308], edx
jne 0x4780f6
mov ecx, dword [esp + 0x14]
lea edx, [ebp + 0x80]
push edx
mov edx, dword [esp + 0x1c]
push ecx
add ebp, 0x6c
push ebp
push edx
lea ecx, [esp + 0x78]
push ecx
mov ecx, eax
call fcn.00405e40
mov esi, 0x10
cmp dword [esp + 0x58], esi
jb 0x47810e
mov edx, dword [esp + 0x44]
push edx
call fcn.0062414c
add esp, 4
cmp dword [esp + 0x3c], esi
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
jb 0x478131
mov eax, dword [esp + 0x28]
push eax
call fcn.0062414c
add esp, 4
mov ecx, dword [esp + 0xc0]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xbc
ret 8