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

Disassembly:
sub esp, 0x50
push ebx
push ebp
mov ebp, dword [esp + 0x74]
push esi
push edi
push 0x1050d
mov eax, dword [ebp + 0x3c]
mov dword [esp + 0x18], eax
lea esi, [eax + eax*2]
mov eax, dword [0x73b0d8]
shl esi, 2
push esi
call dword [eax + 0x108]
mov ecx, esi
mov ebx, eax
mov edx, ecx
xor eax, eax
mov edi, ebx
add esp, 8
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
lea edx, [esp + 0x34]
and ecx, 3
push 0
rep stosb byte es:[edi], al
mov eax, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0x38]
mov dword [esp + 0x30], ebx
mov ecx, dword [eax]
add edx, edx
push edx
push 0
push eax
call dword [ecx + 0x2c]
mov eax, dword [ebp + 4]
lea edi, [ebp + 0x40]
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], edi
mov ecx, dword [edi + 0x1c]
mov edx, dword [esp + 0x34]
mov eax, dword [ebp + 0xc]
lea esi, [edx + ecx*2]
mov ecx, dword [edi]
cmp eax, 5
mov dword [esp + 0x24], esi
mov dword [esp + 0x2c], ecx
jne 0x65425f
sub ecx, 2
mov dword [esp + 0x2c], ecx
xor eax, eax
test ecx, ecx
mov dword [esp + 0x10], eax
jbe 0x6544ef
lea edx, [esi + 4]
lea ebp, [esi + 2]
mov dword [esp + 0x18], edx
jmp 0x654285
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x7c]
cmp dword [ecx + 0xc], 4
jne 0x6542c6
mov edi, dword [edi + 4]
xor ecx, ecx
mov cx, word [esi + eax*2]
xor esi, esi
mov si, word [edx]
mov eax, ecx
xor ecx, ecx
add eax, edi
mov cx, word [ebp]
add esi, edi
add ecx, edi
mov edi, dword [esp + 0x10]
add edi, 3
add ebp, 6
add edx, 6
mov dword [esp + 0x10], edi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x18], edx
jmp 0x654340
xor ecx, ecx
test al, 1
je 0x6542f0
mov edi, dword [edi + 4]
mov cx, word [ebp]
xor eax, eax
add ecx, edi
mov ax, word [edx]
mov edx, dword [esp + 0x24]
add eax, edi
mov edi, dword [esp + 0x10]
xor esi, esi
mov si, word [edx + edi*2]
mov edi, dword [esp + 0x1c]
jmp 0x654308
mov cx, word [esi + eax*2]
mov esi, dword [edi + 4]
mov eax, ecx
xor ecx, ecx
mov cx, word [ebp]
add eax, esi
add ecx, esi
xor esi, esi
mov si, word [edx]
mov edx, dword [edi + 4]
add ebp, 2
add esi, edx
mov edx, dword [esp + 0x10]
inc edx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x18]
add edx, 2
cmp eax, ecx
mov dword [esp + 0x18], edx
je 0x6544db
cmp eax, esi
je 0x6544db
cmp ecx, esi
je 0x6544db
mov ebx, dword [esp + 0x6c]
lea edi, [ecx + ecx*2]
lea edx, [eax + eax*2]
lea ebp, [esi + esi*2]
shl edi, 2
shl edx, 2
fld dword [edi + ebx]
fsub dword [edx + ebx]
mov ebx, dword [esp + 0x78]
shl ebp, 2
fstp dword [esp + 0x48]
fld dword [ebx + ecx*8]
fsub dword [ebx + eax*8]
fld dword [ebx + ecx*8 + 4]
fsub dword [ebx + eax*8 + 4]
lea ecx, [ebx + eax*8 + 4]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x6c]
fstp dword [esp + 0x50]
fld dword [ecx + ebp]
fsub dword [edx + ecx]
fstp dword [esp + 0x54]
fld dword [ebx + esi*8]
fsub dword [ebx + eax*8]
mov eax, dword [esp + 0x38]
fld dword [ebx + esi*8 + 4]
fsub dword [eax]
mov ebx, dword [esp + 0x28]
fst dword [esp + 0x5c]
fmulp st(2)
fmul dword [esp + 0x50]
fsubp st(1)
fld st(0)
fld dword [esp + 0x54]
fmul dword [esp + 0x50]
fld dword [esp + 0x5c]
fmul dword [esp + 0x48]
fsubp st(1)
fstp dword [esp + 0x40]
fld st(0)
fabs
fcomp dword [0x6e3aa0]
fnstsw ax
and eax, 0x4100
jne 0x6543f9
fdivr dword [0x6d0348]
fmul dword [esp + 0x40]
fld dword [edx + ebx]
fsub st(1)
fstp dword [edx + ebx]
fld dword [edi + ebx]
fsub st(1)
fstp dword [edi + ebx]
fld dword [ebx + ebp]
fsub st(1)
fstp dword [ebx + ebp]
mov ecx, dword [esp + 0x6c]
fstp st(0)
fld dword [edi + ecx + 4]
fsub dword [edx + ecx + 4]
fld dword [ecx + ebp + 4]
fsub dword [edx + ecx + 4]
fld st(2)
fstp dword [esp + 0x3c]
fmul dword [esp + 0x50]
fld dword [esp + 0x5c]
fmul st(2)
fsubp st(1)
fstp st(1)
fld dword [esp + 0x3c]
fabs
fcomp dword [0x6e3aa0]
fnstsw ax
and eax, 0x4100
jne 0x654462
fld dword [0x6d0348]
fdiv dword [esp + 0x3c]
fmulp st(1)
fld dword [edx + ebx + 4]
fsub st(1)
fstp dword [edx + ebx + 4]
fld dword [edi + ebx + 4]
fsub st(1)
fstp dword [edi + ebx + 4]
fld dword [ebx + ebp + 4]
fsub st(1)
fstp dword [ebx + ebp + 4]
fstp st(0)
fld dword [edi + ecx + 8]
fsub dword [edx + ecx + 8]
fld dword [ecx + ebp + 8]
fsub dword [edx + ecx + 8]
fxch st(2)
fstp dword [esp + 0x3c]
lea eax, [edx + ecx + 8]
fxch st(1)
fmul dword [esp + 0x50]
fld dword [esp + 0x5c]
fmul st(2)
fsubp st(1)
fxch st(1)
fstp st(0)
fld dword [esp + 0x3c]
fabs
fcomp dword [0x6e3aa0]
fnstsw ax
and eax, 0x4100
jne 0x6544d1
fld dword [0x6d0348]
fdiv dword [esp + 0x3c]
lea edx, [edx + ebx + 8]
lea edi, [edi + ebx + 8]
lea ebp, [ebx + ebp + 8]
fmulp st(1)
fld dword [edx]
fsub st(1)
fstp dword [edx]
fld dword [edi]
fsub st(1)
fstp dword [edi]
fld dword [ebp]
fsub st(1)
fstp dword [ebp]
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
fstp st(0)
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x10]
cmp eax, ecx
jb 0x654279
mov ebp, dword [esp + 0x7c]
mov eax, dword [esp + 0x30]
add edi, 0x24
dec eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x30], eax
jne 0x65423c
mov ebp, dword [ebp + 8]
push ebp
mov edx, dword [ebp]
call dword [edx + 0x30]
mov ebp, dword [esp + 0x14]
mov ecx, dword [0x73b0d8]
push 0x1050d
lea eax, [ebp*4]
push eax
call dword [ecx + 0x108]
mov ecx, eax
xor edx, edx
add esp, 8
xor eax, eax
cmp ebp, edx
mov dword [esp + 0x1c], ecx
jbe 0x654545
mov dword [ecx + eax*4], eax
inc eax
cmp eax, ebp
jb 0x65453d
cmp ebp, edx
mov dword [esp + 0x10], edx
jbe 0x6547b2
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x74]
inc edx
mov esi, ebx
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x6c]
lea ebp, [edx + 0x14]
mov dword [esp + 0x2c], ebp
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
inc eax
cmp eax, ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x7c], eax
jae 0x65477c
mov ecx, dword [esp + 0x78]
lea edi, [esi + 0xc]
add ecx, 5
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x70]
mov eax, ecx
sub eax, edx
mov dword [esp + 0x28], eax
mov eax, ebx
sub eax, edx
mov dword [esp + 0x30], eax
mov eax, ecx
sub eax, ebx
mov dword [esp + 0x38], eax
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x7c]
mov ecx, dword [edx + eax*4]
mov eax, dword [esp + 0x10]
cmp ecx, eax
jbe 0x65474e
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x6c]
fld dword [ecx + edx]
fsub dword [ebp - 8]
fabs
fcomp qword [0x6e3a98]
fnstsw ax
test ah, 0x41
jp 0x65474e
fld dword [ecx + edx + 4]
fsub dword [ebp - 4]
fabs
fcomp qword [0x6e3a98]
fnstsw ax
test ah, 0x41
jp 0x65474e
fld dword [ecx + edx + 8]
fsub dword [ebp]
fabs
fcomp qword [0x6e3a98]
fnstsw ax
test ah, 0x41
jp 0x65474e
mov eax, dword [esp + 0x70]
test eax, eax
je 0x654648
mov edx, dword [esp + 0x38]
fld dword [edi + edx + 4]
fmul dword [ecx + eax + 4]
fld dword [edi + edx]
fmul dword [ecx + eax]
mov edx, dword [esp + 0x28]
faddp st(1)
fld dword [edx + ebp]
fmul dword [ecx + eax + 8]
faddp st(1)
jmp 0x6546ce
mov eax, dword [esp + 0x78]
movsx ecx, byte [eax - 1]
movsx edx, byte [eax]
movsx eax, byte [eax + 1]
mov dword [esp + 0x74], ecx
fild dword [esp + 0x74]
mov dword [esp + 0x74], edx
fmul dword [0x6e3a94]
fild dword [esp + 0x74]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x20]
movsx ecx, byte [eax - 2]
fmul dword [0x6e3a94]
fild dword [esp + 0x74]
movsx edx, byte [eax - 1]
fmul dword [0x6e3a94]
mov dword [esp + 0x74], ecx
fild dword [esp + 0x74]
movsx eax, byte [eax]
fmul dword [0x6e3a94]
mov dword [esp + 0x74], edx
fild dword [esp + 0x74]
mov dword [esp + 0x74], eax
fmul dword [0x6e3a94]
fild dword [esp + 0x74]
fmul dword [0x6e3a94]
fxch st(1)
fmul st(4)
fxch st(2)
fmul st(5)
faddp st(2)
fmul st(2)
faddp st(1)
fstp st(3)
fstp st(0)
fstp st(0)
fcomp dword [0x6d31bc]
fnstsw ax
and eax, 0x100
jne 0x65474e
fld dword [edi + 4]
fmul dword [esi + 4]
mov ecx, dword [esp + 0x30]
push esi
fld dword [edi]
fmul dword [esi]
faddp st(1)
fld dword [ecx + ebp]
fmul dword [esi + 8]
faddp st(1)
fstp dword [esp + 0x78]
call fcn.006234f0
fdivr dword [esp + 0x78]
push edi
fstp dword [esp + 0x7c]
call fcn.006234f0
fdivr dword [esp + 0x7c]
add esp, 8
fcomp dword [0x6d9d6c]
fnstsw ax
and eax, 0x4100
jne 0x65474e
fld dword [edi]
fadd dword [esi]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
fstp dword [esi]
fld dword [edi + 4]
fadd dword [esi + 4]
fstp dword [esi + 4]
fld dword [edx + ebp]
fadd dword [esi + 8]
mov edx, dword [esp + 0x7c]
fstp dword [esi + 8]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
inc eax
add ebp, 0xc
add edi, 0xc
add edx, 4
cmp eax, ecx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x20], edx
jb 0x6545ae
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
add edi, 0xc
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x78]
add ebp, 0xc
add esi, 0xc
add edi, 4
cmp eax, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x78], edi
jb 0x65456b
mov ebp, ecx
xor edi, edi
test ebp, ebp
jbe 0x654831
lea esi, [ebx + 8]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + edi*4]
cmp eax, edi
jne 0x65480f
fld dword [esi - 4]
fld dword [esi - 8]
fld dword [esi]
fld st(1)
fmul st(2)
fld st(3)
fmul st(4)
faddp st(1)
fld st(1)
fmul st(2)
faddp st(1)
fstp dword [esp + 0x6c]
mov ecx, dword [esp + 0x6c]
fstp st(0)
fstp st(0)
fstp st(0)
push ecx
call fcn.006235c0
fld dword [esi - 8]
fmul st(1)
add esp, 4
fstp dword [esi - 8]
fld dword [esi - 4]
fmul st(1)
fstp dword [esi - 4]
fld dword [esi]
fmul st(1)
fstp dword [esi]
fstp st(0)
jmp 0x654829
lea edx, [eax + eax*2]
lea ecx, [esi - 8]
lea eax, [ebx + edx*4]
mov edx, dword [ebx + edx*4]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
inc edi
add esi, 0xc
cmp edi, ebp
jb 0x6547bb
mov ecx, dword [esp + 0x1c]
mov edx, dword [0x73b0d8]
push ecx
call dword [edx + 0x10c]
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
push eax
push ebp
push ebx
push ecx
push edx
call fcn.00651fc0
mov esi, eax
mov eax, dword [0x73b0d8]
push ebx
call dword [eax + 0x10c]
add esp, 0x1c
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret