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

Disassembly:
sub esp, 0xa4
push ebp
mov ebp, dword [0x101e25f0]
push edi
mov edi, eax
test byte [edi + 8], 0x42
jne 0x1004ab6c
cmp dword [edi + 0x90], 0
jg 0x1004ab6c
cmp dword [edi + 0x94], 0
jg 0x1004ab6c
cmp byte [edi + 0x7b], 0
je 0x1004ab6c
fld dword [edi + 0x44]
push ebx
fadd qword [0x1019f150]
mov bl, byte [ebp + 0xbf]
fld dword [ebp + 0x18b4]
mov al, bl
fmul qword [0x101a07d8]
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 [0x101a0d20]
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fstp dword [esp]
call fcn.1003fba0
add esp, 8
call fcn.10114560
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fmul qword [0x101a07c8]
call fcn.10114560
test bl, bl
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fstp dword [esp + 0x48]
je 0x1004a478
fld dword [0x1019f14c]
jmp 0x1004a47a
fldz
fstp dword [esp + 0x30]
push 0x101a0d18
fld dword [0x101a07a0]
fst dword [esp + 0x70]
fst dword [esp + 0x74]
fst dword [esp + 0x3c]
fstp dword [esp + 0x40]
call fcn.100478f0
xor ebx, ebx
add esp, 4
cmp dword [esp + 0xc0], ebx
mov dword [esp + 0x1c], ebx
jle 0x1004a7b0
fld dword [esp + 0x30]
lea esi, [ebx + ebx*2]
fld dword [edi + 0x14]
lea esi, [esi*8 + 0x101d49b0]
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 0x1004a5c8
fstp dword [esp + 0x5c]
fstp dword [esp + 0x64]
jmp 0x1004a5cc
fstp st(1)
fstp st(0)
fld dword [esp + 0x60]
fld dword [esp + 0x68]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x1004a5f1
fxch st(1)
fstp dword [esp + 0x14]
fstp dword [esp + 0x60]
fld dword [esp + 0x14]
fstp dword [esp + 0x68]
jmp 0x1004a5f5
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.10040e50
push eax
lea ecx, [esp + 0x6c]
push ecx
call fcn.10052c50
mov al, byte [esp + 0x26]
add esp, 0x14
cmp byte [esp + 0x13], 0
jne 0x1004a62d
test al, al
je 0x1004a761
mov edx, ebx
and dl, 1
neg dl
sbb edx, edx
add edx, 6
test al, al
mov dword [ebp + 0x1c50], edx
je 0x1004a761
cmp byte [ebp + 0x3e5], 0
je 0x1004a69a
test ebx, ebx
jne 0x1004a69a
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.10041f00
mov ecx, dword [eax]
mov edx, dword [eax + 4]
add esp, 0xc
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
call fcn.1003b440
mov al, byte [esp + 0x12]
test al, al
je 0x1004a777
mov eax, 0x20
jmp 0x1004a783
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.10042570
mov al, byte [esp + 0x16]
mov ebx, dword [esp + 0x20]
add esp, 4
test ebx, ebx
je 0x1004a688
test al, al
jne 0x1004a690
cmp byte [esp + 0x13], al
je 0x1004a79c
xor eax, eax
cmp byte [esp + 0x13], al
setne al
add eax, 0x1e
fld1
push ecx
fstp dword [esp]
push eax
call fcn.1003aa30
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 0x1004a4b4
xor esi, esi
cmp dword [esp + 0x24], esi
mov dword [esp + 0x1c], esi
jle 0x1004a948
fld dword [0x1019f14c]
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.1003c4d0
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.10040e50
push eax
lea edx, [esp + 0x6c]
push edx
call fcn.10052c50
mov cl, byte [esp + 0x26]
add esp, 0x14
cmp byte [esp + 0x13], 0
je 0x1004a827
fld dword [0x101a0694]
fcomp dword [ebp + 0x19ac]
fnstsw ax
test ah, 5
jnp 0x1004a82f
test cl, cl
je 0x1004a937
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 0x1004a937
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 0x1004a89f
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 [0x1019ef28]
fstp dword [esp + 0x34]
jmp 0x1004a918
cmp esi, 1
jne 0x1004a8d6
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 [0x1019ef28]
fstp dword [esp + 0x30]
jmp 0x1004a918
cmp esi, 2
jne 0x1004a8f7
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 0x1004a887
cmp esi, 3
jne 0x1004a916
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 0x1004a8be
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.10042570
mov esi, dword [esp + 0x20]
add esp, 4
add esi, 1
cmp esi, dword [esp + 0x24]
mov dword [esp + 0x1c], esi
jl 0x1004a7c0
call fcn.10042e20
mov eax, dword [ebp + 0x1adc]
test eax, eax
je 0x1004aa10
cmp dword [eax + 0x2f0], edi
jne 0x1004aa10
fldz
mov esi, dword [ebp + 0x1ac4]
cmp esi, 3
fst dword [esp + 0x20]
fst dword [esp + 0x1c]
jne 0x1004a9b2
cmp byte [ebp + 0x109], 0
je 0x1004a9b2
sub esp, 8
fst dword [esp + 4]
lea ecx, [esp + 0xac]
fstp dword [esp]
push 0
push 1
push ecx
call fcn.1003dcf0
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 0x1004a9e4
sub esp, 8
fst dword [esp + 4]
lea ecx, [esp + 0xac]
fstp dword [esp]
push 0
push 2
push ecx
call fcn.1003dcf0
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 0x1004aa91
fucom st(2)
fnstsw ax
fstp st(2)
test ah, 0x44
jp 0x1004aa93
fstp st(0)
fstp st(0)
mov ecx, dword [esp + 0x3c]
fld dword [esp + 0x38]
pop esi
fcomp qword [0x101a0ba8]
pop ebx
fnstsw ax
test ah, 0x44
jnp 0x1004aa3a
mov eax, dword [esp + 0x30]
push edi
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], ecx
call fcn.1003e470
add esp, 4
fld dword [esp + 0x64]
fcom qword [0x101a0ba8]
fnstsw ax
test ah, 0x44
jnp 0x1004ab5e
call fcn.10114560
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fstp dword [esp + 0x20]
fld dword [esp + 0x68]
call fcn.10114560
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.1003e470
add esp, 4
jmp 0x1004ab60
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 0x1004aabc
fstp st(0)
jmp 0x1004aabe
fstp st(1)
fstp dword [esp + 0x24]
fld dword [ebp + 0x18]
fmul qword [0x101a0d10]
fmul dword [esp + 0x24]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
call fcn.10114560
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.1003aa30
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.10041f00
mov edx, dword [eax]
mov ecx, dword [eax + 4]
add esp, 0x14
mov dword [esp + 0x38], edx
jmp 0x1004aa14
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