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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
fldz
fld qword [0x1e6f9a58]
sub esp, 0x20
test dword [edx + 0x7f8], 0x48000
push ebx
push esi
mov esi, dword [edx + 0x7f4]
push edi
mov edi, dword [esi + 0x11b58]
je 0x1e741529
mov ecx, dword [edx + 0x800]
lea ebx, [edx + 0x800]
test ecx, ecx
je 0x1e7412ab
fld dword [ecx + 8]
fld dword [esi + 0x11b4c]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x1e741310
mov ecx, dword [ecx + 4]
test ecx, ecx
jne 0x1e741292
fstp st(1)
push ecx
fstp st(0)
fld dword [esi + 0x11b4c]
fstp dword [esp]
call fcn.1e7411b0
mov ecx, eax
add esp, 4
test ecx, ecx
jne 0x1e7412f0
push 0x78
push 0x1e6fce18
push 0x1e6fcdec
call sym.d3d8.dll_DebugSetMute
add esp, 0xc
push 0x1e7dea9c
lea eax, [ebp + 8]
push eax
mov dword [ebp + 8], 0x8007000e
call sub.msvcrt.dll__CxxThrowException
mov eax, dword [ebx]
lea edx, [ecx + 4]
mov dword [edx], eax
test eax, eax
je 0x1e7412ff
mov eax, dword [ebx]
mov dword [eax], edx
fld qword [0x1e6f9a58]
mov edx, dword [ebp + 8]
fldz
mov dword [ebx], ecx
mov dword [ecx], ebx
fxch st(1)
fld dword [0x1e6fcde8]
mov dword [edx + 0x804], ecx
fcomp dword [esi + 0x11b4c]
fnstsw ax
test ah, 5
jp 0x1e74135b
fstp st(1)
fstp st(0)
fld dword [esi + 0x11b4c]
fld1
fdivrp st(1)
fld qword [0x1e6fcde0]
fxch st(1)
call sub.msvcrt.dll__CIpow
fstp dword [ebp - 0x10]
fld dword [ebp - 0x10]
mov edx, dword [ebp + 8]
fstp dword [esi + 0x11b70]
fld qword [0x1e6f9a58]
jmp 0x1e741363
fxch st(1)
fstp dword [esi + 0x11b70]
xor ecx, ecx
cmp dword [edx + 0x804], ecx
je 0x1e741380
test dword [esi + 0x12fbc], 0x800
mov dword [ebp - 0x10], 1
jne 0x1e741383
mov dword [ebp - 0x10], ecx
fmul dword [esi + 0x11b18]
fstp dword [ebp - 0xc]
fld dword [ebp - 0xc]
fistp qword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
cmp eax, ecx
mov dword [esi + 0x11b78], eax
mov ebx, 0xff000000
jge 0x1e7413ac
mov dword [esi + 0x11b78], ecx
jmp 0x1e7413c4
cmp eax, 0xff
jle 0x1e7413bb
mov dword [esi + 0x11b78], ebx
jmp 0x1e7413c4
shl eax, 0x18
mov dword [esi + 0x11b78], eax
fld dword [esi + 0x11b38]
fmul qword [0x1e6f9a58]
fstp dword [ebp - 0xc]
fld dword [ebp - 0xc]
fistp qword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
cmp eax, ecx
mov dword [esi + 0x11b7c], eax
jge 0x1e7413ee
mov dword [esi + 0x11b7c], ecx
jmp 0x1e741406
cmp eax, 0xff
jle 0x1e7413fd
mov dword [esi + 0x11b7c], ebx
jmp 0x1e741406
shl eax, 0x18
mov dword [esi + 0x11b7c], eax
mov ecx, dword [edx + 0x804]
fld dword [esi + 0x11adc]
add ecx, 0xc
mov dword [esi + 0x11ab8], ecx
fmul dword [esi + 0x11b1c]
fstp dword [esi + 0x11aac]
fld dword [esi + 0x11ae0]
fmul dword [esi + 0x11b20]
fstp dword [esi + 0x11ab0]
fld dword [esi + 0x11ae4]
fmul dword [esi + 0x11b24]
fstp dword [esi + 0x11ab4]
fld dword [esi + 0x11b3c]
fld qword [0x1e6f9a58]
fmul st(1), st(0)
fld dword [esi + 0x11aac]
faddp st(2)
fxch st(1)
fstp dword [esi + 0x11aac]
fld dword [esi + 0x11b40]
fmul st(1)
fadd dword [esi + 0x11ab0]
fstp dword [esi + 0x11ab0]
fmul dword [esi + 0x11b44]
fadd dword [esi + 0x11ab4]
fstp dword [esi + 0x11ab4]
fld dword [esi + 0x11aac]
fstp dword [ebp - 0xc]
fld dword [ebp - 0xc]
fistp qword [ebp - 0x20]
fld dword [esi + 0x11ab0]
mov eax, dword [ebp - 0x20]
fstp dword [ebp - 0xc]
fld dword [ebp - 0xc]
fistp qword [ebp - 0x20]
mov ecx, dword [ebp - 0x20]
fld dword [esi + 0x11ab4]
fstp dword [ebp - 0xc]
mov dword [ebp - 4], ecx
fld dword [ebp - 0xc]
fistp qword [ebp - 0x20]
mov ebx, dword [ebp - 0x20]
test eax, eax
jge 0x1e7414d0
xor eax, eax
jmp 0x1e7414dc
cmp eax, 0xff
jle 0x1e7414dc
mov eax, 0xff
test ecx, ecx
jge 0x1e7414e9
mov dword [ebp - 4], 0
jmp 0x1e7414f8
cmp ecx, 0xff
jle 0x1e7414f8
mov dword [ebp - 4], 0xff
mov ecx, dword [ebp - 0x20]
test ecx, ecx
jge 0x1e741503
xor ebx, ebx
jmp 0x1e741510
cmp ecx, 0xff
jle 0x1e741510
mov ebx, 0xff
fldz
shl eax, 8
add eax, dword [ebp - 4]
fld qword [0x1e6f9a58]
shl eax, 8
add eax, ebx
mov dword [esi + 0x11b80], eax
test dword [esi + 0x12fbc], 0x800000
fxch st(1)
fst dword [esi + 0x11acc]
lea ecx, [esi + 0x11acc]
fst dword [esi + 0x11ad0]
lea ebx, [esi + 0x11afc]
fst dword [esi + 0x11ad4]
fst dword [ebx]
fstp dword [esi + 0x11b00]
fld dword [0x1e6fcdd8]
fstp dword [esi + 0x11b04]
je 0x1e74159f
lea eax, [esi + 0x8280]
fstp st(0)
mov edx, ecx
call fcn.1e741130
mov edx, dword [ebp + 8]
mov dword [edx + 0x808], 0x1e7e5aec
lea eax, [esi + 0x8280]
mov ecx, ebx
mov edx, ebx
call fcn.1e7410b0
fld qword [0x1e6f9a58]
mov edx, dword [ebp + 8]
jmp 0x1e7415a9
mov dword [edx + 0x808], 0x1e7e5ad4
test edi, edi
je 0x1e74190b
test dword [edx + 0x7f8], 0x4000
je 0x1e74184d
cmp dword [edi + 0xc], 3
mov eax, dword [edx + 0x808]
je 0x1e741693
mov ecx, dword [eax + 4]
mov dword [edi + 0x80], ecx
mov eax, dword [edx + 0x808]
mov ecx, dword [eax + 0x10]
mov dword [edi + 0xbc], ecx
mov eax, dword [edx + 0x808]
mov ecx, dword [eax + 0x14]
mov dword [edi + 0xc0], ecx
test dword [esi + 0x12fbc], 0x800000
jne 0x1e741673
fld dword [esi + 0x10]
fmul dword [edi + 0xa0]
fld dword [edi + 0x9c]
fmul dword [esi]
faddp st(1)
fld dword [esi + 0x20]
fmul dword [edi + 0xa4]
faddp st(1)
fadd dword [esi + 0x30]
fstp dword [edi]
fld dword [esi + 0x14]
fmul dword [edi + 0xa0]
fld dword [esi + 4]
fmul dword [edi + 0x9c]
faddp st(1)
fld dword [esi + 0x24]
fmul dword [edi + 0xa4]
faddp st(1)
fadd dword [esi + 0x34]
fstp dword [edi + 4]
fld dword [esi + 0x18]
fmul dword [edi + 0xa0]
fld dword [esi + 8]
fmul dword [edi + 0x9c]
faddp st(1)
fld dword [esi + 0x28]
fmul dword [edi + 0xa4]
faddp st(1)
fadd dword [esi + 0x38]
fstp dword [edi + 8]
jmp 0x1e7416b9
lea eax, [esi + 0x280]
fstp st(0)
lea ecx, [edi + 0x9c]
mov edx, edi
call fcn.1e741130
fld qword [0x1e6f9a58]
mov edx, dword [ebp + 8]
jmp 0x1e7416b9
mov ecx, dword [eax]
mov dword [edi + 0x80], ecx
mov eax, dword [edx + 0x808]
mov ecx, dword [eax + 8]
mov dword [edi + 0xbc], ecx
mov eax, dword [edx + 0x808]
mov ecx, dword [eax + 0xc]
mov dword [edi + 0xc0], ecx
cmp dword [edi + 0xc], 1
je 0x1e74184d
test dword [esi + 0x12fbc], 0x800000
lea ebx, [edi + 0x10]
jne 0x1e74174c
fstp st(0)
mov edx, ebx
fld dword [esi + 0x10]
mov ecx, ebx
fmul dword [edi + 0xac]
fld dword [edi + 0xa8]
fmul dword [esi]
faddp st(1)
fld dword [esi + 0x20]
fmul dword [edi + 0xb0]
faddp st(1)
fstp dword [ebx]
fld dword [esi + 4]
fmul dword [edi + 0xa8]
fld dword [esi + 0x14]
fmul dword [edi + 0xac]
faddp st(1)
fld dword [esi + 0x24]
fmul dword [edi + 0xb0]
faddp st(1)
fstp dword [ebx + 4]
fld dword [esi + 8]
fmul dword [edi + 0xa8]
fld dword [esi + 0x18]
fmul dword [edi + 0xac]
faddp st(1)
fld dword [esi + 0x28]
fmul dword [edi + 0xb0]
faddp st(1)
fstp dword [ebx + 8]
call fcn.1e72cb08
fld qword [0x1e6f9a58]
jmp 0x1e7417d6
fld dword [edi + 0xa8]
fstp dword [ebp - 0x18]
fld dword [edi + 0xac]
fstp dword [ebp - 0x14]
fld dword [edi + 0xb0]
fstp dword [ebp - 0x1c]
fld dword [esi + 0x284]
fld dword [ebp - 0x14]
fld st(0)
fmulp st(2)
fld dword [esi + 0x280]
fld dword [ebp - 0x18]
fld st(0)
fmulp st(2)
fxch st(3)
faddp st(1)
fld dword [esi + 0x288]
fld dword [ebp - 0x1c]
fld st(0)
fmulp st(2)
fxch st(2)
faddp st(1)
fstp dword [ebx]
fld dword [esi + 0x294]
fmul st(2)
fld dword [esi + 0x290]
fmul st(4)
faddp st(1)
fld dword [esi + 0x298]
fmul st(2)
faddp st(1)
fstp dword [ebx + 4]
fld dword [esi + 0x2a4]
fmulp st(2)
fld dword [esi + 0x2a0]
fmulp st(3)
fxch st(1)
faddp st(2)
fmul dword [esi + 0x2a8]
faddp st(1)
fstp dword [ebx + 8]
fld dword [ebx]
mov eax, 0x80000000
fstp dword [ebp - 4]
xor dword [ebp - 4], eax
fld dword [ebp - 4]
fst dword [ebx]
fld dword [edi + 0x14]
fstp dword [ebp - 8]
xor dword [ebp - 8], eax
fld dword [ebp - 8]
fst dword [edi + 0x14]
fld dword [edi + 0x18]
fstp dword [ebp - 0xc]
xor dword [ebp - 0xc], eax
fld dword [ebp - 0xc]
fst dword [edi + 0x18]
test dword [esi + 0x12fbc], 0x1000000
jne 0x1e741844
fstp st(3)
lea ecx, [edi + 0x4c]
fld dword [esi + 0x11afc]
mov edx, ecx
faddp st(2)
fxch st(1)
fstp dword [ecx]
fadd dword [esi + 0x11b00]
fstp dword [edi + 0x50]
fadd dword [esi + 0x11b04]
fstp dword [edi + 0x54]
call fcn.1e72cb08
fld qword [0x1e6f9a58]
jmp 0x1e74184a
fstp st(2)
fstp st(0)
fstp st(0)
mov edx, dword [ebp + 8]
test dword [edx + 0x7f8], 0x48000
je 0x1e741900
fld dword [esi + 0x11b0c]
mov eax, dword [edi + 0x20]
fmul st(1)
fmul dword [edi + 0x5c]
fstp dword [edi + 0x24]
fld dword [esi + 0x11b10]
fmul st(1)
fmul dword [edi + 0x60]
fstp dword [edi + 0x28]
fld dword [esi + 0x11b14]
fmul st(1)
fmul dword [edi + 0x64]
fstp dword [edi + 0x2c]
test eax, 0x200
jne 0x1e7418bb
fld dword [esi + 0x11b1c]
fmul st(1)
fmul dword [edi + 0x74]
fstp dword [edi + 0x3c]
fld dword [esi + 0x11b20]
fmul st(1)
fmul dword [edi + 0x78]
fstp dword [edi + 0x40]
fld dword [esi + 0x11b24]
fmul st(1)
fmul dword [edi + 0x7c]
fstp dword [edi + 0x44]
cmp dword [ebp - 0x10], 0
je 0x1e7418fa
test eax, 0x100
jne 0x1e7418fa
or eax, 0x20
mov dword [edi + 0x20], eax
fld dword [esi + 0x11b2c]
fmul st(1)
fmul dword [edi + 0x68]
fstp dword [edi + 0x30]
fld dword [esi + 0x11b30]
fmul st(1)
fmul dword [edi + 0x6c]
fstp dword [edi + 0x34]
fld dword [esi + 0x11b34]
fmul st(1)
fmul dword [edi + 0x70]
fstp dword [edi + 0x38]
jmp 0x1e741900
and eax, 0xffffffdf
mov dword [edi + 0x20], eax
mov edi, dword [edi + 0x58]
test edi, edi
jne 0x1e7415b1
and dword [edx + 0x7f8], 0xfffb3fff
fstp st(0)
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret