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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
xor eax, eax
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 8]
push esi
push edi
mov dword [ebx + 4], ecx
mov edx, dword [ecx]
mov dword [ebx], edx
mov dword [ebx + 0x6c], eax
mov dword [ebx + 0x8c], eax
mov dword [ebx + 0x70], eax
fld dword [edx + 0x50]
fstp dword [ebx + 0x74]
mov eax, dword [edx + 0x484]
mov dword [ebx + 0x78], eax
mov eax, dword [edx + 0x488]
mov dword [ebx + 0x7c], eax
mov eax, dword [edx + 0x48c]
lea edx, [ebx + 0xc]
mov dword [ebx + 0x80], eax
mov eax, dword [ecx + 0x58]
mov dword [ebx + 0x84], eax
mov eax, dword [ecx + 0x54]
mov dword [edx], eax
test eax, eax
je 0x740289e0
mov eax, dword [ecx + 0x54]
mov dword [eax + 8], edx
mov ecx, dword [ebx + 4]
mov dword [ecx + 0x54], ebx
mov ecx, dword [ebx]
mov eax, dword [ebx + 4]
add eax, 0x54
mov dword [ebx + 8], eax
mov eax, dword [ecx + 0xba8]
mov edx, dword [eax + 4]
lea eax, [ecx + 0xba0]
mov ecx, edx
sub ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
lea edx, [ebx + 0x18]
mov dword [ebx + 0x10], ecx
add ecx, 8
mov eax, dword [ecx]
mov dword [edx], eax
test eax, eax
je 0x74028a1d
mov eax, dword [ecx]
mov dword [eax + 0x14], edx
push 4
mov dword [ecx], ebx
lea edi, [ebx + 0x1c]
mov esi, dword [ebx + 4]
pop edx
mov dword [ebx + 0x14], ecx
add esi, edx
push 0x14
pop ecx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x64]
test eax, eax
je 0x74028a3d
mov eax, dword [eax]
jmp 0x74028a3f
xor eax, eax
mov dword [esp + 0x10], eax
test eax, eax
jne 0x74028a4a
inc eax
jmp 0x74028a4d
mov eax, dword [eax + 0x66]
xor ecx, ecx
mov dword [ebx + 0x88], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.7403eac3
mov dword [ebx + 0x8c], eax
pop ecx
test eax, eax
je 0x74028bbc
mov eax, dword [ebx + 0x88]
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.7403eac3
mov dword [ebx + 0x70], eax
mov eax, dword [ebx + 0x88]
shl eax, 2
push eax
push 0
push dword [ebx + 0x8c]
call sub.msvcrt.dll_memset
add esp, 0x10
lea esi, [ebx + 0x1c]
lea edi, [esp + 0x18]
xor eax, eax
push 0x14
pop ecx
rep movsd dword es:[edi], dword [esi]
and dword [esp + 0x60], 0
mov esi, dword [esp + 0x10]
test esi, esi
je 0x74028ac8
mov eax, dword [esi + 0x62]
xor edi, edi
cmp dword [ebx + 0x88], edi
jle 0x74028bc9
fld qword [0x74003170]
lea ecx, [eax + 2]
mov dword [esp + 0x10], ecx
test esi, esi
je 0x74028b7f
movzx eax, byte [ecx - 2]
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
push 4
fstp qword [esp + 0x14]
fld qword [esp + 0x14]
fld dword [ebx + 0x30]
fmul st(1)
movzx eax, byte [ecx - 1]
mov dword [esp + 0x14], eax
fdiv st(2)
fstp dword [esp + 0x30]
fild dword [esp + 0x14]
fstp qword [esp + 0x14]
fld qword [esp + 0x14]
fld dword [ebx + 0x34]
fmul st(1)
movzx eax, byte [ecx]
mov dword [esp + 0x14], eax
pop eax
add ecx, eax
fdiv st(3)
fstp dword [esp + 0x30]
fild dword [esp + 0x10]
fstp qword [esp + 0x10]
fld qword [esp + 0x10]
fld dword [ebx + 0x38]
fmul st(1)
mov dword [esp + 0x10], ecx
fdiv st(4)
fstp dword [esp + 0x34]
fld dword [ebx + 0x3c]
fstp dword [esp + 0x38]
fld dword [ebx + 0x20]
fmulp st(3)
fxch st(2)
fdiv st(3)
fstp dword [esp + 0x1c]
fmul dword [ebx + 0x24]
fdiv st(2)
fstp dword [esp + 0x20]
fmul dword [ebx + 0x28]
fdivrp st(1)
fstp dword [esp + 0x24]
fld dword [ebx + 0x2c]
fstp dword [esp + 0x28]
jmp 0x74028b81
fstp st(0)
mov ecx, dword [ebx]
lea edx, [esp + 0x18]
call fcn.7402915f
mov ecx, dword [ebx + 0x8c]
mov dword [ecx + edi*4], eax
mov eax, dword [ebx + 0x8c]
cmp dword [eax + edi*4], 0
je 0x74028bbc
fld qword [0x74003170]
inc edi
mov ecx, dword [esp + 0x10]
cmp edi, dword [ebx + 0x88]
jl 0x74028ae3
fstp st(0)
jmp 0x74028bc9
mov ecx, ebx
call fcn.74028bd4
push ebx
call sym.d3dim.dll_D3DFree
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 4