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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x7405c794]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor eax, eax
xor edx, edx
push esi
push edi
lea edi, [ebp - 0x78]
mov dword [ebp - 0x34], edx
stosd dword es:[edi], eax
mov esi, ecx
xor ecx, ecx
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x30], ecx
mov ebx, dword [esi + 0xc0]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0x5c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
and dword [ebp - 0x68], eax
and dword [ebp - 0x6c], eax
and dword [ebp - 0x44], eax
mov edi, dword [esi + 0xf1c]
mov dword [ebp - 0x50], eax
test edi, 0x4000
je 0x740214c3
lea eax, [esi + 0x1084]
mov dword [ebp - 0x34], eax
lea edx, [ebp - 0x1c]
lea eax, [esi + 0x1038]
fld dword [eax + 0x30]
lea ecx, [ebp - 0x78]
fchs
fstp dword [ebp - 0x1c]
fld dword [eax + 0x34]
fchs
fstp dword [ebp - 0x18]
fld dword [eax + 0x38]
fchs
push eax
fstp dword [ebp - 0x14]
call fcn.7402103d
lea ecx, [esi + 0x1084]
push ecx
lea edx, [ebp - 0x78]
lea ecx, [ebp - 0x1c]
call fcn.7402108f
mov ecx, dword [ebp - 0x30]
lea edx, [esi + 0x1084]
add esp, 8
fld qword [0x74003a50]
fst qword [ebp - 0x80]
test edi, 0x48000
je 0x740215aa
cmp dword [esi + 0x12f4], 0
lea ecx, [esi + 0xc4]
mov dword [ebp - 0x30], ecx
je 0x74021505
mov eax, dword [esi + 0x15d0]
cmp dword [eax + 0x74], 0
je 0x74021505
mov dword [ebp - 0x4c], 1
or edi, 0x4000000
jmp 0x7402150f
and dword [ebp - 0x4c], 0
and edi, 0xfbffffff
mov dword [esi + 0xf1c], edi
fmul dword [ecx + 0x10]
fstp dword [ebp - 0x2c]
fld dword [ebp - 0x2c]
fistp qword [ebp - 0x64]
mov eax, dword [ebp - 0x64]
mov dword [esi + 0x148], eax
test eax, eax
jns 0x74021532
xor eax, eax
jmp 0x74021543
cmp eax, 0xff
jle 0x74021540
mov eax, 0xff000000
jmp 0x74021543
shl eax, 0x18
mov dword [esi + 0x148], eax
mov eax, dword [esi + 0x12f4]
add eax, 0xc
mov dword [esi + 0x8c], eax
test byte [esi + 0xe24], 8
jne 0x740215b2
fld dword [esi + 0x118]
fmul dword [ecx + 0x14]
fld dword [ecx + 0x34]
fld qword [ebp - 0x80]
fmul st(1), st(0)
fxch st(2)
faddp st(1)
fstp dword [esi + 0x80]
fld dword [esi + 0x11c]
fmul dword [ecx + 0x18]
fld dword [ecx + 0x38]
fmul st(2)
faddp st(1)
fstp dword [esi + 0x84]
fld dword [esi + 0x120]
fmul dword [ecx + 0x1c]
fld dword [ecx + 0x3c]
fmulp st(2)
faddp st(1)
fstp dword [esi + 0x88]
jmp 0x740215b2
mov eax, dword [ebp - 0x50]
fstp st(0)
mov dword [ebp - 0x4c], eax
test ebx, ebx
je 0x74021a5f
fld dword [ebp - 0x38]
fld dword [ebp - 0x3c]
fld dword [ebp - 0x40]
test dword [esi + 0xf1c], 0x4000
je 0x740218ed
mov edi, dword [ebx + 0xc]
cmp edi, 3
je 0x7402161f
fstp st(0)
mov ecx, ebx
fstp st(1)
fstp st(0)
fld dword [ebx + 0x9c]
fsub dword [edx + 0x30]
push edx
fstp dword [ebp - 0x10]
fld dword [ebx + 0xa0]
fsub dword [edx + 0x34]
fstp dword [ebp - 0xc]
fld dword [ebx + 0xa4]
fsub dword [edx + 0x38]
lea edx, [ebp - 0x10]
fstp dword [ebp - 8]
call fcn.7402103d
fld dword [ebp - 0x38]
add esp, 4
fld dword [ebp - 0x3c]
mov edi, dword [ebx + 0xc]
fld dword [ebp - 0x40]
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x2c], eax
cmp eax, 1
jne 0x74021690
cmp dword [ebp - 0x68], 0
fstp st(0)
fstp st(1)
fstp st(0)
jne 0x74021651
mov ecx, dword [ebp - 0x34]
lea edx, [ebp - 0x8c]
call fcn.740210ff
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x68], 1
cmp dword [ebp - 0x44], 0
jne 0x74021663
or dword [ebx + 0x2c], 0x100000
jmp 0x74021703
cmp edi, 3
je 0x74021703
fld dword [ebx]
fmul dword [ebp - 0x8c]
fstp dword [ebx]
fld dword [ebp - 0x88]
fmul dword [ebx + 4]
fstp dword [ebx + 4]
fld dword [ebx + 8]
fmul dword [ebp - 0x84]
fstp dword [ebx + 8]
jmp 0x74021703
cmp dword [ebp - 0x6c], 0
jne 0x740216bd
mov ecx, dword [ebp - 0x34]
lea edx, [ebp - 0x40]
fstp st(0)
fstp st(1)
fstp st(0)
call fcn.7406ec27
fld dword [ebp - 0x38]
fld dword [ebp - 0x3c]
fld dword [ebp - 0x40]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x6c], 1
cmp dword [ebp - 0x60], 0
mov ecx, dword [ebx + 0x2c]
jne 0x740216d4
fstp st(0)
or ecx, 0x100000
fstp st(1)
fstp st(0)
jmp 0x74021700
fst dword [ebx + 0x30]
fxch st(1)
and ecx, 0xffefffff
fst dword [ebx + 0x34]
fxch st(2)
fst dword [ebx + 0x38]
fld1
fld st(0)
fdivrp st(3)
fxch st(2)
fstp dword [ebp - 0x5c]
fld st(1)
fdivrp st(3)
fxch st(2)
fstp dword [ebp - 0x58]
fdivrp st(1)
fstp dword [ebp - 0x54]
mov dword [ebx + 0x2c], ecx
cmp edi, 1
je 0x740217a0
lea ecx, [ebx + 0x10]
cmp edi, 4
jne 0x74021720
mov esi, ebx
mov edi, ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x48]
jmp 0x74021761
push dword [ebp - 0x34]
lea edx, [ebx + 0xa8]
call fcn.7402103d
fld dword [ecx]
mov edx, 0x80000000
fstp dword [ebp - 0x2c]
mov eax, dword [ebp - 0x2c]
add esp, 4
fld dword [ebx + 0x14]
xor eax, edx
mov dword [ecx], eax
fstp dword [ebp - 0x2c]
mov eax, dword [ebp - 0x2c]
fld dword [ebx + 0x18]
xor eax, edx
mov dword [ebx + 0x14], eax
fstp dword [ebp - 0x2c]
mov eax, dword [ebp - 0x2c]
xor eax, edx
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 0x1c]
mov edx, dword [ebp - 0x60]
cmp eax, 1
je 0x74021786
test edx, edx
je 0x74021786
fld dword [ecx]
fmul dword [ebp - 0x5c]
fstp dword [ecx]
fld dword [ebx + 0x14]
fmul dword [ebp - 0x58]
fstp dword [ebx + 0x14]
fld dword [ebx + 0x18]
fmul dword [ebp - 0x54]
fstp dword [ebx + 0x18]
cmp dword [ebp - 0x44], 0
jne 0x74021796
test edx, edx
jne 0x74021796
cmp dword [ebx + 0xc], 4
jne 0x740217a0
mov edx, ecx
call fcn.740461f0
mov eax, dword [ebx + 0x1c]
cmp eax, 1
jne 0x74021800
cmp dword [ebp - 0x50], 0
jne 0x740217bc
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x28]
call fcn.740461f0
xor eax, eax
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebx + 0xc], 3
lea edi, [ebp - 0x10]
lea esi, [ebx + 0x10]
je 0x740217ca
mov esi, ebx
movsd dword es:[edi], dword [esi]
lea edx, [ebp - 0x10]
mov ecx, edx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.740461f0
fld dword [ebp - 0x28]
lea ecx, [ebx + 0x60]
fadd dword [ebp - 0x10]
mov edx, ecx
fstp dword [ecx]
fld dword [ebp - 0x24]
fadd dword [ebp - 0xc]
fstp dword [ebx + 0x64]
fld dword [ebp - 0x20]
fadd dword [ebp - 8]
fstp dword [ebx + 0x68]
call fcn.740461f0
jmp 0x7402188d
fld dword [ebx + 0x9c]
fsub dword [ebp - 0x78]
fstp dword [ebp - 0x2c]
fld dword [ebp - 0x2c]
fabs
fstp dword [ebp - 0x2c]
fld dword [ebp - 0x2c]
fld qword [0x740039a0]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x74021871
fld dword [ebx + 0xa0]
fsub dword [ebp - 0x74]
fstp dword [ebp - 0x2c]
fld dword [ebp - 0x2c]
fabs
fstp dword [ebp - 0x2c]
fld dword [ebp - 0x2c]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x74021871
fld dword [ebx + 0xa4]
fsub dword [ebp - 0x70]
fstp dword [ebp - 0x2c]
fld dword [ebp - 0x2c]
fabs
fstp dword [ebp - 0x2c]
fld dword [ebp - 0x2c]
fcompp
fnstsw ax
test ah, 5
jp 0x74021873
or dword [ebx + 0x2c], 0x200000
jmp 0x7402187a
fstp st(0)
and dword [ebx + 0x2c], 0xffdfffff
mov eax, dword [ebx + 0x2c]
test eax, 0x100000
je 0x74021895
lea esi, [ebp - 0x1c]
lea edi, [ebx + 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x30]
jmp 0x740218f3
cmp dword [ebx + 0xc], 1
fld dword [ebp - 0x1c]
fld dword [ebp - 0x5c]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [ebx + 0x20]
fld dword [ebp - 0x18]
fld dword [ebp - 0x58]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [ebx + 0x24]
fld dword [ebp - 0x14]
fld dword [ebp - 0x54]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [ebx + 0x28]
je 0x740218ce
cmp dword [ebx + 0xc], 2
jne 0x740218e4
fld dword [ebx]
fmulp st(3)
fxch st(2)
fstp dword [ebx]
fmul dword [ebx + 4]
fstp dword [ebx + 4]
fmul dword [ebx + 8]
fstp dword [ebx + 8]
jmp 0x74021890
mov ecx, dword [ebp - 0x30]
fstp st(0)
fstp st(0)
jmp 0x740218f1
fstp st(0)
fstp st(1)
fstp st(0)
test dword [esi + 0xf1c], 0x48000
je 0x74021985
test byte [esi + 0xe24], 8
jne 0x74021958
fld dword [ebx + 0x70]
fld dword [ecx + 4]
fld qword [ebp - 0x80]
fmul st(1), st(0)
fxch st(1)
fmul st(2)
fstp dword [ebx + 0x40]
fld dword [ebx + 0x74]
fld dword [ecx + 8]
fmul st(2)
fmul st(1)
fstp dword [ebx + 0x44]
fld dword [ebx + 0x78]
fld dword [ecx + 0xc]
fmul st(3)
fmul st(1)
fstp dword [ebx + 0x48]
fld dword [ecx + 0x24]
fmul st(3)
fmulp st(4)
fxch st(3)
fstp dword [ebx + 0x50]
fld dword [ecx + 0x28]
fmul st(2)
fmulp st(1)
fstp dword [ebx + 0x54]
fmul dword [ecx + 0x2c]
fmulp st(1)
fstp dword [ebx + 0x58]
jmp 0x74021967
fld dword [ebx + 0x7c]
fstp dword [ebp - 0x2c]
fld dword [ebp - 0x2c]
fst dword [ebx + 0x40]
fstp dword [ebx + 0x50]
cmp dword [ebp - 0x4c], 0
je 0x7402197e
mov eax, dword [ebx + 0x2c]
test al, 2
jne 0x7402197e
or eax, 0x400000
mov dword [ebx + 0x2c], eax
jmp 0x74021985
and dword [ebx + 0x2c], 0xffbfffff
test dword [esi + 0xf1c], 0x40000
je 0x74021a42
and dword [ebx + 0x80], 0
cmp dword [ebx + 0x1c], 1
mov eax, dword [ebx + 0xc]
jne 0x740219ed
cmp eax, 1
je 0x740219d9
cmp eax, 2
je 0x740219c5
add eax, 0xfffffffd
cmp eax, 1
ja 0x74021a42
mov eax, dword [esi + 0x12fc]
mov eax, dword [eax]
jmp 0x74021a3c
test byte [esi + 0xe24], 8
jne 0x74021a27
mov eax, dword [esi + 0x12fc]
mov eax, dword [eax + 8]
jmp 0x74021a3c
test byte [esi + 0xe24], 8
jne 0x74021a27
mov eax, dword [esi + 0x12fc]
mov eax, dword [eax + 0x10]
jmp 0x74021a3c
cmp eax, 1
je 0x74021a1e
cmp eax, 2
je 0x74021a0a
add eax, 0xfffffffd
cmp eax, 1
ja 0x74021a42
mov eax, dword [esi + 0x12fc]
mov eax, dword [eax + 4]
jmp 0x74021a3c
test byte [esi + 0xe24], 8
jne 0x74021a27
mov eax, dword [esi + 0x12fc]
mov eax, dword [eax + 0xc]
jmp 0x74021a3c
test byte [esi + 0xe24], 8
je 0x74021a33
mov dword [ebx + 0x80], 0x74022440
jmp 0x74021a42
mov eax, dword [esi + 0x12fc]
mov eax, dword [eax + 0x14]
mov dword [ebx + 0x80], eax
fld dword [ebp - 0x38]
mov ebx, dword [ebx + 0x6c]
fld dword [ebp - 0x3c]
fld dword [ebp - 0x40]
mov edx, dword [ebp - 0x34]
test ebx, ebx
jne 0x740215c3
fstp st(0)
fstp st(1)
fstp st(0)
and dword [esi + 0xf1c], 0xfffb3fff
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.74045bf0
mov esp, ebp
pop ebp
ret