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

Disassembly:
sub esp, 0xa4
push ebp
mov ebp, dword [0x101e9b30]
push edi
mov edi, eax
test byte [edi + 8], 0x42
jne 0x1004e8ac
cmp dword [edi + 0x90], 0
jg 0x1004e8ac
cmp dword [edi + 0x94], 0
jg 0x1004e8ac
cmp byte [edi + 0x7b], 0
je 0x1004e8ac
fld dword [edi + 0x44]
push ebx
fadd qword [0x101a5210]
mov bl, byte [ebp + 0xbf]
fld dword [ebp + 0x18b4]
mov al, bl
fmul qword [0x101a6aa0]
neg al
push esi
faddp st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
sbb eax, eax
sub esp, 8
fstp dword [esp + 4]
and eax, 4
fld dword [ebp + 0x18b4]
mov dword [esp + 0x2c], eax
fmul qword [0x101a6fe8]
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fstp dword [esp]
call fcn.100438e0
add esp, 8
call fcn.101185e0
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fmul qword [0x101a6a90]
call fcn.101185e0
test bl, bl
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fstp dword [esp + 0x48]
je 0x1004e1b8
fld dword [0x101a520c]
jmp 0x1004e1ba
fldz
fstp dword [esp + 0x30]
push 0x101a6fe0
fld dword [0x101a6a68]
fst dword [esp + 0x70]
fst dword [esp + 0x74]
fst dword [esp + 0x3c]
fstp dword [esp + 0x40]
call fcn.1004b630
xor ebx, ebx
add esp, 4
cmp dword [esp + 0xc0], ebx
mov dword [esp + 0x1c], ebx
jle 0x1004e4f0
fld dword [esp + 0x30]
lea esi, [ebx + ebx*2]
fld dword [edi + 0x14]
lea esi, [esi*8 + 0x101dbc00]
fadd dword [edi + 0xc]
fstp dword [esp + 0x8c]
fld dword [edi + 0x10]
fadd dword [edi + 0x18]
fstp dword [esp + 0x90]
fld dword [esp + 0x8c]
fsub dword [edi + 0xc]
fmul dword [esi]
fadd dword [edi + 0xc]
fstp dword [esp + 0x84]
fld dword [esp + 0x90]
fsub dword [edi + 0x10]
fmul dword [esi + 4]
fadd dword [edi + 0x10]
fstp dword [esp + 0x88]
fld dword [esi + 8]
fld dword [esp + 0x48]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x94]
fmul dword [esi + 0xc]
fstp dword [esp + 0x98]
fld dword [esp + 0x94]
fld dword [esp + 0x84]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [esp + 0x74]
mov eax, dword [esp + 0x74]
fld dword [esp + 0x98]
mov dword [esp + 0x64], eax
fld dword [esp + 0x88]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [esp + 0x78]
fld dword [esi + 8]
fmul st(3)
fstp dword [esp + 0x9c]
fld dword [esi + 0xc]
fmulp st(3)
fxch st(2)
fstp dword [esp + 0xa0]
fsub dword [esp + 0x9c]
fstp dword [esp + 0x7c]
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x5c], ecx
fsub dword [esp + 0xa0]
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x68], ecx
fstp dword [esp + 0x80]
mov edx, dword [esp + 0x80]
fld dword [esp + 0x7c]
mov dword [esp + 0x60], edx
fld dword [esp + 0x74]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x1004e308
fstp dword [esp + 0x5c]
fstp dword [esp + 0x64]
jmp 0x1004e30c
fstp st(1)
fstp st(0)
fld dword [esp + 0x60]
fld dword [esp + 0x68]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x1004e331
fxch st(1)
fstp dword [esp + 0x14]
fstp dword [esp + 0x60]
fld dword [esp + 0x14]
fstp dword [esp + 0x68]
jmp 0x1004e335
fstp st(1)
fstp st(0)
push 0x2020
lea edx, [esp + 0x16]
push edx
lea eax, [esp + 0x1b]
push eax
push ebx
mov ecx, edi
call fcn.10044b90
push eax
lea ecx, [esp + 0x6c]
push ecx
call fcn.10056990
mov al, byte [esp + 0x26]
add esp, 0x14
cmp byte [esp + 0x13], 0
jne 0x1004e36d
test al, al
je 0x1004e4a1
mov edx, ebx
and dl, 1
neg dl
sbb edx, edx
add edx, 6
test al, al
mov dword [ebp + 0x1c50], edx
je 0x1004e4a1
cmp byte [ebp + 0x3e5], 0
je 0x1004e3da
test ebx, ebx
jne 0x1004e3da
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0xac]
push eax
call fcn.10045c40
mov ecx, dword [eax]
mov edx, dword [eax + 4]
add esp, 0xc
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
call fcn.1003f180
mov al, byte [esp + 0x12]
test al, al
je 0x1004e4b7
mov eax, 0x20
jmp 0x1004e4c3
fld dword [esp + 0x48]
lea eax, [esp + 0x38]
fchs
push eax
fstp dword [esp + 0x18]
lea ebx, [esp + 0x70]
fld dword [esi + 8]
lea eax, [esp + 0xb0]
fld dword [esp + 0x18]
mov ecx, edi
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x44]
fmul dword [esi + 0xc]
fstp dword [esp + 0x48]
fld dword [esi + 8]
fld dword [esp + 0x34]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x50]
fmul dword [esi + 0xc]
fstp dword [esp + 0x54]
fld dword [esp + 0x44]
fld dword [esp + 0x50]
fld st(0)
fsubp st(2)
fld dword [esi]
fmulp st(2)
faddp st(1)
fstp dword [esp + 0x2c]
fld dword [esp + 0x48]
fld dword [esp + 0x54]
fld st(0)
fsubp st(2)
fld dword [esi + 4]
fmulp st(2)
faddp st(1)
fstp dword [esp + 0x30]
fld dword [ebp + 0xf0]
fsub dword [ebp + 0x19d0]
fstp dword [esp + 0x58]
fld dword [ebp + 0xf4]
fsub dword [ebp + 0x19d4]
fstp dword [esp + 0x5c]
fld dword [esp + 0x58]
fadd dword [esp + 0x2c]
fstp dword [esp + 0xb0]
fld dword [esp + 0x5c]
fadd dword [esp + 0x30]
fstp dword [esp + 0xb4]
call fcn.100462b0
mov al, byte [esp + 0x16]
mov ebx, dword [esp + 0x20]
add esp, 4
test ebx, ebx
je 0x1004e3c8
test al, al
jne 0x1004e3d0
cmp byte [esp + 0x13], al
je 0x1004e4dc
xor eax, eax
cmp byte [esp + 0x13], al
setne al
add eax, 0x1e
fld1
push ecx
fstp dword [esp]
push eax
call fcn.1003e770
mov ecx, dword [esp + 0xcc]
add esp, 8
mov dword [ecx + ebx*4], eax
add ebx, 1
cmp ebx, dword [esp + 0xc0]
mov dword [esp + 0x1c], ebx
jl 0x1004e1f4
xor esi, esi
cmp dword [esp + 0x24], esi
mov dword [esp + 0x1c], esi
jle 0x1004e688
fld dword [0x101a520c]
sub esp, 8
fstp dword [esp + 4]
mov edx, esi
fld dword [esp + 0x50]
mov eax, edi
lea ecx, [esp + 0x64]
fstp dword [esp]
call fcn.10040210
add esp, 8
push 0x20
lea edx, [esp + 0x16]
push edx
lea eax, [esp + 0x1b]
push eax
lea ecx, [esi + 4]
push ecx
mov ecx, edi
call fcn.10044b90
push eax
lea edx, [esp + 0x6c]
push edx
call fcn.10056990
mov cl, byte [esp + 0x26]
add esp, 0x14
cmp byte [esp + 0x13], 0
je 0x1004e567
fld dword [0x101a695c]
fcomp dword [ebp + 0x19ac]
fnstsw ax
test ah, 5
jnp 0x1004e56f
test cl, cl
je 0x1004e677
mov eax, esi
and al, 1
neg al
sbb eax, eax
neg eax
add eax, 3
test cl, cl
mov dword [ebp + 0x1c50], eax
je 0x1004e677
test esi, esi
fldz
mov ecx, dword [esp + 0xbc]
fst dword [esp + 0x18]
mov dword [ecx], esi
fst dword [esp + 0x14]
mov edx, dword [edi + 0xc]
mov eax, dword [edi + 0x10]
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
jne 0x1004e5df
fst dword [esp + 0x28]
mov ecx, dword [esp + 0x28]
fstp dword [esp + 0x2c]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
fld dword [ebp + 0xf4]
fsub dword [ebp + 0x19d4]
fadd qword [0x101a4fe8]
fstp dword [esp + 0x34]
jmp 0x1004e658
cmp esi, 1
jne 0x1004e616
fld1
fstp dword [esp + 0x54]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x14], eax
fstp dword [esp + 0x58]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x18], ecx
fld dword [ebp + 0xf0]
fsub dword [ebp + 0x19d0]
fadd qword [0x101a4fe8]
fstp dword [esp + 0x30]
jmp 0x1004e658
cmp esi, 2
jne 0x1004e637
fstp dword [esp + 0x4c]
mov edx, dword [esp + 0x4c]
fld1
mov dword [esp + 0x14], edx
fstp dword [esp + 0x50]
mov eax, dword [esp + 0x50]
mov dword [esp + 0x18], eax
jmp 0x1004e5c7
cmp esi, 3
jne 0x1004e656
fst dword [esp + 0x40]
mov ecx, dword [esp + 0x40]
fstp dword [esp + 0x44]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
jmp 0x1004e5fe
fstp st(0)
lea eax, [esp + 0x38]
push eax
lea ebx, [esp + 0x70]
lea esi, [esp + 0x18]
lea eax, [esp + 0x34]
mov ecx, edi
call fcn.100462b0
mov esi, dword [esp + 0x20]
add esp, 4
add esi, 1
cmp esi, dword [esp + 0x24]
mov dword [esp + 0x1c], esi
jl 0x1004e500
call fcn.10046b60
mov eax, dword [ebp + 0x1adc]
test eax, eax
je 0x1004e750
cmp dword [eax + 0x2f0], edi
jne 0x1004e750
fldz
mov esi, dword [ebp + 0x1ac4]
cmp esi, 3
fst dword [esp + 0x20]
fst dword [esp + 0x1c]
jne 0x1004e6f2
cmp byte [ebp + 0x109], 0
je 0x1004e6f2
sub esp, 8
fst dword [esp + 4]
lea ecx, [esp + 0xac]
fstp dword [esp]
push 0
push 1
push ecx
call fcn.10041a30
fldz
mov edx, dword [eax]
mov eax, dword [eax + 4]
add esp, 0x14
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
cmp esi, 4
jne 0x1004e724
sub esp, 8
fst dword [esp + 4]
lea ecx, [esp + 0xac]
fstp dword [esp]
push 0
push 2
push ecx
call fcn.10041a30
fldz
mov edx, dword [eax]
mov eax, dword [eax + 4]
add esp, 0x14
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
fld st(0)
fld dword [esp + 0x1c]
fucom st(1)
fnstsw ax
fstp st(1)
test ah, 0x44
fld dword [esp + 0x20]
jp 0x1004e7d1
fucom st(2)
fnstsw ax
fstp st(2)
test ah, 0x44
jp 0x1004e7d3
fstp st(0)
fstp st(0)
mov ecx, dword [esp + 0x3c]
fld dword [esp + 0x38]
pop esi
fcomp qword [0x101a6e70]
pop ebx
fnstsw ax
test ah, 0x44
jnp 0x1004e77a
mov eax, dword [esp + 0x30]
push edi
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], ecx
call fcn.100421b0
add esp, 4
fld dword [esp + 0x64]
fcom qword [0x101a6e70]
fnstsw ax
test ah, 0x44
jnp 0x1004e89e
call fcn.101185e0
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fstp dword [esp + 0x20]
fld dword [esp + 0x68]
call fcn.101185e0
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
push edi
mov dword [edi + 0xc], ecx
fstp dword [esp + 0x28]
mov edx, dword [esp + 0x28]
mov dword [edi + 0x10], edx
call fcn.100421b0
add esp, 4
jmp 0x1004e8a0
fstp st(2)
fld dword [ebp + 0xa4]
fstp dword [esp + 0x14]
fld dword [ebp + 0xa8]
fstp dword [esp + 0x24]
fld dword [esp + 0x14]
fld dword [esp + 0x24]
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x1004e7fc
fstp st(0)
jmp 0x1004e7fe
fstp st(1)
fstp dword [esp + 0x24]
fld dword [ebp + 0x18]
fmul qword [0x101a6fd8]
fmul dword [esp + 0x24]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
call fcn.101185e0
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
push ecx
mov byte [ebp + 0x1af0], 0
fstp dword [esp + 0x18]
mov byte [ebp + 0x1aff], 1
fld dword [esp + 0x18]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x20]
fmulp st(1)
fstp dword [esp + 0x24]
fld1
fstp dword [esp]
push 0x20
call fcn.1003e770
mov ecx, dword [esp + 0xcc]
mov dword [ecx], eax
fld dword [edi + 0x1c]
fadd dword [esp + 0x24]
lea ecx, [esp + 0xac]
fstp dword [esp + 0x30]
mov eax, dword [esp + 0x30]
fld dword [edi + 0x20]
fadd dword [esp + 0x28]
fstp dword [esp + 0x34]
mov edx, dword [esp + 0x34]
push edx
push eax
push ecx
call fcn.10045c40
mov edx, dword [eax]
mov ecx, dword [eax + 4]
add esp, 0x14
mov dword [esp + 0x38], edx
jmp 0x1004e754
fstp st(0)
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x20]
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], ecx
pop edi
pop ebp
add esp, 0xa4
ret