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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x124
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov ebx, ecx
mov eax, esi
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x7c], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x84], ecx
fld dword [esp + 0x84]
fadd dword [esi + 0x24]
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x84], edx
mov edx, dword [eax + 0xc]
fstp dword [esp + 0x88]
mov eax, dword [ebx]
lea ecx, [esp + 0x50]
push ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x90], edx
lea edx, [esp + 0x84]
push edx
push ecx
push edi
mov ecx, ebx
mov dword [esp + 0x60], vtable.hkSimpleClosestContactCollector.0
mov byte [esp + 0x68], 0
mov dword [esp + 0x7c], 0x7f7fffff
mov dword [esp + 0x64], 0x7f7fffff
call dword [eax + 8]
mov al, byte [esp + 0x58]
test al, al
je 0x4ff81b
mov eax, dword [esp + 0x70]
fld dword [esp + 0x6c]
mov edx, dword [ebp + 0xc]
fcomp dword [esi + 8]
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x78]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x28], eax
fnstsw ax
mov dword [esp + 0x38], edx
test ah, 5
mov edx, dword [esp + 0x64]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x40], edi
mov dword [esp + 0x24], edx
mov dword [esp + 0x2c], ecx
jp 0x4ff53a
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x4ff53a
mov edx, dword [ecx]
lea eax, [esp + 0x20]
push eax
call dword [edx + 4]
fld dword [esp + 0x70]
fmul dword [esi + 0x10]
fld dword [esp + 0x78]
fmul dword [esi + 0x18]
faddp st(1)
fld dword [esp + 0x74]
fmul dword [esi + 0x14]
faddp st(1)
fld dword [esp + 0x6c]
fadd st(1)
fst dword [esp + 0xc]
fcomp dword [0x641de0]
fnstsw ax
test ah, 0x41
je 0x4ff819
fadd dword [esi + 0x20]
fcomp dword [0x641de0]
fnstsw ax
test ah, 1
je 0x4ff81b
mov ecx, dword [esi + 0xc]
fld dword [esp + 0x6c]
fcomp dword [ecx + 0x18]
fld dword [esp + 0x6c]
fnstsw ax
test ah, 0x41
jp 0x4ff5f3
fcomp dword [0x641de0]
mov ecx, dword [ebp + 0x14]
fnstsw ax
test ah, 0x41
jne 0x4ff5d8
fld dword [esp + 0x6c]
fsub dword [esp + 0xc]
fdivr dword [esp + 0x6c]
fcom dword [ecx + 4]
fnstsw ax
test ah, 0x41
je 0x4ff819
mov edx, dword [ecx]
fstp dword [esp + 0x2c]
lea eax, [esp + 0x20]
push eax
call dword [edx + 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov edx, dword [ecx]
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x30], 0
call dword [edx + 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
fsub dword [esp + 0xc]
mov ecx, dword [edi + 8]
push ecx
lea ecx, [esp + 0xd4]
fdivr dword [esp + 0x70]
mov dword [esp + 0x94], vtable.hkSimpleClosestContactCollector.0
mov byte [esp + 0x9c], 0
mov dword [esp + 0xb0], 0x7f7fffff
mov dword [esp + 0x98], 0x7f7fffff
fstp dword [esp + 0x30]
call fcn.004fef90
mov ecx, dword [edi]
lea edx, [esp + 0xd0]
mov dword [esp + 0xc8], edx
mov edx, dword [esi + 0xc]
mov dword [esp + 0xcc], edi
mov eax, dword [edi + 4]
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc0], ecx
mov eax, dword [edx + 0x1c]
dec eax
mov dword [esp + 0xc], eax
js 0x4ff803
mov eax, dword [edi + 8]
add eax, 0x50
mov byte [esp + 0x98], 0
mov dword [esp + 0xac], 0x7f7fffff
mov dword [esp + 0x94], 0x7f7fffff
fld dword [eax]
fld dword [esp + 0x2c]
mov ecx, dword [eax + 4]
fmul dword [esi + 0x10]
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x14], ecx
faddp st(1)
mov dword [esp + 0x18], edx
fld dword [esp + 0x2c]
mov dword [esp + 0x1c], eax
fmul dword [esi + 0x14]
mov eax, dword [ebx]
fadd dword [esp + 0x14]
fld dword [esp + 0x2c]
fmul dword [esi + 0x18]
fadd dword [esp + 0x18]
fstp dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
fld dword [esp + 0x2c]
mov dword [esp + 0x128], ecx
fmul dword [esi + 0x1c]
lea ecx, [esp + 0x90]
push ecx
mov ecx, dword [ebp + 0xc]
fadd dword [esp + 0x20]
fstp dword [esp + 0x20]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x130], edx
fxch st(1)
lea edx, [esp + 0x84]
fstp dword [esp + 0x124]
push edx
push ecx
fstp dword [esp + 0x130]
lea edx, [esp + 0xcc]
push edx
mov ecx, ebx
call dword [eax + 8]
fld dword [esp + 0xb0]
fmul dword [esi + 0x10]
fld dword [esp + 0xb4]
fmul dword [esi + 0x14]
faddp st(1)
fld dword [esp + 0xb8]
fmul dword [esi + 0x18]
faddp st(1)
fcom dword [0x641de0]
fnstsw ax
test ah, 1
je 0x4ff819
fchs
fld dword [esp + 0x2c]
fmul st(1)
fadd dword [esp + 0xac]
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x4ff819
fdivr dword [esp + 0xac]
mov ecx, dword [ebp + 0x14]
fadd dword [esp + 0x2c]
fld st(0)
fcomp dword [ecx + 4]
fnstsw ax
test ah, 0x41
je 0x4ff819
mov eax, dword [esp + 0xa0]
fstp dword [esp + 0x2c]
mov edx, dword [esp + 0xa4]
fld dword [esp + 0xac]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0xb0]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0xb8]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x38], edx
mov edx, dword [esi + 0xc]
mov dword [esp + 0x3c], eax
fcomp dword [edx + 0x18]
fnstsw ax
test ah, 0x41
jnp 0x4ff806
dec dword [esp + 0xc]
jns 0x4ff671
mov ecx, dword [ebp + 0x14]
mov eax, dword [ecx]
lea edx, [esp + 0x20]
push edx
call dword [eax + 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
fstp st(0)
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14