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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x22c
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
lea ecx, [esp + 0xa8]
push eax
push ecx
mov ecx, ebx
call fcn.00497ee0
mov ecx, 6
mov esi, eax
lea edi, [esp + 0x90]
lea edx, [esp + 0xa8]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0x10]
push ebx
push edx
call fcn.00497ee0
mov ecx, 6
mov esi, eax
lea edi, [esp + 0x24]
push 0x40080000
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0xdc]
push 0
push eax
lea ecx, [esp + 0x30]
call fcn.0047ffe0
mov ecx, 6
mov esi, eax
lea edi, [esp + 0x48]
push 0x40000000
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x154]
push 0
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.0047ffe0
mov ecx, 6
mov esi, eax
lea edi, [esp + 0x24]
lea edx, [esp + 0x24]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0x14]
lea eax, [esp + 0x138]
push edx
push eax
call fcn.00497ee0
mov ecx, 6
mov esi, eax
lea edi, [esp + 0xd8]
push ebx
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0xf4]
push ecx
lea ecx, [esp + 0xe0]
call fcn.00497ea0
mov ecx, 6
mov esi, eax
lea edi, [esp + 0xa8]
push 0x40080000
rep movsd dword es:[edi], dword [esi]
lea edx, [esp + 0x10c]
push 0
push edx
lea ecx, [esp + 0xb4]
call fcn.0047ffe0
mov ecx, 6
mov esi, eax
mov eax, dword [ebp + 0x14]
lea edi, [esp + 0x60]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x108]
push eax
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.00497ee0
mov ecx, 6
mov esi, eax
lea edi, [esp + 0xa8]
rep movsd dword es:[edi], dword [esi]
push 0x40080000
lea edx, [esp + 0xf4]
push 0
push edx
lea ecx, [esp + 0xb4]
call fcn.0047ffe0
mov ecx, 6
mov esi, eax
lea edi, [esp + 0xd8]
lea eax, [esp + 0x138]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0x18]
push ebx
push eax
call fcn.00497ee0
mov ecx, 6
mov esi, eax
lea edi, [esp + 0x24]
lea edx, [esp + 0x150]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0xd8]
push ecx
push edx
lea ecx, [esp + 0x2c]
call fcn.00497ea0
mov ecx, 6
mov esi, eax
lea edi, [esp + 0x24]
lea eax, [esp + 0x48]
rep movsd dword es:[edi], dword [esi]
push eax
lea ecx, [esp + 0x94]
call fcn.00482ff0
fstp qword [esp + 0x78]
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x4c]
call fcn.00482ff0
fstp qword [esp + 0x18]
lea edx, [esp + 0x60]
lea ecx, [esp + 0x90]
push edx
call fcn.00482ff0
fadd st(0), st(0)
fadd qword [esp + 0x18]
fstp qword [esp + 0xc0]
fld qword [esp + 0x24]
fld qword [esp + 0x2c]
fld qword [esp + 0x34]
fld qword [esp + 0x68]
fld qword [esp + 0x70]
fld qword [esp + 0x58]
fmul st(1)
fld qword [esp + 0x50]
fmul st(3)
faddp st(1)
fld qword [esp + 0xa0]
fmul st(4)
faddp st(1)
fld qword [esp + 0x98]
fmul st(5)
faddp st(1)
fld st(5)
fmul qword [esp + 0x90]
faddp st(1)
fld qword [esp + 0x48]
fmul qword [esp + 0x60]
faddp st(1)
fmul qword [0x4ef438]
fstp qword [esp + 0xd0]
fld qword [esp + 0x58]
fmul st(3)
fld qword [esp + 0x50]
fmul st(5)
faddp st(1)
fld st(5)
fmul qword [esp + 0x48]
faddp st(1)
fmul qword [0x4e7f00]
fld st(1)
fmul st(2)
fld st(3)
fmul st(4)
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x168]
push eax
lea edx, [esp + 0x7c]
faddp st(1)
fld qword [esp + 0x64]
fmul qword [esp + 0x64]
push ecx
lea eax, [esp + 0xc8]
push edx
lea ecx, [esp + 0xdc]
faddp st(1)
push eax
lea edx, [esp + 0x90]
push ecx
lea eax, [esp + 0x9c]
fadd st(0), st(0)
push edx
lea ecx, [esp + 0xe0]
push eax
push ecx
faddp st(1)
fstp qword [esp + 0xa0]
fmul st(2)
fxch st(1)
fmul st(3)
faddp st(1)
fld st(3)
fmul qword [esp + 0x80]
faddp st(1)
fmul qword [0x4e9f88]
fstp qword [esp + 0xa8]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fmul qword [0x4ef438]
fstp qword [esp + 0xe8]
fstp st(0)
fstp st(0)
fstp st(0)
call fcn.00496c90
mov eax, dword [esp + 0x5c]
add esp, 0x20
test eax, eax
mov dword [esp + 0x190], 0
mov dword [esp + 0x194], 0
mov dword [esp + 0x198], 0
mov dword [esp + 0x19c], 0x3ff00000
mov ecx, 2
jle 0x4970a0
lea esi, [esp + 0x1a0]
lea edx, [esp + 0x168]
mov edi, eax
fld qword [edx]
fcomp qword [0x4e7b30]
fnstsw ax
test ah, 0x41
jne 0x497095
fld qword [edx]
fcomp qword [0x4e7f50]
fnstsw ax
test ah, 1
je 0x497095
mov eax, dword [edx]
inc ecx
mov dword [esi], eax
mov eax, dword [edx + 4]
mov dword [esi + 4], eax
add esi, 8
add edx, 8
dec edi
jne 0x497069
cmp ecx, 2
jne 0x4970cc
xor eax, eax
lea ecx, [esp + 0x190]
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
inc eax
add ecx, 8
cmp eax, 0x15
mov dword [esp + 0x10], eax
fmul qword [0x4e7b28]
fstp qword [ecx - 8]
jl 0x4970ad
mov ecx, 0x15
test ecx, ecx
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0x4133446c
jle 0x4971b4
lea eax, [esp + 0x190]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
jmp 0x4970f9
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [ebp + 0x18]
push 0
push ecx
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x10]
push eax
push ecx
push edx
lea eax, [esp + 0x120]
push ebx
push eax
call fcn.00497240
mov ecx, 6
mov esi, eax
lea edi, [esp + 0x140]
add esp, 0x20
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 8]
lea edx, [esp + 0xf0]
push ecx
push edx
lea ecx, [esp + 0x128]
call fcn.00497ee0
mov ecx, 6
mov esi, eax
lea edi, [esp + 0x24]
rep movsd dword es:[edi], dword [esi]
fld qword [esp + 0x2c]
fld qword [esp + 0x34]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld qword [esp + 0x24]
fmul qword [esp + 0x24]
faddp st(1)
fsqrt
fstp st(2)
fstp st(0)
fcom qword [esp + 0x40]
fnstsw ax
test ah, 1
je 0x497198
mov eax, dword [esp + 0x10]
fstp qword [esp + 0x40]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
jmp 0x49719a
fstp st(0)
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
add ecx, 8
dec eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
jne 0x4970f5
fld qword [esp + 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret