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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov dword [esp + 8], ecx
fld dword [ecx + 0x6c]
fsub dword [ecx + 0x70]
push ebx
push esi
xor bl, bl
lea eax, [esp + 0x18]
fstp dword [esp + 0x20]
push edi
mov byte [esp + 0x13], bl
mov dword [esp + 0x28], eax
fld dword [esp + 0x24]
mov edx, dword [esp + 0x28]
frndint
fistp dword [edx]
mov eax, dword [esp + 0x1c]
test eax, eax
jge 0x48e49e
neg eax
mov ecx, dword [esp + 0x14]
inc eax
mov dword [esp + 0x1c], eax
mov edx, dword [ecx + 4]
mov eax, dword [edx + 0x12c]
mov edx, eax
shr edx, 0xc
test dl, 1
je 0x48e4bf
mov byte [esp + 0x13], 1
shr eax, 5
test al, 1
je 0x48e4c8
mov bl, 1
mov eax, dword [ecx + 0x1cc]
xor edi, edi
test eax, eax
jle 0x48e6ef
jmp 0x48e4e0
test bl, bl
mov eax, dword [ecx + 0x1c8]
mov esi, dword [eax + edi*4]
fld dword [esi + 0x70]
je 0x48e4f5
fsub dword [esi + 0x40]
jmp 0x48e4f8
fsub dword [esi + 0x44]
fstp dword [esp + 0x28]
fld dword [ebp + 8]
fcomp dword [0x73d700]
fnstsw ax
test ah, 0x44
jnp 0x48e6e0
fld dword [esp + 0x28]
fcomp dword [ebp + 8]
fnstsw ax
test ah, 1
jne 0x48e6e0
mov ecx, dword [ecx + 0x70]
lea edx, [esp + 0x20]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], edx
fld dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
frndint
fistp dword [edx]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x6c]
lea edx, [esp + 0x24]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x2c], edx
fld dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
frndint
fistp dword [edx]
mov ecx, dword [esp + 0x14]
fld dword [ecx + 0x70]
fcomp dword [ecx + 0x6c]
fnstsw ax
test ah, 0x44
jnp 0x48e6e0
mov al, byte [esp + 0x13]
test al, al
je 0x48e5b6
call fcn.006fc447
cdq
idiv dword [esp + 0x1c]
mov dword [esi + 0x3c], edx
test bl, bl
jne 0x48e593
fild dword [esi + 0x3c]
fmul dword [ebp + 8]
fstp dword [esi + 0x44]
mov eax, dword [esp + 0x14]
fld dword [eax + 0x78]
fcomp dword [0x73d700]
fnstsw ax
test ah, 1
jne 0x48e6d4
mov ecx, dword [esi + 0x70]
mov dword [esi + 0x40], ecx
jmp 0x48e6dc
fld dword [ecx + 0x6c]
sub esp, 8
fcomp dword [ecx + 0x70]
fld dword [esp + 0x30]
fdiv dword [ebp + 8]
fnstsw ax
fstp qword [esp]
test ah, 5
jp 0x48e662
call fcn.006fc750
fchs
lea eax, [esp + 0x20]
fstp dword [esp + 0x30]
add esp, 8
mov dword [esp + 0x2c], eax
fld dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
frndint
fistp dword [edx]
mov ecx, dword [esp + 0x18]
mov edx, dword [esi + 0x3c]
add edx, ecx
test bl, bl
mov dword [esi + 0x3c], edx
mov eax, edx
je 0x48e650
fild dword [esp + 0x18]
fmul dword [ebp + 8]
fadd dword [esi + 0x44]
fstp dword [esi + 0x44]
mov edx, dword [esp + 0x14]
fild dword [esi + 0x3c]
fcomp dword [edx + 0x6c]
fnstsw ax
test ah, 5
jp 0x48e586
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov eax, ecx
sub eax, edx
inc eax
add dword [esi + 0x3c], eax
fild dword [esi + 0x3c]
mov eax, dword [esp + 0x14]
fcomp dword [eax + 0x6c]
fnstsw ax
test ah, 5
jnp 0x48e632
jmp 0x48e586
mov ecx, dword [esp + 0x20]
cmp ecx, eax
jle 0x48e6cc
mov eax, ecx
mov dword [esi + 0x3c], eax
jmp 0x48e58a
call fcn.006fc750
fstp dword [esp + 0x30]
lea ecx, [esp + 0x20]
add esp, 8
mov dword [esp + 0x2c], ecx
fld dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
frndint
fistp dword [edx]
mov edx, dword [esp + 0x18]
mov eax, dword [esi + 0x3c]
add eax, edx
test bl, bl
mov dword [esi + 0x3c], eax
je 0x48e6c2
fild dword [esp + 0x18]
mov eax, dword [esp + 0x24]
cmp dword [esi + 0x3c], eax
fmul dword [ebp + 8]
fadd dword [esi + 0x44]
fstp dword [esi + 0x44]
jle 0x48e586
mov ecx, dword [esp + 0x20]
mov edx, ecx
sub edx, eax
dec edx
add dword [esi + 0x3c], edx
cmp dword [esi + 0x3c], eax
jg 0x48e6b0
jmp 0x48e586
mov ecx, dword [esp + 0x24]
cmp ecx, eax
jge 0x48e6cc
mov eax, ecx
mov dword [esi + 0x3c], eax
jmp 0x48e58a
xor eax, eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x70], eax
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x1cc]
inc edi
cmp edi, eax
jl 0x48e4e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4