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

Disassembly:
sub esp, 0xc8
push ebx
mov ebx, dword [esp + 0xd0]
push edi
mov edi, eax
test edi, edi
je 0x4eb67a
push esi
mov esi, dword [edi + 0x94]
neg esi
sbb esi, esi
and esi, 0x7f00
add esi, 0xff
push esi
push 0xff
push edi
mov eax, ebx
xor ecx, ecx
call fcn.004e9a50
push esi
push 0xff
push edi
mov eax, ebx
mov ecx, 1
call fcn.004e9a50
push esi
push 0xff
push edi
mov eax, ebx
mov ecx, 2
call fcn.004e9a50
mov esi, edi
mov edi, dword [edi + 0x94]
add esp, 0x24
test edi, edi
je 0x4eb679
push ebp
lea ebx, [ebx]
mov eax, dword [esi]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x4c], eax
push ecx
mov eax, esi
xor ebx, ebx
call fcn.004e9480
mov edx, dword [esi + 4]
lea eax, [esp + 0x5c]
push eax
mov eax, esi
mov dword [esp + 0x60], edx
call fcn.004e9480
mov edx, dword [esp + 0x54]
add esp, 8
test edx, edx
jge 0x4eaed9
test edx, 0x7fffffff
je 0x4eaed9
fld dword [esp + 0x4c]
fchs
fstp dword [esp + 0x8c]
jmp 0x4eaee0
mov dword [esp + 0x8c], edx
mov ecx, dword [esp + 0x58]
test ecx, ecx
jge 0x4eaeff
test ecx, 0x7fffffff
je 0x4eaeff
fld dword [esp + 0x58]
fchs
fstp dword [esp + 0x98]
jmp 0x4eaf06
mov dword [esp + 0x98], ecx
fld dword [esp + 0x8c]
fcomp dword [esp + 0x98]
fnstsw ax
test ah, 0x41
jne 0x4eaf39
test edx, edx
jge 0x4eaf33
test edx, 0x7fffffff
je 0x4eaf33
fld dword [esp + 0x4c]
fchs
fstp dword [esp + 0x14]
jmp 0x4eaf55
mov dword [esp + 0x14], edx
jmp 0x4eaf55
test ecx, ecx
jge 0x4eaf51
test ecx, 0x7fffffff
je 0x4eaf51
fld dword [esp + 0x58]
fchs
fstp dword [esp + 0x14]
jmp 0x4eaf55
mov dword [esp + 0x14], ecx
mov ecx, dword [esi + 8]
lea edx, [esp + 0x54]
push edx
mov eax, esi
mov ebx, 1
mov dword [esp + 0x58], ecx
call fcn.004e9480
mov eax, dword [esi + 0xc]
lea ecx, [esp + 0x54]
mov dword [esp + 0x54], eax
push ecx
mov eax, esi
call fcn.004e9480
mov edx, dword [esp + 0x5c]
add esp, 8
test edx, edx
jge 0x4eaf9f
test edx, 0x7fffffff
je 0x4eaf9f
fld dword [esp + 0x54]
fchs
fstp dword [esp + 0x70]
jmp 0x4eafa3
mov dword [esp + 0x70], edx
mov ecx, dword [esp + 0x50]
test ecx, ecx
jge 0x4eafc2
test ecx, 0x7fffffff
je 0x4eafc2
fld dword [esp + 0x50]
fchs
fstp dword [esp + 0x84]
jmp 0x4eafc9
mov dword [esp + 0x84], ecx
fld dword [esp + 0x70]
fcomp dword [esp + 0x84]
fnstsw ax
test ah, 0x41
jne 0x4eaff9
test edx, edx
jge 0x4eaff3
test edx, 0x7fffffff
je 0x4eaff3
fld dword [esp + 0x54]
fchs
fstp dword [esp + 0x10]
jmp 0x4eb015
mov dword [esp + 0x10], edx
jmp 0x4eb015
test ecx, ecx
jge 0x4eb011
test ecx, 0x7fffffff
je 0x4eb011
fld dword [esp + 0x50]
fchs
fstp dword [esp + 0x10]
jmp 0x4eb015
mov dword [esp + 0x10], ecx
mov edx, dword [esi + 0x10]
lea eax, [esp + 0x40]
push eax
mov eax, esi
mov ebx, 2
mov dword [esp + 0x44], edx
call fcn.004e9480
mov ecx, dword [esi + 0x14]
lea edx, [esp + 0x38]
push edx
mov eax, esi
mov dword [esp + 0x3c], ecx
call fcn.004e9480
mov edx, dword [esp + 0x48]
add esp, 8
test edx, edx
jge 0x4eb05f
test edx, 0x7fffffff
je 0x4eb05f
fld dword [esp + 0x40]
fchs
fstp dword [esp + 0x78]
jmp 0x4eb063
mov dword [esp + 0x78], edx
mov ecx, dword [esp + 0x34]
test ecx, ecx
jge 0x4eb082
test ecx, 0x7fffffff
je 0x4eb082
fld dword [esp + 0x34]
fchs
fstp dword [esp + 0x88]
jmp 0x4eb089
mov dword [esp + 0x88], ecx
fld dword [esp + 0x78]
fcomp dword [esp + 0x88]
fnstsw ax
test ah, 0x41
jne 0x4eb0b9
test edx, edx
jge 0x4eb0b3
test edx, 0x7fffffff
je 0x4eb0b3
fld dword [esp + 0x40]
fchs
fstp dword [esp + 0x18]
jmp 0x4eb0d5
mov dword [esp + 0x18], edx
jmp 0x4eb0d5
test ecx, ecx
jge 0x4eb0d1
test ecx, 0x7fffffff
je 0x4eb0d1
fld dword [esp + 0x34]
fchs
fstp dword [esp + 0x18]
jmp 0x4eb0d5
mov dword [esp + 0x18], ecx
mov edx, 1
xor ecx, ecx
lea esp, [esp]
fld dword [edi + ecx*4]
fcomp dword [edi + ecx*4 + 4]
fnstsw ax
test ah, 0x41
jne 0x4eb0fc
mov eax, dword [edi + ecx*4]
mov esi, dword [edi + ecx*4 + 4]
mov dword [edi + ecx*4], esi
mov dword [edi + ecx*4 + 4], eax
add ecx, 2
cmp ecx, 6
jl 0x4eb0e0
fld dword [esp + 0x40]
mov eax, dword [esp + 0x4c]
fmul dword [edi + 0x30]
mov ebp, dword [esp + 0x54]
mov dword [esp + 0x5c], eax
lea ebx, [edi + 0x18]
fstp dword [esp + 0xc4]
mov dword [esp + 0x74], 2
fld dword [esp + 0x40]
fmul dword [edi + 0x34]
fstp dword [esp + 0xcc]
fld dword [esp + 0x40]
fmul dword [edi + 0x38]
fstp dword [esp + 0xd4]
fld dword [esp + 0x34]
fmul dword [edi + 0x30]
fstp dword [esp + 0xd0]
fld dword [esp + 0x34]
fmul dword [edi + 0x34]
fstp dword [esp + 0xc8]
fld dword [esp + 0x34]
fmul dword [edi + 0x38]
fstp dword [esp + 0x64]
lea esp, [esp]
fld dword [esp + 0x5c]
mov dword [esp + 0x60], ebp
fmul dword [ebx]
mov esi, 2
fstp dword [esp + 0x80]
fld dword [esp + 0x5c]
fmul dword [edi + 0x1c]
fstp dword [esp + 0x9c]
fld dword [esp + 0x5c]
fmul dword [edi + 0x20]
fstp dword [esp + 0x94]
cmp edx, 1
fld dword [esp + 0x60]
fmul dword [edi + 0x24]
fstp dword [esp + 0x90]
fld dword [esp + 0xc4]
fadd dword [esp + 0x80]
fadd dword [esp + 0x90]
fstp dword [esp + 0x1c]
fld dword [esp + 0x60]
fmul dword [edi + 0x28]
fstp dword [esp + 0x68]
fld dword [esp + 0xcc]
fadd dword [esp + 0x9c]
fadd dword [esp + 0x68]
fstp dword [esp + 0x24]
fld dword [esp + 0x60]
fmul dword [edi + 0x2c]
fstp dword [esp + 0x6c]
fld dword [esp + 0xd4]
fadd dword [esp + 0x94]
fadd dword [esp + 0x6c]
fstp dword [esp + 0x20]
jne 0x4eb238
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], eax
xor edx, edx
jmp 0x4eb2b6
fld dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
fcomp dword [esp + 0x2c]
fnstsw ax
test ah, 5
jp 0x4eb24f
mov dword [esp + 0x2c], ecx
fld dword [esp + 0x1c]
fcomp dword [esp + 0x3c]
fnstsw ax
test ah, 0x41
jne 0x4eb262
mov dword [esp + 0x3c], ecx
fld dword [esp + 0x24]
mov ecx, dword [esp + 0x24]
fcomp dword [esp + 0x48]
fnstsw ax
test ah, 5
jp 0x4eb279
mov dword [esp + 0x48], ecx
fld dword [esp + 0x24]
fcomp dword [esp + 0x44]
fnstsw ax
test ah, 0x41
jne 0x4eb28c
mov dword [esp + 0x44], ecx
fld dword [esp + 0x20]
mov ecx, dword [esp + 0x20]
fcomp dword [esp + 0x30]
fnstsw ax
test ah, 5
jp 0x4eb2a3
mov dword [esp + 0x30], ecx
fld dword [esp + 0x20]
fcomp dword [esp + 0x38]
fnstsw ax
test ah, 0x41
jne 0x4eb2b6
mov dword [esp + 0x38], ecx
cmp edx, 1
fld dword [esp + 0xd0]
fadd dword [esp + 0x80]
fadd dword [esp + 0x90]
fstp dword [esp + 0x1c]
fld dword [esp + 0xc8]
fadd dword [esp + 0x9c]
fadd dword [esp + 0x68]
fstp dword [esp + 0x24]
fld dword [esp + 0x64]
fadd dword [esp + 0x94]
fadd dword [esp + 0x6c]
fstp dword [esp + 0x20]
jne 0x4eb325
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], eax
xor edx, edx
jmp 0x4eb3a3
fld dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
fcomp dword [esp + 0x2c]
fnstsw ax
test ah, 5
jp 0x4eb33c
mov dword [esp + 0x2c], ecx
fld dword [esp + 0x1c]
fcomp dword [esp + 0x3c]
fnstsw ax
test ah, 0x41
jne 0x4eb34f
mov dword [esp + 0x3c], ecx
fld dword [esp + 0x24]
mov ecx, dword [esp + 0x24]
fcomp dword [esp + 0x48]
fnstsw ax
test ah, 5
jp 0x4eb366
mov dword [esp + 0x48], ecx
fld dword [esp + 0x24]
fcomp dword [esp + 0x44]
fnstsw ax
test ah, 0x41
jne 0x4eb379
mov dword [esp + 0x44], ecx
fld dword [esp + 0x20]
mov ecx, dword [esp + 0x20]
fcomp dword [esp + 0x30]
fnstsw ax
test ah, 5
jp 0x4eb390
mov dword [esp + 0x30], ecx
fld dword [esp + 0x20]
fcomp dword [esp + 0x38]
fnstsw ax
test ah, 0x41
jne 0x4eb3a3
mov dword [esp + 0x38], ecx
dec esi
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x60], ecx
jne 0x4eb1a2
mov eax, dword [esp + 0x58]
mov dword [esp + 0x5c], eax
dec dword [esp + 0x74]
jne 0x4eb170
fld dword [esp + 0x2c]
fcomp dword [edi]
fnstsw ax
test ah, 0x41
jne 0x4eb3d7
mov ecx, dword [esp + 0x2c]
mov dword [edi], ecx
fld dword [esp + 0x3c]
fcomp dword [edi + 4]
fnstsw ax
test ah, 5
jp 0x4eb3ec
mov edx, dword [esp + 0x3c]
mov dword [edi + 4], edx
fld dword [esp + 0x48]
fcomp dword [edi + 8]
fnstsw ax
test ah, 0x41
jne 0x4eb401
mov eax, dword [esp + 0x48]
mov dword [edi + 8], eax
fld dword [esp + 0x44]
fcomp dword [edi + 0xc]
fnstsw ax
test ah, 5
jp 0x4eb416
mov ecx, dword [esp + 0x44]
mov dword [edi + 0xc], ecx
fld dword [esp + 0x30]
fcomp dword [edi + 0x10]
fnstsw ax
test ah, 0x41
jne 0x4eb42b
mov edx, dword [esp + 0x30]
mov dword [edi + 0x10], edx
fld dword [esp + 0x38]
fcomp dword [edi + 0x14]
fnstsw ax
test ah, 5
jp 0x4eb440
mov eax, dword [esp + 0x38]
mov dword [edi + 0x14], eax
fld dword [esp + 0x14]
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 0x41
jne 0x4eb459
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x7c], ecx
jmp 0x4eb461
mov edx, dword [esp + 0x10]
mov dword [esp + 0x7c], edx
fld dword [esp + 0x7c]
fcomp dword [esp + 0x18]
fnstsw ax
test ah, 0x41
jne 0x4eb493
fld dword [esp + 0x14]
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 0x41
jne 0x4eb489
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], eax
jmp 0x4eb49b
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x28], ecx
jmp 0x4eb49b
mov edx, dword [esp + 0x18]
mov dword [esp + 0x28], edx
fld dword [0x66cb3c]
fld dword [esp + 0x28]
fucompp
fnstsw ax
test ah, 0x44
jp 0x4eb4b6
mov dword [esp + 0x28], 0x3f800000
fld dword [esp + 0x14]
push 9
fdiv dword [esp + 0x2c]
lea eax, [esp + 0xa4]
push ebx
push eax
fstp dword [esp + 0x20]
fld dword [esp + 0x1c]
fdiv dword [esp + 0x34]
fstp dword [esp + 0x1c]
fld dword [esp + 0x24]
fdiv dword [esp + 0x34]
fstp dword [esp + 0x24]
call fcn.004ef6d0
fld dword [esp + 0xac]
fmul dword [esp + 0x20]
lea ecx, [edi + 0x84]
push ecx
lea edx, [edi + 0x78]
push edx
fstp dword [esp + 0xb4]
lea ebx, [edi + 0x3c]
fld dword [esp + 0xb8]
lea esi, [esp + 0xb4]
fmul dword [esp + 0x28]
fstp dword [esp + 0xb8]
fld dword [esp + 0xbc]
fmul dword [esp + 0x28]
fstp dword [esp + 0xbc]
fld dword [esp + 0xc0]
fmul dword [esp + 0x24]
fstp dword [esp + 0xc0]
fld dword [esp + 0xc4]
fmul dword [esp + 0x24]
fstp dword [esp + 0xc4]
fld dword [esp + 0xc8]
fmul dword [esp + 0x24]
fstp dword [esp + 0xc8]
fld dword [esp + 0xcc]
fmul dword [esp + 0x2c]
fstp dword [esp + 0xcc]
fld dword [esp + 0xd0]
fmul dword [esp + 0x2c]
fstp dword [esp + 0xd0]
fld dword [esp + 0xd4]
fmul dword [esp + 0x2c]
fstp dword [esp + 0xd4]
mov eax, dword [edi + 4]
fld dword [0x6746a0]
mov ecx, dword [edi]
fdiv dword [esp + 0x3c]
push eax
push ecx
fstp dword [esp + 0x80]
mov ebp, dword [esp + 0x80]
push ebp
call fcn.004eac00
mov ecx, dword [edi + 0xc]
lea edx, [edi + 0x88]
push edx
mov edx, dword [edi + 8]
lea eax, [edi + 0x7c]
push eax
push ecx
push edx
lea ebx, [edi + 0x40]
push ebp
lea esi, [esp + 0xd8]
call fcn.004eac00
mov edx, dword [edi + 0x14]
lea eax, [edi + 0x8c]
push eax
mov eax, dword [edi + 0x10]
lea ecx, [edi + 0x80]
push ecx
push edx
push eax
lea ebx, [edi + 0x44]
push ebp
lea esi, [esp + 0xf0]
call fcn.004eac00
mov esi, dword [edi + 0x94]
mov ebx, dword [esp + 0x124]
add esp, 0x48
neg esi
sbb esi, esi
and esi, 0x7f00
add esi, 0xff
push esi
push 0x3fc
push edi
mov eax, ebx
xor ecx, ecx
call fcn.004e9a50
push esi
push 0x3fc
push edi
mov eax, ebx
mov ecx, 1
call fcn.004e9a50
push esi
push 0x3fc
push edi
mov eax, ebx
mov ecx, 2
call fcn.004e9a50
mov esi, edi
mov edi, dword [edi + 0x94]
add esp, 0x24
test edi, edi
jne 0x4eae90
pop ebp
pop esi
pop edi
pop ebx
add esp, 0xc8
ret