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

Disassembly:
sub esp, 0x54
fld dword [0x686200]
fmul dword [0x68622c]
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
xor edx, edx
fst dword [esp + 0x18]
fld dword [0x686200]
fmul dword [0x686228]
mov ecx, dword [esi + 0x10]
push edi
mov dword [esp + 0x14], 0
mov dword [esp + 0x30], ebx
fst dword [esp + 0x38]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x28], eax
mov eax, dword [ecx]
fstp dword [esp + 0x20]
mov ebp, dword [eax + 0xc]
mov dword [esp + 0x34], eax
fstp dword [esp + 0x24]
cmp ebp, 4
setne dl
dec edx
and edx, eax
mov ebp, edx
je 0x4ae73d
mov ecx, ebp
call fcn.004f40d0
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x38], ebx
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0x38]
cmp eax, ebx
mov dword [esp + 0x18], ecx
jle 0x4aea08
cmp eax, 1
jne 0x4ae760
mov edi, dword [esi + 0x3c]
jmp 0x4ae766
mov edx, dword [esi + 0x3c]
mov edi, dword [edx + ebx*4]
cmp edi, 0xffffffff
jne 0x4ae785
mov eax, dword [esi + 0x40]
fld dword [eax + ebx*4 - 4]
fmul dword [esp + 0x18]
fmul dword [0x673cd4]
fsubr dword [esp + 0x14]
jmp 0x4ae9f4
test ebx, ebx
je 0x4ae794
mov ecx, dword [esi + 0x40]
fld dword [esp + 0x14]
fstp dword [ecx + ebx*4 - 4]
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x3c]
push eax
push edi
mov edx, dword [ecx]
call dword [edx + 0x24]
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x4ae8a0
fild dword [esp + 0x40]
fld dword [esp + 0x24]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x4ae7c4
fst dword [esp + 0x24]
fld dword [esp + 0x28]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x4ae7d7
fstp dword [esp + 0x28]
jmp 0x4ae7d9
fstp st(0)
fild dword [esp + 0x48]
fld dword [esp + 0x24]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x4ae7ee
fst dword [esp + 0x24]
fld dword [esp + 0x28]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x4ae801
fstp dword [esp + 0x28]
jmp 0x4ae803
fstp st(0)
fild dword [esp + 0x3c]
fmul dword [esp + 0x18]
fmul dword [0x673cd4]
fadd dword [esp + 0x14]
fild dword [esp + 0x44]
fmul dword [esp + 0x18]
fmul dword [0x673cd4]
fadd dword [esp + 0x14]
fstp dword [esp + 0x2c]
fld dword [esp + 0x1c]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x4ae83c
fst dword [esp + 0x1c]
fld dword [esp + 0x20]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x4ae84f
fstp dword [esp + 0x20]
jmp 0x4ae851
fstp st(0)
fld dword [esp + 0x1c]
fcomp dword [esp + 0x2c]
fnstsw ax
test ah, 0x41
jne 0x4ae868
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x1c], ecx
fld dword [esp + 0x20]
fcomp dword [esp + 0x2c]
fnstsw ax
test ah, 1
je 0x4ae87f
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x20], edx
mov ecx, dword [esp + 0x34]
push edi
mov eax, dword [ecx]
call dword [eax + 0x20]
mov dword [esp + 0x38], eax
fild dword [esp + 0x38]
fmul dword [esp + 0x18]
fmul dword [0x673cd4]
jmp 0x4ae9df
push edi
mov ecx, ebp
call fcn.004f40b0
lea ecx, [esp + 0x12]
lea edx, [esp + 0x10]
mov ebx, eax
push ecx
push edx
push ebx
mov ecx, ebp
call fcn.004f4090
movsx eax, word [esp + 0x10]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x44]
sub edx, eax
sub ecx, eax
movsx eax, word [esp + 0x12]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x40]
fild dword [esp + 0x3c]
fld dword [esp + 0x1c]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x48]
fcomp st(1)
sub edx, eax
sub ecx, eax
mov dword [esp + 0x40], edx
mov dword [esp + 0x48], ecx
fnstsw ax
test ah, 0x41
jne 0x4ae903
fst dword [esp + 0x1c]
fld dword [esp + 0x20]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x4ae916
fstp dword [esp + 0x20]
jmp 0x4ae918
fstp st(0)
fild dword [esp + 0x44]
fld dword [esp + 0x1c]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x4ae92d
fst dword [esp + 0x1c]
fld dword [esp + 0x20]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x4ae940
fstp dword [esp + 0x20]
jmp 0x4ae942
fstp st(0)
fild dword [esp + 0x40]
fmul dword [esp + 0x18]
fmul dword [0x673cd4]
fadd dword [esp + 0x14]
fild dword [esp + 0x48]
fmul dword [esp + 0x18]
fmul dword [0x673cd4]
fadd dword [esp + 0x14]
fstp dword [esp + 0x2c]
fld dword [esp + 0x24]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x4ae97b
fst dword [esp + 0x24]
fld dword [esp + 0x28]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x4ae98e
fstp dword [esp + 0x28]
jmp 0x4ae990
fstp st(0)
fld dword [esp + 0x24]
fcomp dword [esp + 0x2c]
fnstsw ax
test ah, 0x41
jne 0x4ae9a7
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x24], eax
fld dword [esp + 0x28]
fcomp dword [esp + 0x2c]
fnstsw ax
test ah, 1
je 0x4ae9be
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x28], ecx
push ebx
mov ecx, ebp
call fcn.004f4080
movsx edx, ax
mov dword [esp + 0x2c], edx
mov ebx, dword [esp + 0x38]
fild dword [esp + 0x2c]
fmul dword [esp + 0x18]
fmul dword [0x673cd4]
fadd dword [esp + 0x14]
cmp edi, 0x20
jne 0x4ae9ee
mov eax, dword [esi + 0x10]
fadd dword [eax + 0xc]
mov ecx, dword [esi + 0x10]
fadd dword [ecx + 8]
mov eax, dword [esi + 0x38]
inc ebx
fstp dword [esp + 0x14]
cmp ebx, eax
mov dword [esp + 0x38], ebx
jl 0x4ae756
mov eax, dword [esp + 0x30]
test eax, eax
mov eax, dword [esp + 0x68]
je 0x4aea52
test eax, eax
je 0x4aea1e
mov dword [eax], 0
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x4aea2c
mov edx, dword [esp + 0x14]
mov dword [eax], edx
fld dword [esp + 0x18]
fmul dword [esp + 0x1c]
fmul dword [0x673cd4]
fstp dword [esp + 0x1c]
fld dword [esp + 0x18]
fmul dword [esp + 0x20]
fmul dword [0x673cd4]
fstp dword [esp + 0x20]
jmp 0x4aea92
test eax, eax
je 0x4aea60
fld dword [esp + 0x14]
fmul dword [esp + 0x70]
fstp dword [eax]
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x4aea6e
mov dword [eax], 0
fld dword [esp + 0x18]
fmul dword [esp + 0x24]
fmul dword [0x673cd4]
fstp dword [esp + 0x24]
fld dword [esp + 0x18]
fmul dword [esp + 0x28]
fmul dword [0x673cd4]
fstp dword [esp + 0x28]
mov eax, dword [0x686204]
lea edx, [esp + 0x4c]
mov ecx, eax
push edx
mov dword [esp + 0x50], ecx
mov ecx, esi
mov dword [esp + 0x5c], eax
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
call fcn.004ae4c0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
lea edi, [esi + 0x1c]
lea ebx, [esi + 0x20]
lea ebp, [esi + 0x28]
mov dword [edi], eax
lea eax, [esi + 0x24]
mov dword [ebx], ecx
mov ecx, dword [esp + 0x28]
push ebp
push eax
mov dword [eax], ecx
push ebx
push edi
lea ecx, [esp + 0x5c]
mov dword [ebp], edx
mov dword [esp + 0x78], eax
call fcn.004abca0
mov edx, dword [esi + 0x10]
mov eax, dword [edx + 0x20]
cmp eax, 1
je 0x4aeb1d
cmp eax, 2
je 0x4aeb1d
cmp eax, 5
je 0x4aeb1d
cmp eax, 6
jne 0x4aeb49
mov eax, dword [esi + 8]
fld dword [eax + 0x18]
fmul dword [0x675260]
fld dword [edi]
mov eax, dword [esp + 0x68]
fsub st(1)
fstp dword [edi]
fld st(0)
fadd dword [ebx]
fstp dword [ebx]
fld st(0)
fadd dword [eax]
fstp dword [eax]
fld dword [ebp]
fsub st(1)
fstp dword [ebp]
fstp st(0)
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 0xc